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 @@