From b4da4f6eb4ceee5d48e053418233a4802632c01f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 24 Feb 2023 14:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 14 +++++++------- pages/homepage/homepage.vue | 24 ++++++++++++++++-------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/pages.json b/pages.json index 2e4509f..b73408a 100644 --- a/pages.json +++ b/pages.json @@ -4,13 +4,6 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/coupon/coupon", - "style": { - "navigationBarTitleText": "优惠卷", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } - }, { "path": "pages/Personal/Personal", "style": { "navigationBarTitleText": "个人中心", @@ -18,6 +11,13 @@ "navigationBarBackgroundColor": "#ffffff", "navigationStyle": "custom" } + },{ + "path": "pages/coupon/coupon", + "style": { + "navigationBarTitleText": "优惠卷", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } }, { "path": "pages/integral/integral", "style": { diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index e929b59..0dcc3f0 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -173,8 +173,9 @@ e.image = baseurl + e.posterPictureUrl this.swiperImgUrls.push(e.image) }) - if(res.data.poserInfoList[0].video){ - res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0].posterVideoUrl + if (res.data.poserInfoList[0].video) { + res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0] + .posterVideoUrl this.swiperImgUrls.push(res.data.poserInfoList[0].video) } } @@ -187,9 +188,19 @@ }, //专病管理 godiseasemanagement() { - uni.navigateTo({ - url: '/pages/diseasemanagement/diseasemanagement' + uni.navigateToMiniProgram({ + appId: 'wxa690d053c34ceebd', + path: '/pages/index/index', + extraData: { + from: 'qy' + }, + success(res) { + console.log(res) + } }) + // uni.navigateTo({ + // url: '/pages/diseasemanagement/diseasemanagement' + // }) }, //健康咨询 gomedicine() { @@ -367,11 +378,8 @@ position: absolute; top: 20rpx; left: 0; - width: 50%; + width: 65%; font-size: 30rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; } } }