Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 1b24befe
authored
Dec 07, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:调整文案
1 parent
e40050e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
9 deletions
pages/tab/index/components/indexProduct/indexProduct.wxml
pages/tab/index/constant/data.js
pages/viewProd/index.js
pages/tab/index/components/indexProduct/indexProduct.wxml
View file @
1b24bef
...
...
@@ -7,7 +7,7 @@
</van-tabs>
</view>
<view>
<van-notice-bar custom-class="dy-notice" left-icon="{{IMG_URL}}index/ad.png" s
crollable="{{false
}}" text="{{scrollText}}" />
<van-notice-bar custom-class="dy-notice" left-icon="{{IMG_URL}}index/ad.png" s
peed="{{20
}}" text="{{scrollText}}" />
</view>
<view class="pro-cont" id="pro-cont">
<van-tree-select items="{{ items }}" height="{{contentHeight}}" main-active-index="{{ mainActiveIndex }}" bind:click-nav="onClickNav">
...
...
pages/tab/index/constant/data.js
View file @
1b24bef
...
...
@@ -14,7 +14,7 @@ var senceData = [
"sceneCode"
:
"SC001"
,
tabname
:
'车损升级'
,
banner
:
`
${
IMG_URL
}
index/banner/banner0.png`
,
scrollText
:
'
车损升级详情
'
,
scrollText
:
'
售前车险报价捆绑销售权益服务,客户回店享权益,解决门店锁客难题
'
,
//场景详情图片
sceneImgs
:[
`
${
IMG_URL
}
index/scene/scene00.png`
,
...
...
@@ -115,7 +115,7 @@ var senceData = [
"sceneCode"
:
"SC002"
,
tabname
:
'精品升级'
,
banner
:
`
${
IMG_URL
}
index/banner/banner1.png`
,
scrollText
:
'
精品升级详情
'
,
scrollText
:
'
已合作全国20个省份300+门店,转化率68.85%,产值2000万+,欢迎咨询
'
,
sceneImgs
:[
`
${
IMG_URL
}
index/scene/scene10.png`
,
`
${
IMG_URL
}
index/scene/scene11.png`
,
...
...
@@ -190,7 +190,7 @@ var senceData = [
"sceneCode"
:
"SC003"
,
tabname
:
'膨胀金活动'
,
banner
:
`
${
IMG_URL
}
index/banner/banner3.png`
,
scrollText
:
'
膨胀金活动详情
'
,
scrollText
:
'
已发布种草软文100+篇,促进门店二次转化客户到店,欢迎各经销商咨询
'
,
sceneImgs
:[
`
${
IMG_URL
}
index/scene/scene20.png`
,
`
${
IMG_URL
}
index/scene/scene21.png`
,
...
...
@@ -273,7 +273,7 @@ var senceData = [
"sceneCode"
:
"SC004"
,
tabname
:
'众筹活动'
,
banner
:
`
${
IMG_URL
}
index/banner/banner2.png`
,
scrollText
:
'
众筹活动详情
'
,
scrollText
:
'
本月已进行线上众筹活动50场,累计产值100万+
'
,
sceneImgs
:[
`
${
IMG_URL
}
index/scene/scene30.png`
,
`
${
IMG_URL
}
index/scene/scene31.png`
,
...
...
pages/viewProd/index.js
View file @
1b24bef
...
...
@@ -52,6 +52,8 @@ Page({
*/
onLoad
(
options
)
{
this
.
getActiveApiFn
()
// 是否已经查看详情
this
.
isgetAuthphone
()
if
(
!
options
||
utils
.
isEmptyObj
(
options
))
return
let
{
actNum
,
activeNavIdx
,
isShare
,
sharephone
}
=
options
...
...
@@ -150,6 +152,23 @@ Page({
})
}
},
// 是否已经查看详情
isgetAuthphone(){
let authphone = wx.$storage.get("authphone");
if(authphone){
// 显示后面的内容
setTimeout(() => {
this.getImgHeight()
},300)
this.setData({
showLeft: true
})
//触发浏览埋点
// this.onLoad(null)
}
},
onClickTab(event) {
// console.log('event: ', event);s
...
...
@@ -265,7 +284,7 @@ Page({
// console.log('userInfo: ', userInfo);
let { phone } = result;
wx.$storage.set('authphone', phone)
console.log('phone: ', phone);
//
console.log('phone: ', phone);
wx.$storage.set("wx_user_info", {
...userInfo,
phone,
...
...
@@ -274,14 +293,13 @@ Page({
// 显示后面的内容
setTimeout(() => {
this.getImgHeight()
//触发浏览埋点
this.onLoad(null)
},300)
this.setData({
showLeft: true
})
//触发浏览埋点
this.onLoad(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