Commit 56460a98 by 张立顺

Merge branch 'huyue_v3.3.0' of http://192.168.3.233:8090/saas/mini-program/ai-card into huyue_v3.3.0

2 parents dec83e0d 9053fdeb
......@@ -11,7 +11,7 @@
},
"glsx-applet-component": {
"version": "1.0.26",
"resolved": "https://registry.npmmirror.com/glsx-applet-component/-/glsx-applet-component-1.0.26.tgz",
"resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.26.tgz",
"integrity": "sha512-piMTmDIUq4x7fpE3/GgZI1pIFV6SlmsJdtm/TxBqM5VG4i38+7bXZSkjqvu3xdb2TIXw6FuA4lq6I/QfVVX7LQ=="
}
}
......
......@@ -55,7 +55,7 @@ Page({
onRoute(options) {
if (!options || utils.isEmptyObj(options)) return
let { actNum = 0, activeNavIdx = 0, phone } = options
// wx.$Track.sendTrack()
this.setData({
actNum, //选中的场景下标
activeNavIdx, //选中的产品
......
......@@ -500,6 +500,7 @@ const productData = {
2: scenario_2,
3: scenario_3
}
module.exports = {
senceData,
productData
......
const systemData = [
{
id: 100,
name: '客户沉淀',
bannerUrl: '',
productList: [
{
id: 101,
proName: '私欲用户活跃代运营',
img: ''
}
]
}
]
module.exports = {
systemData
}
\ No newline at end of file
......@@ -156,9 +156,9 @@ Page({
senceClick(e) {
const {hasPhoneNumber} = this.data
console.log(e)
wx.$router.go('/packagesList/pages/scenarioDetail/scenarioDetail', {hasPhoneNumber})
const {scenIndex} = e.detail
wx.$router.go('/packagesList/pages/scenarioDetail/scenarioDetail', {hasPhoneNumber, actNum: scenIndex})
},
// 获取全部活动列表
getActivityRecord() {
entmicroApi.getActivityRecord({}).then(({data, code, message}) => {
......
......@@ -2,11 +2,9 @@
"usingComponents": {
"user-info": "../../../components/UserInfo/UserInfo",
"company-introduce": "./components/companyIntroduce/companyIntroduce",
"activity-info": "./components/activity/activity",
"glsx-discover": "glsx-applet-component/discover/index",
"scenario": "./components/scenario/scenario",
"customer": "../../../components/customer/customer",
"gl-scenario": "glsx-applet-component/scenario/index"
"gl-scenario": "glsx-applet-component/scenario/index",
"gl-subscription": "glsx-applet-component/subscription/index"
},
"navigationBarTitleText": "广联数科智能名片"
}
......@@ -26,7 +26,9 @@
<activity-info slot="swiper"></activity-info>
</scenario> -->
</block>
<block wx:if="{{curTabIndex == 1}}">系统订阅</block>
<block wx:if="{{curTabIndex == 1}}">
<gl-subscription list="{{productData[0]}}" menuClick="sysMenuClick" bannerUrl="{{'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner0.png'}}"></gl-subscription>
</block>
<block wx-if="{{curTabIndex == 2}}">
<company-introduce autoplay="{{autoplay}}"></company-introduce>
</block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!