Commit 9053fdeb by 胡悦

提交

1 parent de26b4b5
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"integrity": "sha512-hFJ48SCSvRgcwT/9TcxwNnNnWSpy2BpaBfwQwVdU6uwgFH+2OqGL435VQN7EDpIMH8YjHbiM84hueTyxAzIPqQ==" "integrity": "sha512-hFJ48SCSvRgcwT/9TcxwNnNnWSpy2BpaBfwQwVdU6uwgFH+2OqGL435VQN7EDpIMH8YjHbiM84hueTyxAzIPqQ=="
}, },
"glsx-applet-component": { "glsx-applet-component": {
"version": "1.0.24", "version": "1.0.26",
"resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.24.tgz", "resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.26.tgz",
"integrity": "sha512-F0dyfOVMkSrp+EU7xzZRTqTIwz7104VzY3MmjiM6WyhzoIfPc3jwcX25PRYAmqycCGLe+k1Mvkh4pbvX6zza6g==" "integrity": "sha512-piMTmDIUq4x7fpE3/GgZI1pIFV6SlmsJdtm/TxBqM5VG4i38+7bXZSkjqvu3xdb2TIXw6FuA4lq6I/QfVVX7LQ=="
} }
} }
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"@vant/weapp": "^1.10.9", "@vant/weapp": "^1.10.9",
"glsx-applet-component": "^1.0.24" "glsx-applet-component": "^1.0.26"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
......
...@@ -55,7 +55,7 @@ Page({ ...@@ -55,7 +55,7 @@ Page({
onRoute(options) { onRoute(options) {
if (!options || utils.isEmptyObj(options)) return if (!options || utils.isEmptyObj(options)) return
let { actNum = 0, activeNavIdx = 0, phone } = options let { actNum = 0, activeNavIdx = 0, phone } = options
// wx.$Track.sendTrack()
this.setData({ this.setData({
actNum, //选中的场景下标 actNum, //选中的场景下标
activeNavIdx, //选中的产品 activeNavIdx, //选中的产品
......
...@@ -500,6 +500,7 @@ const productData = { ...@@ -500,6 +500,7 @@ const productData = {
2: scenario_2, 2: scenario_2,
3: scenario_3 3: scenario_3
} }
module.exports = { module.exports = {
senceData, senceData,
productData productData
......
const systemData = [
{
id: 100,
name: '客户沉淀',
bannerUrl: '',
productList: [
{
id: 101,
proName: '私欲用户活跃代运营',
img: ''
}
]
}
]
module.exports = {
systemData
}
\ No newline at end of file \ No newline at end of file
...@@ -156,9 +156,9 @@ Page({ ...@@ -156,9 +156,9 @@ Page({
senceClick(e) { senceClick(e) {
const {hasPhoneNumber} = this.data const {hasPhoneNumber} = this.data
console.log(e) 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() { getActivityRecord() {
entmicroApi.getActivityRecord({}).then(({data, code, message}) => { entmicroApi.getActivityRecord({}).then(({data, code, message}) => {
......
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
"usingComponents": { "usingComponents": {
"user-info": "../../../components/UserInfo/UserInfo", "user-info": "../../../components/UserInfo/UserInfo",
"company-introduce": "./components/companyIntroduce/companyIntroduce", "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", "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": "广联数科智能名片" "navigationBarTitleText": "广联数科智能名片"
} }
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
<activity-info slot="swiper"></activity-info> <activity-info slot="swiper"></activity-info>
</scenario> --> </scenario> -->
</block> </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}}"> <block wx-if="{{curTabIndex == 2}}">
<company-introduce autoplay="{{autoplay}}"></company-introduce> <company-introduce autoplay="{{autoplay}}"></company-introduce>
</block> </block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!