diff --git a/bin/pages.js b/bin/pages.js index e0b8b15..f7deea6 100644 --- a/bin/pages.js +++ b/bin/pages.js @@ -20,7 +20,7 @@ const start = () => { let json = { easycom: { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue", - "^(Ai|V)(.*)": "@/components/$1$2/$1$2.vue" + "^(Ai|V)(.*)": "@/components/$1$2/$1$2.vue", }, pages: [ {path: 'pages/home', style: {navigationBarTitleText: "小程序应用库"}} @@ -33,7 +33,12 @@ const start = () => { globalStyle: { pageOrientation: "auto", navigationBarTextStyle: "white", - navigationBarBackgroundColor: "#4181FF" + navigationBarBackgroundColor: "#4181FF", + "mp-weixin": { + "usingComponents": { + "cell": "plugin://materialPlugin/cell" + } + } } } Promise.all([ diff --git a/src/manifest.json b/src/manifest.json index f55fc92..659e156 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -18,6 +18,12 @@ "desc": "你的位置信息将用于当前事件发生地点" } }, + "plugins": { + "materialPlugin": { + "version": "1.0.5", + "provider": "wx4d2deeab3aed6e5a" + } + }, "requiredPrivateInfos" : ["getLocation", "chooseLocation"] } } diff --git a/src/project/fengdu/AppHome/openPage.vue b/src/project/fengdu/AppHome/openPage.vue index 3418673..877476e 100644 --- a/src/project/fengdu/AppHome/openPage.vue +++ b/src/project/fengdu/AppHome/openPage.vue @@ -22,7 +22,7 @@ export default { } }).then(res=> { if(res?.data) { - this.picUrl = res.data.records[0].picUrl + this.picUrl = res.data.records[0]?.picUrl } }) } diff --git a/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue b/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue index 9e2da33..befb53a 100644 --- a/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue +++ b/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue @@ -13,9 +13,8 @@