From 9b2f38e5cb2b0ca233a690dcc19acd61d87a6e1f Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Fri, 20 Jun 2025 16:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/const/more.vue | 12 ++---- pages/index/index.vue | 6 ++- pages/tutorial/tutorial.vue | 38 ++++++++++++++++++ pages/user-share/user-share.vue | 12 +++++- pages/user/index.vue | 4 +- pages/user/info.vue | 2 +- pages/user/login.vue | 68 ++++++++++++++++++++++++++------- 7 files changed, 115 insertions(+), 27 deletions(-) diff --git a/pages/const/more.vue b/pages/const/more.vue index 2fab532..97a9b24 100644 --- a/pages/const/more.vue +++ b/pages/const/more.vue @@ -42,19 +42,13 @@ }) }, goAbout() { - uni.navigateTo({ - url: "/pages/const/about" - }) + wx.openSetting() }, goLicense() { - uni.navigateTo({ - url: "/pages/const/license" - }) + wx.openPrivacyContract() }, goPrivacy() { - uni.navigateTo({ - url: "/pages/const/privacy" - }) + wx.openPrivacyContract() }, } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 87267b2..42d0a9c 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -13,7 +13,7 @@ 随手拍 随手拍 - + 积分商城 @@ -67,6 +67,7 @@ id: '', name: '全部' }], + shopEnable: false, tabIndex: 0, newsList: [], curPage: 1, @@ -90,6 +91,9 @@ this.bannerList.push(item) }) }) + TaAjax.get('/points_mall/api.goods/enable').then((res) => { + this.shopEnable = res.data; + }) }, onReady() { this.refreshData(); diff --git a/pages/tutorial/tutorial.vue b/pages/tutorial/tutorial.vue index 7372792..a4cc2bc 100644 --- a/pages/tutorial/tutorial.vue +++ b/pages/tutorial/tutorial.vue @@ -1,6 +1,14 @@