Commit ae35a96a by 张立顺

Merge branch 'develop' of 192.168.3.233:saas_plus/business-assistant into develop

2 parents 770a604d e247f70c
...@@ -36,19 +36,19 @@ Component({ ...@@ -36,19 +36,19 @@ Component({
custSceneList: [ custSceneList: [
{ {
title: '新车洽谈场景', title: '新车洽谈场景',
subTitle: '1.0新车权益销售' subTitle: '1.0新车权益升级'
}, },
{ {
title: '新车交付场景', title: '新车交付场景',
subTitle: '1.1新车精品升级' subTitle: '1.1新车精品升级'
}, },
{ {
title: '0-12个月', title: '0-6个月',
subTitle: '1.2新车线上转化' subTitle: '1.2次新车膨胀金活动'
}, },
{ {
title: '12个月以上', title: '6个月以上',
subTitle: '1.3存量用户众筹' subTitle: '1.3售后直播众筹活动'
} }
] ]
}, },
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
/* flex: 1; */ /* flex: 1; */
background: #F7F8FC; background: #F7F8FC;
margin-right: 4rpx; margin-right: 4rpx;
font-size: 18rpx; font-size: 16rpx;
color: #8A8C90; color: #8A8C90;
padding: 32rpx 0 28rpx; padding: 32rpx 0 28rpx;
border-radius: 12rpx; border-radius: 12rpx;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</view> --> </view> -->
<!-- style="padding-top:{{headerHeight}}px" --> <!-- style="padding-top:{{headerHeight}}px" -->
<product stickyTop="{{headerHeight}}" class="productCon" isAuthphone="{{isAuthphone}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" outshowVideo="{{outshowVideo}}" isShare="{{isShare}}" isShow="{{isShow}}" bindauthorized="authorizedFn" phone="{{share_phone}}" /> <product stickyTop="{{headerHeight}}" class="productCon" img_version="{{img_version}}" isAuthphone="{{isAuthphone}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" outshowVideo="{{outshowVideo}}" isShare="{{isShare}}" isShow="{{isShow}}" bindauthorized="authorizedFn" phone="{{share_phone}}" />
<!-- 分享弹框 --> <!-- 分享弹框 -->
<!-- <view class="share-wrap" wx:if="{{isShow}}"> <!-- <view class="share-wrap" wx:if="{{isShow}}">
<view class="img-wrap"> <view class="img-wrap">
......
...@@ -32,7 +32,8 @@ Component({ ...@@ -32,7 +32,8 @@ Component({
type: Boolean, type: Boolean,
// value: false, // value: false,
}, },
phone: String phone: String,
img_version: String //图片版本号
}, },
/** /**
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
特色产品 特色产品
<block wx:if="{{phone}}"> <block wx:if="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}"> <view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<!-- <image src="{{IMGURL}}share-phone.png" class="icon"></image> --> <!-- <image src="{{IMGURL}}share-phone.png?v={{img_version}}" class="icon"></image> -->
<image webp src="{{IMGURL}}phone.png" class="icon"></image> <image webp src="{{IMGURL}}phone.png?v={{img_version}}" class="icon"></image>
请联系我 请联系我
<view style="color:#3666fe"> <view style="color:#3666fe">
{{phone}} {{phone}}
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<view class="prod-card"> <view class="prod-card">
<view class="card-img"> <view class="card-img">
<!-- <text class="img-desc">轻改类</text> <!-- <text class="img-desc">轻改类</text>
<image src="{{IMGURL}}discovery_prod1.png" /> --> <image src="{{IMGURL}}discovery_prod1.png?v={{img_version}}" /> -->
<image webp src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" /> <image webp src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png?v={{img_version}}" />
</view> </view>
<view class="prod-info"> <view class="prod-info">
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text> <text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</text> </text>
</view> </view>
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn"> <view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
<image webp class="icon" src="{{IMGURL}}share.png" /> <image webp class="icon" src="{{IMGURL}}share.png?v={{img_version}}" />
<text>去分享</text> <text>去分享</text>
</view> </view>
</view> </view>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<!-- wx:if="{{showVideo && index==5 && tab.length < 5}}" --> <!-- wx:if="{{showVideo && index==5 && tab.length < 5}}" -->
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index != 5}}"> <view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index != 5}}">
<!-- wx:if="{{index!=5}}" --> <!-- wx:if="{{index!=5}}" -->
<image webp class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" /> <image webp class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png?v={{img_version}}" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}"> <view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list"> <view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i"> <block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</view> </view>
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}"> <view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}">
<!-- wx:if="{{index!=5}}" --> <!-- wx:if="{{index!=5}}" -->
<image webp class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" /> <image webp class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png?v={{img_version}}" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}"> <view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list"> <view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i"> <block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
......
...@@ -8,7 +8,7 @@ var senceData = [ ...@@ -8,7 +8,7 @@ var senceData = [
playImg: 'img1', playImg: 'img1',
src: `${IMG_URL}index/car1.png`, src: `${IMG_URL}index/car1.png`,
// name: "新车洽谈场景", // name: "新车洽谈场景",
msg: "1.0 新车权益升级", msg: "1.0新车权益升级",
"sceneCode":"SC001", "sceneCode":"SC001",
productList: [ productList: [
{ {
...@@ -58,7 +58,7 @@ var senceData = [ ...@@ -58,7 +58,7 @@ var senceData = [
playImg: 'img2', playImg: 'img2',
src: `${IMG_URL}index/car2.png`, src: `${IMG_URL}index/car2.png`,
// name: "新车交付场景", // name: "新车交付场景",
msg: "1.1 新车精品升级", msg: "1.1新车精品升级",
"sceneCode":"SC002", "sceneCode":"SC002",
productList: [ productList: [
{ {
...@@ -92,7 +92,7 @@ var senceData = [ ...@@ -92,7 +92,7 @@ var senceData = [
playImg: 'img2', playImg: 'img2',
src: `${IMG_URL}index/car3.png`, src: `${IMG_URL}index/car3.png`,
// name: "0-12个月", // name: "0-12个月",
msg: "1.2 次新车膨胀金活动", msg: "1.2次新车膨胀金活动",
"sceneCode":"SC003", "sceneCode":"SC003",
productList: [ productList: [
{ {
...@@ -134,7 +134,7 @@ var senceData = [ ...@@ -134,7 +134,7 @@ var senceData = [
playImg: 'img3', playImg: 'img3',
src: `${IMG_URL}index/car4.png`, src: `${IMG_URL}index/car4.png`,
// name: "12个月以上", // name: "12个月以上",
msg: "1.3 售后直播众筹活动", msg: "1.3售后直播众筹活动",
"sceneCode":"SC004", "sceneCode":"SC004",
productList: [ productList: [
{ {
......
...@@ -461,7 +461,7 @@ page { ...@@ -461,7 +461,7 @@ page {
.msg { .msg {
font-weight: 400; font-weight: 400;
font-size: 9px; font-size: 16rpx;
color: #8a8c90; color: #8a8c90;
text-align: center; text-align: center;
} }
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
</scroll-view> </scroll-view>
</view> </view>
<product <product
img_version="{{img_version}}"
isShow="{{false}}" isShow="{{false}}"
stickyTop="{{headerHeight}}" stickyTop="{{headerHeight}}"
actNum="{{actNum}}" actNum="{{actNum}}"
...@@ -292,7 +293,7 @@ ...@@ -292,7 +293,7 @@
webp webp
bindtap="guideFn" bindtap="guideFn"
class="guide-img" class="guide-img"
src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" /> src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png?v={{img_version}}" />
</view> </view>
<!-- 在线客服 --> <!-- 在线客服 -->
<image <image
......
...@@ -148,7 +148,9 @@ const parseString = (str) => { ...@@ -148,7 +148,9 @@ const parseString = (str) => {
}; };
/**获取图片版本号 */ /**获取图片版本号 */
const getImgVersion = () => {}; const getImgVersion = () => {
return '1.0.0'
};
const Util = { const Util = {
getImgVersion, getImgVersion,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!