From c4330f00ac2fa37a7877bb564447c9f14a29c945 Mon Sep 17 00:00:00 2001 From: kubbo <390378816@qq.com> Date: Fri, 26 May 2023 00:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=85=BE=E8=AE=AF=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/pages.js | 5 +- src/manifest.json | 9 ++- .../qujing/AppLegalLearning/classDetail.vue | 64 +++++++++++-------- 3 files changed, 47 insertions(+), 31 deletions(-) diff --git a/bin/pages.js b/bin/pages.js index f7deea6..c27e5ba 100644 --- a/bin/pages.js +++ b/bin/pages.js @@ -4,7 +4,7 @@ let apps = {list: [], desc: "用于产品库主页面获取应用使用", type: const getFileInfo = (app, file) => { if (/^App/.test(app.name)) { let {name, label} = app, - path = app.path.replace(/.+[\\\/]([^\\\/]+)[\\\/]([^\\\/]+)$/g, `/mods/$1/$2`) + path = app.path.replace(/.+[\\\/]([^\\\/]+)[\\\/]([^\\\/]+)$/g, `/mods/$1/$2`) apps.list.push({ id: file.replace(/\.\/?(vue)?/g, '')?.replace(/[\\\/]/g, '_'), name, @@ -36,7 +36,8 @@ const start = () => { navigationBarBackgroundColor: "#4181FF", "mp-weixin": { "usingComponents": { - "cell": "plugin://materialPlugin/cell" + "cell": "plugin://materialPlugin/cell", + "qplayer": "plugin://player/video" } } } diff --git a/src/manifest.json b/src/manifest.json index 659e156..d5d73c3 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -22,8 +22,15 @@ "materialPlugin": { "version": "1.0.5", "provider": "wx4d2deeab3aed6e5a" + }, + "player": { + "version": "2.1.15", + "provider": "wxa75efa648b60994b" } }, - "requiredPrivateInfos" : ["getLocation", "chooseLocation"] + "requiredPrivateInfos": [ + "getLocation", + "chooseLocation" + ] } } diff --git a/src/project/qujing/AppLegalLearning/classDetail.vue b/src/project/qujing/AppLegalLearning/classDetail.vue index 0e3c08c..0ec6325 100644 --- a/src/project/qujing/AppLegalLearning/classDetail.vue +++ b/src/project/qujing/AppLegalLearning/classDetail.vue @@ -17,13 +17,13 @@
