增加腾讯视频插件

This commit is contained in:
2023-05-26 00:44:10 +08:00
parent d61ee360ec
commit c4330f00ac
3 changed files with 47 additions and 31 deletions

View File

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