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