From ccd24ac69cec3959a0958e4424a49cc63dda5f1a Mon Sep 17 00:00:00 2001 From: yvette Date: Thu, 26 May 2022 17:58:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E8=AE=B0=E6=94=BB=E7=95=A5=E5=8F=88?= =?UTF-8?q?=E4=B8=8D=E6=94=B9=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/strategy/index.js | 14 +++++--------- pages/list/strategy/index.wxml | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/pages/list/strategy/index.js b/pages/list/strategy/index.js index 9fdf052..f23c328 100644 --- a/pages/list/strategy/index.js +++ b/pages/list/strategy/index.js @@ -93,15 +93,11 @@ Page({ }, gotoGuide: function(e) { let item = e.currentTarget.dataset.item - if (item.id == 113) { - // app.globalData.weburl = item.outside_url - // wx.navigateToMiniProgram({ - // appId: 'appId', - // path: '' - // }) - // wx.navigateTo({ - // url: '/pages/pbService/web/index' - // }) + if (item.outside_url) { + app.globalData.weburl = item.outside_url + 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 a27aae3..68112d7 100644 --- a/pages/list/strategy/index.wxml +++ b/pages/list/strategy/index.wxml @@ -38,7 +38,7 @@ - + {{item.title}}