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; //领取优惠券