From 5f69d18c67be1c94b3c6311ddb1262da959501b7 Mon Sep 17 00:00:00 2001 From: qinzhenpen Date: Fri, 22 Nov 2024 16:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E5=AD=97=E8=90=A5=E9=94=80=E7=AE=97?= =?UTF-8?q?=E6=B3=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + src/router/index.js | 30 ++++++------- src/store/modules/algorithm.js | 2 +- .../digitalMarketingAlgorithms/index.vue | 45 ++++++++++++++----- 4 files changed, 52 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 0482887..79fb35f 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dependencies": { "@antv/g2": "^5.2.3", "@element-plus/icons-vue": "2.0.10", + "@videojs-player/vue": "^1.0.0", "@vueup/vue-quill": "1.1.0", "@vueuse/core": "9.5.0", "axios": "0.27.2", @@ -35,6 +36,7 @@ "md-editor-v3": "^4.18.1", "nprogress": "0.2.0", "pinia": "2.0.22", + "video.js": "^8.17.3", "vue": "^3.2.47", "vue-cropper": "1.0.3", "vue-router": "4.1.4", diff --git a/src/router/index.js b/src/router/index.js index 77d9377..9544963 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -320,21 +320,21 @@ export const dynamicRoutes = [ }, ], }, - // 资源视频 - { - path: "", - // component: Layout, - hidden: true, - redirect: "/video", - children: [ - { - path: "/video", - component: () => import("@/components/video/index.vue"), - name: "video", - meta: { title: "视频中心", icon: "视频中心", affix: true }, - }, - ], - }, + // 资源视频 + { + path: "", + // component: Layout, + hidden: true, + redirect: "/video", + children: [ + { + path: "/video", + component: () => import("@/components/video/index.vue"), + name: "video", + meta: { title: "视频中心", icon: "视频中心", affix: true }, + }, + ], + }, ]; const router = createRouter({ diff --git a/src/store/modules/algorithm.js b/src/store/modules/algorithm.js index 6056052..aa5d814 100644 --- a/src/store/modules/algorithm.js +++ b/src/store/modules/algorithm.js @@ -15,7 +15,7 @@ const useAlgorithmStore = defineStore("algorithm", { userDatabase: [], tableData: [], tableKey:[], - userDataLabel:["用户属性表", "用户登录活跃表", "用户消费能力表", "用户行为表", "用户评论表"], //用户数据标签 + userDataLabel:[], //用户数据标签 userDataLabel2:["用户商品评论数据"], indexLibrary: [], analysisData: [], diff --git a/src/views/digitalMarketingAlgorithms/index.vue b/src/views/digitalMarketingAlgorithms/index.vue index 6c96b40..e53779c 100644 --- a/src/views/digitalMarketingAlgorithms/index.vue +++ b/src/views/digitalMarketingAlgorithms/index.vue @@ -1,5 +1,5 @@