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 d969808e
authored
Feb 07, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新建分支
1 parent
18aefbaf
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
637 additions
and
10 deletions
app.json
components/UserInfo/UserInfo.js
components/UserInfo/UserInfo.wxml
package-lock.json
package.json
packagesList/pages/accessRecord/accessRecord.js
packagesList/pages/accessRecord/accessRecord.json
packagesList/pages/accessRecord/accessRecord.scss
packagesList/pages/accessRecord/accessRecord.wxml
pages/tab/index/constant/data.js
pages/tab/index/index.js
pages/tab/index/index.wxml
project.private.config.json
app.json
View file @
d969808
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
"pages/applySuccess/applySuccess"
,
"pages/applySuccess/applySuccess"
,
"pages/videoDetal/videoDetal"
,
"pages/videoDetal/videoDetal"
,
"pages/productDetail/productDetail"
,
"pages/productDetail/productDetail"
,
"pages/scenarioDetail/scenarioDetail"
"pages/scenarioDetail/scenarioDetail"
,
"pages/accessRecord/accessRecord"
]
]
}
}
],
],
...
...
components/UserInfo/UserInfo.js
View file @
d969808
...
@@ -106,6 +106,10 @@ Component({
...
@@ -106,6 +106,10 @@ Component({
duration
:
2000
duration
:
2000
})
})
}
}
},
// 跳往名片线索页面
goRecord
()
{
wx
.
$router
.
go
(
"/packagesList/pages/accessRecord/accessRecord"
);
}
}
},
},
});
});
components/UserInfo/UserInfo.wxml
View file @
d969808
...
@@ -36,6 +36,8 @@
...
@@ -36,6 +36,8 @@
<button class="btn-plain btn" bindtap="addPhone">保存名片</button>
<button class="btn-plain btn" bindtap="addPhone">保存名片</button>
<button wx:if="{{shareDisabled}}" class="btn-primary btn" bindtap="shareClick">分享名片</button>
<button wx:if="{{shareDisabled}}" class="btn-primary btn" bindtap="shareClick">分享名片</button>
<button wx:else class="btn-primary btn" open-type="share">分享名片</button>
<button wx:else class="btn-primary btn" open-type="share">分享名片</button>
<button class="btn-plain btn" bindtap="goRecord">名片线索</button>
</view>
</view>
</view>
</view>
<authorize buttonType="openSetting" show="{{showAuth}}" isShowCheck="{{false}}"></authorize>
<authorize buttonType="openSetting" show="{{showAuth}}" isShowCheck="{{false}}"></authorize>
\ No newline at end of file
\ No newline at end of file
package-lock.json
View file @
d969808
...
@@ -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.4
0
"
,
"version"
:
"1.0.4
4
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.4
0
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.0.4
4
.tgz"
,
"integrity"
:
"sha512-
ZqThscIToW/UfNWN1XYRa/+9C0P5J0UJYAuF0kiLjfyQx0ToaBEwfsXOO66EXZKxmDf9mOh+GoDEddLxcJ/6/w
=="
"integrity"
:
"sha512-
GEgRy/WYEFjWljh1CAkleW2gRy3/Ss1dk1+z+0O0M29euwR++KS0jwlh3unEIm72c04D3u0FwYiE2vPmgR8qwQ
=="
}
}
}
}
}
}
package.json
View file @
d969808
...
@@ -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.4
0
"
"glsx-applet-component"
:
"^1.0.4
4
"
},
},
"devDependencies"
:
{},
"devDependencies"
:
{},
"scripts"
:
{
"scripts"
:
{
...
...
packagesList/pages/accessRecord/accessRecord.js
0 → 100644
View file @
d969808
// packagesList/pages/accessRecord/accessRecord.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
tabData
:
[
'访问记录'
,
'活动申请'
]
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{
}
})
\ No newline at end of file
\ No newline at end of file
packagesList/pages/accessRecord/accessRecord.json
0 → 100644
View file @
d969808
{
"usingComponents"
:
{},
"navigationBarTitleText"
:
"名片访问记录"
}
\ No newline at end of file
\ No newline at end of file
packagesList/pages/accessRecord/accessRecord.scss
0 → 100644
View file @
d969808
/* packagesList/pages/accessRecord/accessRecord.wxss */
\ No newline at end of file
\ No newline at end of file
packagesList/pages/accessRecord/accessRecord.wxml
0 → 100644
View file @
d969808
<!--packagesList/pages/accessRecord/accessRecord.wxml-->
<view>
<view wx:for="{{tabData}}" wx:key="index" class="tab-title {{item.value == tabIndex ? 'tab-title-active' : ''}}" bindtap="selectTab" data-index="{{item.value}}">
{{item.name}}
</view>
</view>
pages/tab/index/constant/data.js
0 → 100644
View file @
d969808
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/'
const
videoBaseUrl
=
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/'
const
sceneImgs0
=
[
`
${
IMG_URL
}
index/scene/scene00.png`
,
`
${
IMG_URL
}
index/scene/scene01.png`
,
`
${
IMG_URL
}
index/scene/scene02.png`
,
`
${
IMG_URL
}
index/scene/scene03.png`
,
]
const
productImgs0
=
[
`
${
IMG_URL
}
index/productImgs/product00.webp`
,
`
${
IMG_URL
}
index/productImgs/product01.webp`
,
`
${
IMG_URL
}
index/productImgs/product02.webp`
,
`
${
IMG_URL
}
index/productImgs/product03.webp`
,
]
const
videoList0
=
[
{
videoUrl
:
`
${
videoBaseUrl
}
video/digital_card_30s.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/digital_card_30s_bitmap.png`
,
name
:
'数字无忧卡服务30秒'
,
manufacturer
:
'嘀加智慧'
,
view
:
1004
,
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/digital_card_money3.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/digital_card_money3_bitmap.png`
,
name
:
'数字无忧卡3道钱'
,
manufacturer
:
'嘀加智慧'
,
view
:
1563
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/digital_card.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/digital_card_bitmap.png`
,
name
:
'数字无忧卡服务'
,
manufacturer
:
'嘀加智慧'
,
view
:
1320
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/digital_card_reason6.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/digital_card_reason6_bitmap.png`
,
name
:
'数字无忧卡6大理由'
,
manufacturer
:
'嘀加智慧'
,
view
:
1485
}
]
const
posterList0
=
[
{
src
:
`
${
IMG_URL
}
index/poster/poster3-0.webp`
,
name
:
'劲爆来袭'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-1.webp`
,
name
:
'疯狂让利'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-2.webp`
,
name
:
'娱乐系统'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-3.webp`
,
name
:
'AR实景导航'
}
]
// 精品升级
const
sceneImgs1
=
[
`
${
IMG_URL
}
index/scene/scene10.png`
,
`
${
IMG_URL
}
index/scene/scene11.png`
,
`
${
IMG_URL
}
index/scene/scene12.png`
,
`
${
IMG_URL
}
index/scene/scene13.png`
,
]
const
productImgs1
=
[
`
${
IMG_URL
}
index/productImgs/product10.webp`
,
`
${
IMG_URL
}
index/productImgs/product11.webp`
,
`
${
IMG_URL
}
index/productImgs/product12.webp`
,
`
${
IMG_URL
}
index/productImgs/product13.webp`
,
]
const
videoList1
=
[
{
videoUrl
:
`
${
videoBaseUrl
}
video/solar.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/solar_bitmap.png`
,
name
:
'太阳膜转化售中案例-门店新增产值12w每月'
,
manufacturer
:
'嘀加智慧'
,
view
:
1178
}
]
const
posterList1
=
[
{
src
:
`
${
IMG_URL
}
index/poster/poster3-0.webp`
,
name
:
'劲爆来袭'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-1.webp`
,
name
:
'疯狂让利'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-2.webp`
,
name
:
'娱乐系统'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-3.webp`
,
name
:
'AR实景导航'
}
]
// 客户线上化
const
sceneImgs2
=
[
`
${
IMG_URL
}
index/scene/scene20.png`
,
`
${
IMG_URL
}
index/scene/scene21.png`
,
`
${
IMG_URL
}
index/scene/scene22.png`
,
`
${
IMG_URL
}
index/scene/scene23.png`
,
]
const
productImgs2
=
[
`
${
IMG_URL
}
index/productImgs/product20.webp`
,
`
${
IMG_URL
}
index/productImgs/product21.webp`
,
`
${
IMG_URL
}
index/productImgs/product22.webp`
,
`
${
IMG_URL
}
index/productImgs/product23.webp`
,
]
const
posterList2
=
[
{
src
:
`
${
IMG_URL
}
index/poster/poster3-0.webp`
,
name
:
'劲爆来袭'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-1.webp`
,
name
:
'疯狂让利'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-2.webp`
,
name
:
'娱乐系统'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-3.webp`
,
name
:
'AR实景导航'
}
]
const
videoList2
=
[]
const
scenario_2
=
[
{
name
:
'膜类'
,
sceneImgs
:
sceneImgs2
,
productImgs
:
productImgs2
,
productList
:
[
{
id
:
0
,
img
:
'product-img3'
,
proName
:
'漆面保护膜'
,
price
:
'100'
,
profit
:
'180000'
,
type
:
'membrane'
,
productType
:
'protectMembrane'
,
path
:
'paintProtect'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC003"
,
"productName"
:
"漆面保护膜"
,
"category"
:
"膜类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod2-0.png`
,
videoInfo
:
videoList2
[
0
]
},
{
id
:
1
,
img
:
'product-img4'
,
proName
:
'改色膜'
,
price
:
'100'
,
profit
:
'300000'
,
type
:
'membrane'
,
productType
:
'colorMembrane'
,
path
:
'changingFilm'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC004"
,
"productName"
:
"改色膜"
,
"category"
:
"膜类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod2-1.png`
,
videoInfo
:
videoList2
[
0
]
}
],
//无视频时显示的图片
noVideoPicture
:
[
{
posterUrl
:
`
${
IMG_URL
}
index/poster/no-video.png`
,
name
:
'0-6 个月次新车-线上销售轻改精品'
}
],
videoList
:
videoList2
,
posterList
:
posterList2
}
]
// 众筹活动
const
sceneImgs3
=
[
`
${
IMG_URL
}
index/scene/scene30.png`
,
`
${
IMG_URL
}
index/scene/scene31.png`
,
`
${
IMG_URL
}
index/scene/scene32.png`
,
`
${
IMG_URL
}
index/scene/scene33.png`
,
]
const
productImgs3
=
[
`
${
IMG_URL
}
index/productImgs/product30.webp`
,
`
${
IMG_URL
}
index/productImgs/product31.webp`
,
`
${
IMG_URL
}
index/productImgs/product32.webp`
,
`
${
IMG_URL
}
index/productImgs/product33.webp`
,
]
const
videoList3
=
[
{
videoUrl
:
`
${
videoBaseUrl
}
video/car_beauty.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/car_beauty.png`
,
name
:
'数字化美容-新增产值20w+'
,
manufacturer
:
'嘀加智慧'
,
view
:
2561
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/seat.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/seat_bitmap.png`
,
name
:
'座椅通风系统-新增产值20w'
,
manufacturer
:
'嘀加智慧'
,
view
:
1365
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/AR.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/AR_bitmap.png`
,
name
:
'单品AR导航-新增产值20w+'
,
manufacturer
:
'嘀加智慧'
,
view
:
1172
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/light.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/light_bitmap.png`
,
name
:
'单品类氛围灯-新增产值27w'
,
manufacturer
:
'嘀加智慧'
,
view
:
1006
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/360_AR.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/360_AR_bitmap.png`
,
name
:
'360全景导航-新增产值57w+'
,
manufacturer
:
'嘀加智慧'
,
view
:
1891
},
{
videoUrl
:
`
${
videoBaseUrl
}
video/fragrance.mp4`
,
posterUrl
:
`
${
IMG_URL
}
index/poster/fragrance.png`
,
name
:
'智能香氛系统-新增产值57w+'
,
manufacturer
:
'嘀加智慧'
,
view
:
3101
}
]
const
posterList3
=
[
{
src
:
`
${
IMG_URL
}
index/poster/poster3-0.webp`
,
name
:
'劲爆来袭'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-1.webp`
,
name
:
'疯狂让利'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-2.webp`
,
name
:
'娱乐系统'
},
{
src
:
`
${
IMG_URL
}
index/poster/poster3-3.webp`
,
name
:
'AR实景导航'
}
]
const
scenceList
=
[
// {
// sceneid: 4,
// name: '膜升级加盟',
// sceneImgs:sceneImgs0,
// productImgs: productImgs0,
// banner: `${IMG_URL}index/banner/banner0.png`,
// productList: [
// {
// id: 0,
// img: 'product-img1',
// proName: '数字无忧权益卡',
// price: '100',
// profit: '1200000',
// type: 'service',
// productType: 'benefitCard',
// path: 'equity',
// sale:100 ,//销量
// varType: 0,
// flow:10000,
// "productCode":"PC001",
// "productName":"数字无忧权益卡",
// "category":"服务类",
// prodImg: `${IMG_URL}index/prod2/prod0-0.png`,
// videoInfo: videoList0[0]
// }
// ],
// videoList: videoList0,
// posterList: posterList0
// },
{
sceneid
:
1
,
name
:
'膜升级驻店'
,
sceneImgs
:
sceneImgs1
,
productImgs
:
productImgs1
,
banner
:
`
${
IMG_URL
}
index/banner/banner1.png`
,
productList
:
[
{
id
:
0
,
img
:
'product-img2'
,
proName
:
'汽车太阳膜'
,
price
:
'100'
,
profit
:
'1008000'
,
type
:
'membrane'
,
productType
:
'sunMembrane'
,
path
:
'solarFilm'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC002"
,
"productName"
:
"汽车太阳膜"
,
"category"
:
"膜类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod1-0.png`
,
videoInfo
:
videoList1
[
0
]
}
],
videoList
:
videoList1
,
posterList
:
posterList1
},
{
sceneid
:
2
,
name
:
'次新车二次转化'
,
sceneImgs
:
sceneImgs2
,
productImgs
:
productImgs2
,
banner
:
`
${
IMG_URL
}
index/banner/banner2.png`
,
productList
:
[
{
id
:
0
,
img
:
'product-img3'
,
proName
:
'漆面保护膜'
,
price
:
'100'
,
profit
:
'180000'
,
type
:
'membrane'
,
productType
:
'protectMembrane'
,
path
:
'paintProtect'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC003"
,
"productName"
:
"漆面保护膜"
,
"category"
:
"膜类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod2-0.png`
,
videoInfo
:
videoList2
[
0
]
},
{
id
:
1
,
img
:
'product-img4'
,
proName
:
'改色膜'
,
price
:
'100'
,
profit
:
'300000'
,
type
:
'membrane'
,
productType
:
'colorMembrane'
,
path
:
'changingFilm'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC004"
,
"productName"
:
"改色膜"
,
"category"
:
"膜类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod2-1.png`
,
videoInfo
:
videoList2
[
0
]
}
],
//无视频时显示的图片
noVideoPicture
:
[
{
posterUrl
:
`
${
IMG_URL
}
index/poster/no-video.png`
,
name
:
'0-6 个月次新车-线上销售轻改精品'
}
],
videoList
:
videoList2
,
posterList
:
posterList2
},
{
sceneid
:
3
,
name
:
'售后众筹'
,
banner
:
`
${
IMG_URL
}
index/banner/banner3.png`
,
productList
:
[
{
id
:
0
,
img
:
'product-img5'
,
proName
:
'数字化美容'
,
price
:
'100'
,
profit
:
'72000'
,
type
:
'beauty'
,
productType
:
'digitBeauty'
,
path
:
'carBeauty'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC005"
,
"productName"
:
"数字化美容"
,
"category"
:
"美容类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-4.png`
,
videoList
:
videoList3
[
0
]
},
{
id
:
1
,
img
:
'product-img6'
,
proName
:
'座椅通风'
,
price
:
'10000'
,
profit
:
'232200'
,
type
:
'light'
,
productType
:
'chair'
,
path
:
'seatVentilate'
,
sale
:
10000
,
//销量
varType
:
1
,
flow
:
10000
,
"productCode"
:
"PC006"
,
"productName"
:
"座椅通风"
,
"category"
:
"轻改类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-3.png`
,
videoList
:
videoList3
[
0
]
},
{
id
:
2
,
img
:
'product-img7'
,
proName
:
'AR导航'
,
price
:
'10000'
,
profit
:
'226800'
,
type
:
'light'
,
productType
:
'ar'
,
path
:
'arNavigation'
,
sale
:
10000
,
//销量
varType
:
1
,
flow
:
10000
,
"productCode"
:
"PC007"
,
"productName"
:
"AR导航"
,
"category"
:
"轻改类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-0.png`
,
videoList
:
videoList3
[
0
]
},
{
id
:
3
,
img
:
'product-img8'
,
proName
:
'氛围灯'
,
price
:
'10000'
,
profit
:
'361800'
,
type
:
'light'
,
productType
:
'lamp'
,
path
:
'ambientLighting'
,
sale
:
10000
,
//销量
varType
:
1
,
flow
:
10000
,
"productCode"
:
"PC008"
,
"productName"
:
"氛围灯"
,
"category"
:
"轻改类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-2.png`
,
videoList
:
videoList3
[
0
]
},
{
id
:
4
,
img
:
'product-img9'
,
proName
:
'360全景导航'
,
price
:
'10000'
,
profit
:
'388800'
,
type
:
'light'
,
productType
:
'navigation'
,
path
:
'navigationArround'
,
sale
:
10000
,
//销量
varType
:
1
,
flow
:
10000
,
"productCode"
:
"PC009"
,
"productName"
:
"360全景导航"
,
"category"
:
"轻改类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-1.png`
,
videoList
:
videoList3
[
0
]
},
{
id
:
5
,
img
:
'product-img9'
,
proName
:
'智能香氛系统'
,
price
:
'10000'
,
profit
:
'388800'
,
type
:
'light'
,
productType
:
'navigation'
,
path
:
'navigationArround'
,
sale
:
10000
,
//销量
varType
:
1
,
flow
:
10000
,
"productCode"
:
"PC009"
,
"productName"
:
"智能香氛系统"
,
"category"
:
"轻改类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-5.png`
,
videoList
:
videoList3
[
0
]
}
],
sceneImgs
:
sceneImgs3
,
productImgs
:
productImgs3
,
videoList
:
videoList3
,
posterList
:
posterList3
},
{
sceneid
:
0
,
name
:
'车损险升级'
,
sceneImgs
:
sceneImgs0
,
productImgs
:
productImgs0
,
banner
:
`
${
IMG_URL
}
index/banner/banner0.png`
,
productList
:
[
{
id
:
0
,
img
:
'product-img1'
,
proName
:
'数字无忧权益卡'
,
price
:
'100'
,
profit
:
'1200000'
,
type
:
'service'
,
productType
:
'benefitCard'
,
path
:
'equity'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC001"
,
"productName"
:
"数字无忧权益卡"
,
"category"
:
"服务类"
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod0-0.png`
,
videoInfo
:
videoList0
[
0
]
}
],
videoList
:
videoList0
,
posterList
:
posterList0
},
]
module
.
exports
=
{
scenceList
}
\ No newline at end of file
\ No newline at end of file
pages/tab/index/index.js
View file @
d969808
...
@@ -12,6 +12,7 @@ import { commonMixin } from '../../../mixins/index'
...
@@ -12,6 +12,7 @@ import { commonMixin } from '../../../mixins/index'
import
{
trackData
}
from
'../../../utils/data'
import
{
trackData
}
from
'../../../utils/data'
import
{
senceData
,
productData
}
from
'./constant/senceData'
import
{
senceData
,
productData
}
from
'./constant/senceData'
import
{
subscriptionBannerUrl
,
subscriptionSystemData
}
from
'./constant/systemData'
import
{
subscriptionBannerUrl
,
subscriptionSystemData
}
from
'./constant/systemData'
import
{
scenceList
}
from
"./constant/data"
let
leftMenuIndex
=
0
let
leftMenuIndex
=
0
Page
({
Page
({
behaviors
:
[
commonMixin
],
behaviors
:
[
commonMixin
],
...
@@ -64,7 +65,8 @@ Page({
...
@@ -64,7 +65,8 @@ Page({
activityList
:
[],
activityList
:
[],
subscriptionBannerUrl
:
Object
.
freeze
(
subscriptionBannerUrl
),
subscriptionBannerUrl
:
Object
.
freeze
(
subscriptionBannerUrl
),
subscriptionSystemData
:
Object
.
freeze
(
subscriptionSystemData
),
subscriptionSystemData
:
Object
.
freeze
(
subscriptionSystemData
),
showCooperate
:
false
showCooperate
:
false
,
scenceList
:
scenceList
,
// bannerUrl:'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner0.png'
// bannerUrl:'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner0.png'
},
},
...
@@ -211,7 +213,8 @@ Page({
...
@@ -211,7 +213,8 @@ Page({
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
data
&&
data
.
phone
)
{
if
(
data
&&
data
.
phone
)
{
this
.
setData
({
this
.
setData
({
hasPhoneNumber
:
true
hasPhoneNumber
:
true
,
phoneNumber
:
data
.
phone
})
})
this
.
checkCooperate
()
this
.
checkCooperate
()
}
}
...
@@ -476,6 +479,10 @@ Page({
...
@@ -476,6 +479,10 @@ Page({
this
.
setShareInfo
(
cardInfo
)
this
.
setShareInfo
(
cardInfo
)
}
}
)
)
console
.
log
(
cardInfo
.
staffPhone
,
this
.
data
.
phoneNumber
);
if
(
cardInfo
.
staffPhone
===
this
.
data
.
phoneNumber
)
{
wx
.
$storage
.
set
(
'isStaff'
,
'true'
)
}
})
})
},
},
...
...
pages/tab/index/index.wxml
View file @
d969808
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
<view class="main-content">
<view class="main-content">
<block wx:if="{{curTabIndex == 0}}">
<block wx:if="{{curTabIndex == 0}}">
<!-- 增值转化 -->
<!-- 增值转化 -->
<gl-scenario currentScenIndex="{{3}}" productData="{{productData}}" senceData="{{senceData}}" activityList="{{activityList}}" data-name="增值转化" bindactivityClick="activityClick" bind:proClick="proClick" bind:videoClick="videoClick" bind:senceClick="senceClick" bindcurrentScen="getCurrentScen" />
<!-- <gl-scenario currentScenIndex="{{1}}" productData="{{productData}}" senceData="{{senceData}}" activityList="{{activityList}}" data-name="增值转化" bindactivityClick="activityClick" bind:proClick="proClick" bind:videoClick="videoClick" bind:senceClick="senceClick" bindcurrentScen="getCurrentScen" /> -->
<gl-scenario currentScenIndex="{{1}}" productData="{{productData}}" list="{{scenceList}}" senceData="{{senceData}}" activityList="{{activityList}}" bindactivityClick="activityClick" bindproClick="proClick" bind:videoClick="videoClick" bindsenceClick="senceClick" activityList="{{activityList}}" bindleftClick="leftClick"></gl-scenario>
</block>
</block>
<block wx:if="{{curTabIndex == 1}}">
<block wx:if="{{curTabIndex == 1}}">
<gl-subscription list="{{subscriptionSystemData}}" bindmenuClick="sysMenuClick" bannerUrl="{{subscriptionBannerUrl}}" bind:proClick="proClick" data-name="系统订阅" bind:videoClick="videoClick" />
<gl-subscription list="{{subscriptionSystemData}}" bindmenuClick="sysMenuClick" bannerUrl="{{subscriptionBannerUrl}}" bind:proClick="proClick" data-name="系统订阅" bind:videoClick="videoClick" />
...
...
project.private.config.json
View file @
d969808
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
"scene"
:
null
"scene"
:
null
},
},
{
{
"name"
:
""
,
"name"
:
"
访问记录
"
,
"pathName"
:
"packagesList/pages/
videoDetal/videoDetal
"
,
"pathName"
:
"packagesList/pages/
accessRecord/accessRecord
"
,
"query"
:
""
,
"query"
:
""
,
"launchMode"
:
"default"
,
"launchMode"
:
"default"
,
"scene"
:
null
"scene"
:
null
...
...
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