diff --git a/package.json b/package.json
index 5747df8..39d8d02 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,8 @@
"vue-meta": "2.4.0",
"vue-router": "3.4.9",
"vuedraggable": "2.24.3",
- "vuex": "3.6.0"
+ "vuex": "3.6.0",
+ "wavesurfer.js": "^6.1.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.6",
diff --git a/src/layout/components/Device/index.vue b/src/layout/components/Device/index.vue
index 7807b1f..85be8d6 100644
--- a/src/layout/components/Device/index.vue
+++ b/src/layout/components/Device/index.vue
@@ -5,7 +5,7 @@
@@ -188,7 +188,10 @@ export default {
this.addDevice = false;
// this.deviceData.push({location});
},
-
+ //
+ deleteDevice(){
+
+ },
//删除对应的喇叭
removeItem(index, deviceData) {
this.$modal
diff --git a/src/layout/components/MusicManage/index.vue b/src/layout/components/MusicManage/index.vue
index 1f9781b..761b110 100644
--- a/src/layout/components/MusicManage/index.vue
+++ b/src/layout/components/MusicManage/index.vue
@@ -33,7 +33,7 @@
-
+
@@ -45,13 +45,13 @@
-
+
编辑
{});
},
//编辑按钮
- edit(row) {
+ editMusic(row) {
this.musicHandle = true;
// this.form = row;
@@ -253,6 +253,7 @@ export default {
border-radius: 0;
background: none;
}
+/* 分页样式 */
::v-deep .pagination-container .el-select .el-input .el-select__caret {
color: #618dfa !important;
}
diff --git a/src/layout/components/TrackManagement/index.vue b/src/layout/components/TrackManagement/index.vue
index 81d2306..6b70796 100644
--- a/src/layout/components/TrackManagement/index.vue
+++ b/src/layout/components/TrackManagement/index.vue
@@ -4,17 +4,29 @@
曲目管理
+
+ 新增
+
+
-
-
-
-
+
+
+
+
+ 编辑
试听
+
+
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/components/TrackManagement/wave.js b/src/layout/components/TrackManagement/wave.js
new file mode 100644
index 0000000..8820ec3
--- /dev/null
+++ b/src/layout/components/TrackManagement/wave.js
@@ -0,0 +1,9 @@
+var WaveSurfer = require("WaveSurfer");
+var wavesurfer = WaveSurfer.create({
+ container: '#waveBox',
+ waveColor: '#42e8e0',
+ progressColor: 'hsla(200, 100%, 30%, 0.5)',
+ cursorColor: '#fff',
+ barWidth: 3
+ });
+ wavesurfer.load('./一吻天荒.mp3');
\ No newline at end of file
diff --git a/src/layout/components/TrackManagement/一吻天荒.mp3 b/src/layout/components/TrackManagement/一吻天荒.mp3
new file mode 100644
index 0000000..9d345f4
Binary files /dev/null and b/src/layout/components/TrackManagement/一吻天荒.mp3 differ
diff --git a/src/layout/components/TrackManagement/从别后.mp3 b/src/layout/components/TrackManagement/从别后.mp3
new file mode 100644
index 0000000..30ced44
Binary files /dev/null and b/src/layout/components/TrackManagement/从别后.mp3 differ
diff --git a/src/layout/components/User/index.vue b/src/layout/components/User/index.vue
index bdf2c93..b5cfbcd 100644
--- a/src/layout/components/User/index.vue
+++ b/src/layout/components/User/index.vue
@@ -22,7 +22,6 @@
-
-
+
@@ -96,9 +95,27 @@
确 定
+
+
+
-
diff --git a/vue.config.js b/vue.config.js
index aca7ce5..bba4013 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://192.168.31.27:8080`,
+ target: `http://192.168.31.97:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''