Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9053fdeb
authored
Dec 20, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
de26b4b5
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
12 deletions
package-lock.json
package.json
packagesList/pages/scenarioDetail/scenarioDetail.js
pages/tab/index/constant/senceData.js
pages/tab/index/constant/systemData.js
pages/tab/index/index.js
pages/tab/index/index.json
pages/tab/index/index.wxml
package-lock.json
View file @
9053fde
...
...
@@ -10,9 +10,9 @@
"integrity"
:
"sha512-hFJ48SCSvRgcwT/9TcxwNnNnWSpy2BpaBfwQwVdU6uwgFH+2OqGL435VQN7EDpIMH8YjHbiM84hueTyxAzIPqQ=="
},
"glsx-applet-component"
:
{
"version"
:
"1.0.2
4
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.2
4
.tgz"
,
"integrity"
:
"sha512-
F0dyfOVMkSrp+EU7xzZRTqTIwz7104VzY3MmjiM6WyhzoIfPc3jwcX25PRYAmqycCGLe+k1Mvkh4pbvX6zza6g
=="
"version"
:
"1.0.2
6
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.2
6
.tgz"
,
"integrity"
:
"sha512-
piMTmDIUq4x7fpE3/GgZI1pIFV6SlmsJdtm/TxBqM5VG4i38+7bXZSkjqvu3xdb2TIXw6FuA4lq6I/QfVVX7LQ
=="
}
}
}
package.json
View file @
9053fde
...
...
@@ -5,7 +5,7 @@
"main"
:
"app.js"
,
"dependencies"
:
{
"@vant/weapp"
:
"^1.10.9"
,
"glsx-applet-component"
:
"^1.0.2
4
"
"glsx-applet-component"
:
"^1.0.2
6
"
},
"devDependencies"
:
{},
"scripts"
:
{
...
...
packagesList/pages/scenarioDetail/scenarioDetail.js
View file @
9053fde
...
...
@@ -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
,
//选中的产品
...
...
pages/tab/index/constant/senceData.js
View file @
9053fde
...
...
@@ -500,6 +500,7 @@ const productData = {
2
:
scenario_2
,
3
:
scenario_3
}
module
.
exports
=
{
senceData
,
productData
...
...
pages/tab/index/constant/systemData.js
0 → 100644
View file @
9053fde
const
systemData
=
[
{
id
:
100
,
name
:
'客户沉淀'
,
bannerUrl
:
''
,
productList
:
[
{
id
:
101
,
proName
:
'私欲用户活跃代运营'
,
img
:
''
}
]
}
]
module
.
exports
=
{
systemData
}
\ No newline at end of file
pages/tab/index/index.js
View file @
9053fde
...
...
@@ -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
})
=>
{
...
...
pages/tab/index/index.json
View file @
9053fde
...
...
@@ -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"
:
"广联数科智能名片"
}
pages/tab/index/index.wxml
View file @
9053fde
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment