Commit 1b24befe by luyt

fix:调整文案

1 parent e40050e3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</van-tabs> </van-tabs>
</view> </view>
<view> <view>
<van-notice-bar custom-class="dy-notice" left-icon="{{IMG_URL}}index/ad.png" scrollable="{{false}}" text="{{scrollText}}" /> <van-notice-bar custom-class="dy-notice" left-icon="{{IMG_URL}}index/ad.png" speed="{{20}}" text="{{scrollText}}" />
</view> </view>
<view class="pro-cont" id="pro-cont"> <view class="pro-cont" id="pro-cont">
<van-tree-select items="{{ items }}" height="{{contentHeight}}" main-active-index="{{ mainActiveIndex }}" bind:click-nav="onClickNav"> <van-tree-select items="{{ items }}" height="{{contentHeight}}" main-active-index="{{ mainActiveIndex }}" bind:click-nav="onClickNav">
......
...@@ -14,7 +14,7 @@ var senceData = [ ...@@ -14,7 +14,7 @@ var senceData = [
"sceneCode":"SC001", "sceneCode":"SC001",
tabname:'车损升级', tabname:'车损升级',
banner:`${IMG_URL}index/banner/banner0.png`, banner:`${IMG_URL}index/banner/banner0.png`,
scrollText:'车损升级详情', scrollText:'售前车险报价捆绑销售权益服务,客户回店享权益,解决门店锁客难题',
//场景详情图片 //场景详情图片
sceneImgs:[ sceneImgs:[
`${IMG_URL}index/scene/scene00.png`, `${IMG_URL}index/scene/scene00.png`,
...@@ -115,7 +115,7 @@ var senceData = [ ...@@ -115,7 +115,7 @@ var senceData = [
"sceneCode":"SC002", "sceneCode":"SC002",
tabname:'精品升级', tabname:'精品升级',
banner:`${IMG_URL}index/banner/banner1.png`, banner:`${IMG_URL}index/banner/banner1.png`,
scrollText:'精品升级详情', scrollText:'已合作全国20个省份300+门店,转化率68.85%,产值2000万+,欢迎咨询',
sceneImgs:[ sceneImgs:[
`${IMG_URL}index/scene/scene10.png`, `${IMG_URL}index/scene/scene10.png`,
`${IMG_URL}index/scene/scene11.png`, `${IMG_URL}index/scene/scene11.png`,
...@@ -190,7 +190,7 @@ var senceData = [ ...@@ -190,7 +190,7 @@ var senceData = [
"sceneCode":"SC003", "sceneCode":"SC003",
tabname:'膨胀金活动', tabname:'膨胀金活动',
banner:`${IMG_URL}index/banner/banner3.png`, banner:`${IMG_URL}index/banner/banner3.png`,
scrollText:'膨胀金活动详情', scrollText:'已发布种草软文100+篇,促进门店二次转化客户到店,欢迎各经销商咨询',
sceneImgs:[ sceneImgs:[
`${IMG_URL}index/scene/scene20.png`, `${IMG_URL}index/scene/scene20.png`,
`${IMG_URL}index/scene/scene21.png`, `${IMG_URL}index/scene/scene21.png`,
...@@ -273,7 +273,7 @@ var senceData = [ ...@@ -273,7 +273,7 @@ var senceData = [
"sceneCode":"SC004", "sceneCode":"SC004",
tabname:'众筹活动', tabname:'众筹活动',
banner:`${IMG_URL}index/banner/banner2.png`, banner:`${IMG_URL}index/banner/banner2.png`,
scrollText:'众筹活动详情', scrollText:'本月已进行线上众筹活动50场,累计产值100万+',
sceneImgs:[ sceneImgs:[
`${IMG_URL}index/scene/scene30.png`, `${IMG_URL}index/scene/scene30.png`,
`${IMG_URL}index/scene/scene31.png`, `${IMG_URL}index/scene/scene31.png`,
......
...@@ -52,6 +52,8 @@ Page({ ...@@ -52,6 +52,8 @@ Page({
*/ */
onLoad(options) { onLoad(options) {
this.getActiveApiFn() this.getActiveApiFn()
// 是否已经查看详情
this.isgetAuthphone()
if (!options || utils.isEmptyObj(options)) return if (!options || utils.isEmptyObj(options)) return
let { actNum, activeNavIdx, isShare,sharephone } = options let { actNum, activeNavIdx, isShare,sharephone } = options
...@@ -150,6 +152,23 @@ Page({ ...@@ -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) { onClickTab(event) {
// console.log('event: ', event);s // console.log('event: ', event);s
...@@ -265,7 +284,7 @@ Page({ ...@@ -265,7 +284,7 @@ Page({
// console.log('userInfo: ', userInfo); // console.log('userInfo: ', userInfo);
let { phone } = result; let { phone } = result;
wx.$storage.set('authphone', phone) wx.$storage.set('authphone', phone)
console.log('phone: ', phone); // console.log('phone: ', phone);
wx.$storage.set("wx_user_info", { wx.$storage.set("wx_user_info", {
...userInfo, ...userInfo,
phone, phone,
...@@ -274,14 +293,13 @@ Page({ ...@@ -274,14 +293,13 @@ Page({
// 显示后面的内容 // 显示后面的内容
setTimeout(() => { setTimeout(() => {
this.getImgHeight() this.getImgHeight()
//触发浏览埋点
this.onLoad(null)
},300) },300)
this.setData({ this.setData({
showLeft: true showLeft: true
}) })
//触发浏览埋点
this.onLoad(null)
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!