Commit 199826cb by 匡雅琴

点击banner跳转

1 parent 0582d8b9
......@@ -174,8 +174,8 @@ Page({
// 场景跳转
senceClick(e) {
// 如果没有sceneCode,或者没有配置banner跳转 isBannerLink 1-有配置 2-没有配置
if (!e.detail.sceneCode || e.detail.isBannerLink == 2) return
// 如果有sceneCode,并且没有配置banner跳转 isBannerLink 1-有配置 2-没有配置
if (!e.detail.sceneCode || e.detail.isBannerLink != 1) return
const { hasPhoneNumber } = this.data
// 获取场景
let systemItem = this.data.systemData.find(item => item.sceneCode == e.detail.sceneCode)
......@@ -225,6 +225,8 @@ Page({
const productData = res[0].list
const systemData = res[1].list
this.setData({
[`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name,
systemData,
productData
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!