From d56c5394e869189a2469287197a24f04611bf95c Mon Sep 17 00:00:00 2001 From: wx-jincw Date: Thu, 23 Apr 2026 16:56:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E5=AE=A1=E6=A0=B8=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/index/index.vue | 54 +++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/app/pages/index/index.vue b/app/pages/index/index.vue index 1187d5e..b854911 100644 --- a/app/pages/index/index.vue +++ b/app/pages/index/index.vue @@ -51,7 +51,7 @@ - + 物业服务 - + 库存查询 - + - + 物资领用 - - + + 每日菜单 - - + + 祈愿菜单 - - + + 投诉与建议 - - + + 报修服务 - - + + 报修处理 - - + + 通知公告 - + @@ -462,6 +462,26 @@ }) }, methods: { + goPropertyService(url) { + if (this.uid) { + uni.navigateTo({ + url + }); + return; + } + uni.showModal({ + title: '提示', + content: '请先登录后再访问该功能', + confirmText: '去登录', + success: (res) => { + if (res.confirm) { + uni.navigateTo({ + url: '/pages/users/login/index' + }); + } + } + }); + }, getCoupon: function(id, index) { let that = this; //领取优惠券