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