From 5b81a23bb84c3537c28378b4f0b231c6b5d32323 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 20 Mar 2023 19:08:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=AF=BC=E9=A1=B5+cell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/pages.js | 9 +++++++-- src/manifest.json | 6 ++++++ src/project/fengdu/AppHome/openPage.vue | 2 +- src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue | 8 +++----- 4 files changed, 17 insertions(+), 8 deletions(-) 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 @@
请选择社群加入群聊
-
- - 加入群聊 +
+
@@ -116,8 +115,7 @@ export default { line-height: 80px; padding: 0 72px; box-sizing: border-box; - ::v-deep .join-btn { - display: block; + ::v-deep cell .wrapper { width: 100%; height: 100%; text-align: center;