master
zhaowei 3 years ago
parent 6b80cb046e
commit 584adf83f9

@ -123,14 +123,14 @@ export default {
//
mounted() {
this.$nextTick(() => {
// var wavesurfer = WaveSurfer.create({
// container: this.$refs.waveForm,
// waveColor: "white",
// progressColor: "#42e8e0",
// cursorColor: "transparent",
// barWidth: 3
// });
// wavesurfer.load(require("./.mp3"));
this.wavesurfer = WaveSurfer.create({
container: this.$refs.waveForm,
waveColor: "white",
progressColor: "#42e8e0",
cursorColor: "transparent",
barWidth: 3
});
this.wavesurfer.load(require('./一吻天荒.mp3'));
});
},
methods: {
@ -141,21 +141,8 @@ export default {
//
editSong() {},
//
listenSong() {
this.$nextTick(() => {
var wavesurfer = WaveSurfer.create({
container: this.$refs.waveForm,
waveColor: "white",
progressColor: "#42e8e0",
cursorColor: "transparent",
barWidth: 3
});
wavesurfer.load(require("./从别后.mp3"));
wavesurfer.on("ready", function() {
wavesurfer.play();
});
});
listenSong(row) {
this.wavesurfer.playPause()
},
download() {},
//

@ -115,6 +115,7 @@ li {
.el-message-box__content {
color: white;
}
/* .el-button--small {
background: #3835a0;
color: white;
@ -342,6 +343,11 @@ header h1 {
.el-message-box__input input.invalid{
border-color:transparent !important;
}
.el-input__inner{
background-color: #1c257f ;
border: 1px solid rgba(25, 186, 139, 0.17) ;
color: white;
}
/* 设备管理*/
.el-popover {
background: #111658 !important;

Loading…
Cancel
Save