From 4fe62ffaf4f9d9cc1fd4225b1302d356eda5805b Mon Sep 17 00:00:00 2001 From: yvette Date: Tue, 24 May 2022 14:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B8=B8=E8=AE=B0=E6=94=BB?= =?UTF-8?q?=E7=95=A5=20=E4=B8=8D=E6=98=BE=E7=A4=BApocket=20suzhou?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/strategy/index.js | 14 +++++++++----- pages/list/strategy/index.wxml | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app.js b/app.js index 1ba2c38..9d3b36a 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest21?true:false; + data.isTest = data.isTest22?true:false; this.globalData.configJson = data }) diff --git a/pages/list/strategy/index.js b/pages/list/strategy/index.js index f23c328..9fdf052 100644 --- a/pages/list/strategy/index.js +++ b/pages/list/strategy/index.js @@ -93,11 +93,15 @@ Page({ }, gotoGuide: function(e) { let item = e.currentTarget.dataset.item - if (item.outside_url) { - app.globalData.weburl = item.outside_url - wx.navigateTo({ - url: '/pages/pbService/web/index' - }) + if (item.id == 113) { + // app.globalData.weburl = item.outside_url + // wx.navigateToMiniProgram({ + // appId: 'appId', + // path: '' + // }) + // wx.navigateTo({ + // url: '/pages/pbService/web/index' + // }) } else { wx.navigateTo({ diff --git a/pages/list/strategy/index.wxml b/pages/list/strategy/index.wxml index 68112d7..a27aae3 100644 --- a/pages/list/strategy/index.wxml +++ b/pages/list/strategy/index.wxml @@ -38,7 +38,7 @@ - + {{item.title}}