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 @@