diff --git a/pages/mine/index/index.js b/pages/mine/index/index.js index a5bdd3e..c8534df 100644 --- a/pages/mine/index/index.js +++ b/pages/mine/index/index.js @@ -160,9 +160,23 @@ Page({ //跳转到二级栏目页面 goColumnList(e) { var item = e.currentTarget.dataset.item - wx.navigateTo({ - url: '../columnlist/columnlist?id=' + item.configColumnGroupId + '&title=' + item.configColumnGroupName, - }) + // 1小程序 . 2其他小程序 . 3网址 . 4栏目列表 + if (item.configColumnGroupTargetMode == '1') { + //小程序 + wx.navigateTo({ + url: item.configColumnGroupTargetUrl, + }) + } else if (item.configColumnGroupTargetMode == '2') { + //其他小程序 + } else if (item.configColumnGroupTargetMode == '3') { + //url + } else { + //二级列表 + wx.navigateTo({ + url: '../columnlist/columnlist?id=' + item.configColumnGroupId + '&title=' + item.configColumnGroupName, + }) + } + }, // 跳转到 我的名片 goMyCard: function () {