Commit 7196ca1d by 前端

Merge branch 'v2.10.5_fix' into 'master'

V2.10.5 fix

See merge request !7
2 parents 3499f242 c6501b58
...@@ -45,10 +45,10 @@ const domain = { ...@@ -45,10 +45,10 @@ const domain = {
}[target[index]]; }[target[index]];
const pathEnum = { const pathEnum = {
sso: '/rop-scrm-sso/', sso: "/rop-scrm-sso/",
wechat: '/rop-scrm-wechat/', wechat: "/rop-scrm-wechat/",
business: '/rop-scrm-entmicro/' business: "/rop-scrm-entmicro/",
} };
module.exports = { module.exports = {
index, index,
domain, domain,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</block> </block>
{{title||'日期选择'}} {{title||'日期选择'}}
<view class='calender-close' bindtap="showCalendar"> <view class='calender-close' bindtap="showCalendar">
<image src="../images/close.png" class='calender-close-image'></image> <image src="../images/close.png" webp class='calender-close-image'></image>
</view> </view>
</view> </view>
<block wx:if='{{showSubTitle}}'> <block wx:if='{{showSubTitle}}'>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<view class='slot'><slot></slot></view> <view class='slot'><slot></slot></view>
<view class='details'>{{value}}</view> <view class='details'>{{value}}</view>
</view> </view>
<image wx:if='{{haveArrow}}' class='arrow' src="../images/arrow-x.png"></image> <image wx:if='{{haveArrow}}' webp class='arrow' src="../images/arrow-x.png"></image>
</view> </view>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="navigation-bar-box" wx:if="{{showNavBar}}" style="{{navigationBarStyle}}"> <view class="navigation-bar-box" wx:if="{{showNavBar}}" style="{{navigationBarStyle}}">
<block wx:if="{{SHOWBACK}}"> <block wx:if="{{SHOWBACK}}">
<view class="back " bindtap="back"> <view class="back " bindtap="back">
<image class="img" src="./images/icon-back.png" /> <image class="img" webp src="./images/icon-back.png" />
</view> </view>
</block> </block>
<view class="navigation-bar-titleText" style="{{navigationBarTextWidth}}"> <view class="navigation-bar-titleText" style="{{navigationBarTextWidth}}">
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
</block> </block>
<block wx:else> <block wx:else>
<button class="{{isHidden ? 'hidden-phone':'phone-number'}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"> <button class="{{isHidden ? 'hidden-phone':'phone-number'}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">
<image wx:if="{{showIcon}}" class="icon-arrow" src="{{IMGURL}}home/icon-arrow.png"></image> <image wx:if="{{showIcon}}" class="icon-arrow" webp src="{{IMGURL}}home/icon-arrow.png"></image>
{{phoneText}} {{phoneText}}
<image wx:if="{{showIcon}}" class="icon-arrow" src="{{IMGURL}}home/icon-arrow.png"></image> <image wx:if="{{showIcon}}" class="icon-arrow" webp src="{{IMGURL}}home/icon-arrow.png"></image>
</button> </button>
</block> </block>
\ No newline at end of file \ No newline at end of file
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<view class='choose-list' style="height:{{hideCancel?'auto':'298rpx'}}"> <view class='choose-list' style="height:{{hideCancel?'auto':'298rpx'}}">
<view class='list'> <view class='list'>
<view class='list-btn' wx:if='{{!hideWx}}'> <view class='list-btn' wx:if='{{!hideWx}}'>
<image src='../images/wx.png' class='image'></image> <image src='../images/wx.png' webp class='image'></image>
<view>微信好友</view> <view>微信好友</view>
<button open-type='share' bindtap='cancel' class='button'></button> <button open-type='share' bindtap='cancel' class='button'></button>
</view> </view>
<view class='list-btn' bindtap='checkSetting'> <view class='list-btn' bindtap='checkSetting'>
<image src='../images/share.png' class='image'></image> <image src='../images/share.png' webp class='image'></image>
<view>保存分享</view> <view>保存分享</view>
</view> </view>
</view> </view>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class='time-picker-label'>{{startLabel||'开始时间'}}</view> <view class='time-picker-label'>{{startLabel||'开始时间'}}</view>
<view class='time-picker-value {{!startData?"no-data":""}} {{valueAlign}}'> <view class='time-picker-value {{!startData?"no-data":""}} {{valueAlign}}'>
{{startData||'请选择'}} {{startData||'请选择'}}
<image class='arrow' src="../images/arrow-x.png"></image> <image class='arrow' webp src="../images/arrow-x.png"></image>
</view> </view>
</view> </view>
</picker> </picker>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<view class='time-picker-label'>{{endLabel||'结束时间'}}</view> <view class='time-picker-label'>{{endLabel||'结束时间'}}</view>
<view class='time-picker-value {{!endData?"no-data":""}} {{valueAlign}}'> <view class='time-picker-value {{!endData?"no-data":""}} {{valueAlign}}'>
{{endData||'请选择'}} {{endData||'请选择'}}
<image class='arrow' src="../images/arrow-x.png"></image> <image class='arrow' webp src="../images/arrow-x.png"></image>
</view> </view>
</view> </view>
</picker> </picker>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="user-info" data-item="{{cardInfo}}"> <view class="user-info" data-item="{{cardInfo}}">
<block wx:if="{{!showWechant}}"> <block wx:if="{{!showWechant}}">
<view class="user-company"> <view class="user-company">
<image class="company-logo" src="{{IMGURL}}home/logo.png"></image> <image class="company-logo" webp src="{{IMGURL}}home/logo.png"></image>
</view> </view>
<view class="user-name"> <view class="user-name">
<view class="name">{{cardInfo.staffName || ''}}</view> <view class="name">{{cardInfo.staffName || ''}}</view>
......
...@@ -11,7 +11,7 @@ Page({ ...@@ -11,7 +11,7 @@ Page({
id: "0", id: "0",
name: "scene1", name: "scene1",
title: "新车洽谈场景", title: "新车洽谈场景",
type: "1.0 新车权益销售", type: "1.0新车权益升级",
url: "car4", url: "car4",
}, },
{ {
...@@ -24,15 +24,15 @@ Page({ ...@@ -24,15 +24,15 @@ Page({
{ {
id: "2", id: "2",
name: "scene3", name: "scene3",
title: "0-12个月", title: "0-6个月",
type: "1.2 新车线上转化", type: "1.2次新车膨胀金活动",
url: "car2", url: "car2",
}, },
{ {
id: "3", id: "3",
name: "scene4", name: "scene4",
title: "12个月以上", title: "6个月以上",
type: "1.3 存量用户众筹", type: "1.3售后直播众筹活动",
url: "car3", url: "car3",
}, },
], ],
......
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
.product-item-type { .product-item-type {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-weight: 400; font-weight: 500;
font-size: 18rpx; font-size: 17rpx;
color: #8A8C90; color: #323436;
letter-spacing: 0; letter-spacing: 0;
text-align: center; text-align: center;
line-height: 24rpx; line-height: 24rpx;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<view class="tab-content-box" wx:if="{{cardList.length}}"> <view class="tab-content-box" wx:if="{{cardList.length}}">
<view class="pos-relative" bindtap="handleIntroduceClick"> <view class="pos-relative" bindtap="handleIntroduceClick">
<view class="card-introduce"> <view class="card-introduce">
<image class="introduce-img" src="{{IMGURL}}{{introduceObj.imgUrl}}?v={{img_version}}" /> <image class="introduce-img" webp src="{{IMGURL}}{{introduceObj.imgUrl}}?v={{img_version}}" />
<view class="introduce-content"> <view class="introduce-content">
<view class="introduce-txt">{{introduceObj.title}}</view> <view class="introduce-txt">{{introduceObj.title}}</view>
<view class="introduce-btn">查看阶段玩法</view> <view class="introduce-btn">查看阶段玩法</view>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<view class="{{introduceVisible ? 'model' : 'model-hidden'}}" catchtouchmove="noScroll" bindtap="handleIntroduceClose"> <view class="{{introduceVisible ? 'model' : 'model-hidden'}}" catchtouchmove="noScroll" bindtap="handleIntroduceClose">
<view> <view>
<view class="model-box"> <view class="model-box">
<image class="model-img" src="{{IMGURL}}addTransform/card/deliver/model-introduce.png?v={{img_version}}" /> <image class="model-img" webp src="{{IMGURL}}addTransform/card/deliver/model-introduce.png?v={{img_version}}" />
<view class="model-block"> <view class="model-block">
<view class="model-head"> <view class="model-head">
<view class="head-title">{{introduceList[tagIndex].title}}</view> <view class="head-title">{{introduceList[tagIndex].title}}</view>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<view class="layout"> <view class="layout">
<view class="head"> <view class="head">
<image class="head-icon" src="{{IMGURL}}addTransform/detail/icon-video.png?v={{img_version}}" /> <image class="head-icon" webp src="{{IMGURL}}addTransform/detail/icon-video.png?v={{img_version}}" />
<text class="head-txt">案例视频</text> <text class="head-txt">案例视频</text>
</view> </view>
<video class="video" wx:for="{{detailObj.videoList}}" wx:key="index" title="案例视频:{{proName}}" src="{{IMGURL}}{{item.url}}?v={{img_version}}"></video> <video class="video" wx:for="{{detailObj.videoList}}" wx:key="index" title="案例视频:{{proName}}" src="{{IMGURL}}{{item.url}}?v={{img_version}}"></video>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<view class="fixed-btn" wx:if="{{hasShare}}"> <view class="fixed-btn" wx:if="{{hasShare}}">
<button class="btn-share" open-type="share"> <button class="btn-share" open-type="share">
<image class="btn-icon" src="{{IMGURL}}addTransform/detail/share.png?v={{img_version}}"/> <image class="btn-icon" webp src="{{IMGURL}}addTransform/detail/share.png?v={{img_version}}"/>
<text>分享此页面</text> <text>分享此页面</text>
</button> </button>
</view> </view>
......
<!--pages/addTransform/components/card/Card.wxml--> <!--pages/addTransform/components/card/Card.wxml-->
<view class="card-box" bindtap="handleClick"> <view class="card-box" bindtap="handleClick">
<image class="img" src="{{IMGURL}}{{cardForm.imgUrl}}?v={{img_version}}" /> <image class="img" webp src="{{IMGURL}}{{cardForm.imgUrl}}?v={{img_version}}" />
<view class="card-block"> <view class="card-block">
<view class="m-b-20"> <view class="m-b-20">
<text class="card-type" style="color: {{typeObj[cardForm.type].color}}; background-color: {{typeObj[cardForm.type].bgColor}}">{{typeObj[cardForm.type].name}}</text> <text class="card-type" style="color: {{typeObj[cardForm.type].color}}; background-color: {{typeObj[cardForm.type].bgColor}}">{{typeObj[cardForm.type].name}}</text>
......
var measureList = Object.freeze([ var measureList = Object.freeze([
{ {
name: '新车1.0', name: '1.0 新车权益升级',
tips: '新车洽谈场景',
iconName: 'icon1', iconName: 'icon1',
product: [ product: [
{ {
name: '车损险升级', name: '车损升级',
parentName: '新车1.0', parentName: '1.0 新车权益升级',
tips: '新车洽谈场景',
value: '0-0', value: '0-0',
typeIndex: '1.0',
isCheck: false, isCheck: false,
rate: '0.5', rate: '0.5',
averagePrice: 1200, averagePrice: 1200,
...@@ -17,13 +20,16 @@ var measureList = Object.freeze([ ...@@ -17,13 +20,16 @@ var measureList = Object.freeze([
] ]
}, },
{ {
name: '新车1.1', name: '1.1 新车精品升级',
tips: '新车交付场景',
iconName: 'icon2', iconName: 'icon2',
product: [ product: [
{ {
name: '太阳膜升级', name: '太阳膜升级',
parentName: '新车1.1', parentName: '1.1 新车精品升级',
tips: '新车交付场景',
value: '1-0', value: '1-0',
typeIndex: '1.1',
isCheck: false, isCheck: false,
rate: '0.55', rate: '0.55',
averagePrice: 1400, averagePrice: 1400,
...@@ -34,15 +40,16 @@ var measureList = Object.freeze([ ...@@ -34,15 +40,16 @@ var measureList = Object.freeze([
] ]
}, },
{ {
name: '新车1.2', name: '1.2 次新车膨胀金活动',
iconName: 'icon3', iconName: 'icon3',
tips: '0-6个月', tips: '0-6个月',
product: [ product: [
{ {
name: '膨胀金活动-车衣', name: '膨胀金活动-车衣',
parentName: '新车1.2', parentName: '1.2 次新车膨胀金活动',
tips: '0-6个月', tips: '0-6个月',
value: '2-0', value: '2-0',
typeIndex: '1.2',
isCheck: false, isCheck: false,
rate: '0.09', rate: '0.09',
averagePrice: 5000, averagePrice: 5000,
...@@ -52,9 +59,10 @@ var measureList = Object.freeze([ ...@@ -52,9 +59,10 @@ var measureList = Object.freeze([
}, },
{ {
name: '膨胀金活动-改色膜', name: '膨胀金活动-改色膜',
parentName: '新车1.2', parentName: '1.2 次新车膨胀金活动',
tips: '0-6个月', tips: '0-6个月',
value: '2-1', value: '2-1',
typeIndex: '1.2',
isCheck: false, isCheck: false,
rate: '0.06', rate: '0.06',
averagePrice: 2999, averagePrice: 2999,
...@@ -65,14 +73,15 @@ var measureList = Object.freeze([ ...@@ -65,14 +73,15 @@ var measureList = Object.freeze([
] ]
}, },
{ {
name: '新车1.3', name: '1.3 售后直播众筹活动',
iconName: 'icon4', iconName: 'icon4',
tips: '售后活动', tips: '6个月以上',
product: [ product: [
{ {
name: '360全景导航', name: '360全景导航',
parentName: '新车1.3', parentName: '1.3 售后直播众筹活动',
tips: '售后活动', tips: '6个月以上',
typeIndex: '1.3',
value: '3-0', value: '3-0',
isCheck: false, isCheck: false,
rate: '0.015', rate: '0.015',
...@@ -83,9 +92,10 @@ var measureList = Object.freeze([ ...@@ -83,9 +92,10 @@ var measureList = Object.freeze([
}, },
{ {
name: 'AR导航', name: 'AR导航',
parentName: '新车1.3', parentName: '1.3 售后直播众筹活动',
tips: '售后活动', tips: '6个月以上',
value: '3-1', value: '3-1',
typeIndex: '1.3',
isCheck: false, isCheck: false,
rate: '0.015', rate: '0.015',
averagePrice: 1680, averagePrice: 1680,
...@@ -95,9 +105,10 @@ var measureList = Object.freeze([ ...@@ -95,9 +105,10 @@ var measureList = Object.freeze([
}, },
{ {
name: '氛围灯', name: '氛围灯',
parentName: '新车1.3', parentName: '1.3 售后直播众筹活动',
tips: '售后活动', tips: '6个月以上',
value: '3-2', value: '3-2',
typeIndex: '1.3',
isCheck: false, isCheck: false,
rate: '0.015', rate: '0.015',
averagePrice: 2680, averagePrice: 2680,
...@@ -107,9 +118,10 @@ var measureList = Object.freeze([ ...@@ -107,9 +118,10 @@ var measureList = Object.freeze([
}, },
{ {
name: '座椅通风', name: '座椅通风',
parentName: '新车1.3', parentName: '1.3 售后直播众筹活动',
tips: '售后活动', tips: '6个月以上',
value: '3-3', value: '3-3',
typeIndex: '1.3',
isCheck: false, isCheck: false,
rate: '0.01', rate: '0.01',
averagePrice: 2580, averagePrice: 2580,
...@@ -118,10 +130,11 @@ var measureList = Object.freeze([ ...@@ -118,10 +130,11 @@ var measureList = Object.freeze([
serviceDividendRatio: '0.21' serviceDividendRatio: '0.21'
}, },
{ {
name: '智能香氛', name: '智能香薰',
parentName: '新车1.3', parentName: '1.3 售后直播众筹活动',
tips: '售后活动', tips: '6个月以上',
value: '3-4', value: '3-4',
typeIndex: '1.3',
isCheck: false, isCheck: false,
rate: '0.015', rate: '0.015',
averagePrice: 1680, averagePrice: 1680,
......
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<view class="wrapper-measure"> <view class="wrapper-measure">
<image class="header-bg" webp src="{{IMGURL}}measure/header-bg.png?v={{img_version}}"></image> <image class="header-bg" webp src="{{IMGURL}}measure/header-bg.png?v={{img_version}}"></image>
<view class="form first-form"> <view class="form first-form">
<view class="form-title">请输入门店基本信息</view> <view class="form-title">请输入4S店基本信息</view>
<view class="form-label">您的门店数</view> <view class="form-label">您合作的4S门店数量</view>
<input class="form-value" value="{{formData.storeNumber}}" bindinput="handleInput" data-name="storeNumber" maxlength="4" type="number" placeholder="请输入门店数"/> <input class="form-value" value="{{formData.storeNumber}}" bindinput="handleInput" data-name="storeNumber" maxlength="4" type="number" placeholder="请输入"/>
<view class="form-label">单店每月平均新车数</view> <view class="form-label">4S店单店月均新车销量</view>
<input class="form-value" value="{{formData.carNumber}}" bindinput="handleInput" data-name="carNumber" maxlength="4" type="number" placeholder="请输入单店每月平均新车数"/> <input class="form-value" value="{{formData.carNumber}}" bindinput="handleInput" data-name="carNumber" maxlength="4" type="number" placeholder="请输入"/>
<view class="form-label">单店3年以上存量客户数</view> <view class="form-label">4S店单店3年以上存量车主</view>
<input class="form-value" value="{{formData.customNumber}}" bindinput="handleInput" data-name="customNumber" maxlength="6" type="number" placeholder="请输入您的单店3年以上存量客户数"/> <input class="form-value" value="{{formData.customNumber}}" bindinput="handleInput" data-name="customNumber" maxlength="6" type="number" placeholder="请输入"/>
</view> </view>
<view class="form second-form"> <view class="form second-form">
<view class="form-title">请选择场景/产品</view> <view class="form-title">请选择场景/产品</view>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<view class="scenario"> <view class="scenario">
<image class="icon" webp src="{{IMGURL}}measure/{{i.iconName}}.png?v={{img_version}}"></image> <image class="icon" webp src="{{IMGURL}}measure/{{i.iconName}}.png?v={{img_version}}"></image>
{{i.name}} {{i.name}}
<view wx:if="{{i.tips}}" class="title-tip">({{i.tips}})</view> <view wx:if="{{i.tips}}" class="title-tip">{{i.tips}}</view>
</view> </view>
<view class="product-list"> <view class="product-list">
<view class="product-item {{j.isCheck ? 'active':''}}" wx:for="{{i.product}}" wx:for-item="j" wx:key="index" data-value="{{j.value}}" bindtap="checkProduct"> <view class="product-item {{j.isCheck ? 'active':''}}" wx:for="{{i.product}}" wx:for-item="j" wx:key="index" data-value="{{j.value}}" bindtap="checkProduct">
......
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
color: #6E6E7A; color: #6E6E7A;
letter-spacing: 0; letter-spacing: 0;
line-height: 44rpx; line-height: 44rpx;
margin-left: 8rpx;
} }
.product-list { .product-list {
/* display: flex; */ /* display: flex; */
......
...@@ -6,28 +6,45 @@ ...@@ -6,28 +6,45 @@
<view class="header-box"> <view class="header-box">
<view class="card-item"> <view class="card-item">
<view class="card-label m-b-8">增量产值/年</view> <view class="card-label m-b-8">增量产值/年</view>
<view class="card-value">{{filter.formatValue(countData.valueAddCount)}}</view> <view class="card-value">
<view class="card-number">{{filter.formatValue(countData.valueAddCount)}}</view>
<view class="card-unit">元</view>
</view>
</view> </view>
<view class="card-item"> <view class="card-item">
<view class="card-label m-b-8">4S店收入/年</view> <view class="card-label m-b-8">4S店收入/年</view>
<view class="card-value">{{filter.formatValue(countData.storeIncomeCount)}}</view> <view class="card-value">
<view class="card-number">{{filter.formatValue(countData.storeIncomeCount)}}</view>
<view class="card-unit">元</view>
</view>
</view> </view>
<view class="card-item"> <view class="card-item">
<view class="card-label m-b-8">服务商收入/年</view> <view class="card-label m-b-8">服务商收入/年</view>
<view class="card-value">{{filter.formatValue(countData.serviceIncomeCount)}}</view> <view class="card-value">
<view class="card-number">{{filter.formatValue(countData.serviceIncomeCount)}}</view>
<view class="card-unit">元</view>
</view>
</view> </view>
<view class="m-b-24" wx:if="{{formData.storeNumber > 1}}"> <view class="m-b-24" wx:if="{{formData.storeNumber > 1}}">
<view class="card-item "> <view class="card-item ">
<view class="card-label m-b-8 gray">单店均值</view> <view class="card-label m-b-8 gray">单店均值</view>
<view class="card-value card-single-value">{{filter.formatValue(countData.singleValueAddCount)}}</view> <view class="card-value card-single-value">{{filter.formatValue(countData.singleValueAddCount)}}
<view class="card-single-unit">元</view>
</view>
</view> </view>
<view class="card-item"> <view class="card-item">
<view class="card-label m-b-8 gray">单店均值</view> <view class="card-label m-b-8 gray">单店均值</view>
<view class="card-value card-single-value">{{filter.formatValue(countData.singleStoreIncomeCount)}}</view> <view class="card-value card-single-value">
{{filter.formatValue(countData.singleStoreIncomeCount)}}
<view class="card-single-unit">元</view>
</view>
</view> </view>
<view class="card-item"> <view class="card-item">
<view class="card-label m-b-8 gray">单店均值</view> <view class="card-label m-b-8 gray">单店均值</view>
<view class="card-value card-single-value">{{filter.formatValue(countData.singleServiceIncomeCount)}}</view> <view class="card-value card-single-value">
{{filter.formatValue(countData.singleServiceIncomeCount)}}
<view class="card-single-unit">元</view>
</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -36,8 +53,8 @@ ...@@ -36,8 +53,8 @@
<view class="card-box" wx:for="{{checkList}}" wx:for-item="m" wx:key="i" wx:for-index="i"> <view class="card-box" wx:for="{{checkList}}" wx:for-item="m" wx:key="i" wx:for-index="i">
<view class="card-title"> <view class="card-title">
<view class="card-left"> <view class="card-left">
{{m.parentName}} <view>{{m.parentName}}</view>
<view class="card-product"> {{m.tips}} {{m.name}}</view> <view class="card-product">{{m.tips}} {{m.name}}</view>
</view> </view>
<view class="card-edit" data-item="{{m}}" data-index="{{i}}" bindtap="toEdit"> <view class="card-edit" data-item="{{m}}" data-index="{{i}}" bindtap="toEdit">
<image class="icon-edit" webp src="{{IMGURL}}measure/icon-edit.png?v={{img_version}}"></image> <image class="icon-edit" webp src="{{IMGURL}}measure/icon-edit.png?v={{img_version}}"></image>
...@@ -46,7 +63,7 @@ ...@@ -46,7 +63,7 @@
</view> </view>
<view class="card-content"> <view class="card-content">
<view class="card-item"> <view class="card-item">
<view class="card-label gray m-b-4">基盘客户数</view> <view class="card-label gray m-b-4">{{ m.typeIndex == '1.3' ? '基盘客户数' : '新车客户数' }}</view>
<view class="card-value gray value-number">{{filter.formatValue(m.baseCustomersNumber)}}</view> <view class="card-value gray value-number">{{filter.formatValue(m.baseCustomersNumber)}}</view>
</view> </view>
<view class="card-item"> <view class="card-item">
...@@ -84,8 +101,8 @@ ...@@ -84,8 +101,8 @@
<view class="card-box" wx:for="{{checkList}}" wx:for-item="n" wx:key="j" wx:for-index="j"> <view class="card-box" wx:for="{{checkList}}" wx:for-item="n" wx:key="j" wx:for-index="j">
<view class="card-title"> <view class="card-title">
<view class="card-left"> <view class="card-left">
{{n.parentName}} <view>{{n.parentName}}</view>
<view class="card-product"> {{n.tips}} {{n.name}}</view> <view class="card-product">{{n.tips}} {{n.name}}</view>
</view> </view>
<view class="card-edit" data-item="{{n}}" data-index="{{j}}" bindtap="toEdit"> <view class="card-edit" data-item="{{n}}" data-index="{{j}}" bindtap="toEdit">
<image class="icon-edit" webp src="{{IMGURL}}measure/icon-edit.png?v={{img_version}}"></image> <image class="icon-edit" webp src="{{IMGURL}}measure/icon-edit.png?v={{img_version}}"></image>
...@@ -94,7 +111,7 @@ ...@@ -94,7 +111,7 @@
</view> </view>
<view class="card-content"> <view class="card-content">
<view class="card-item"> <view class="card-item">
<view class="card-label gray m-b-8">基盘客户数</view> <view class="card-label gray m-b-8">{{ n.typeIndex == '1.3' ? '基盘客户数' : '新车客户数' }}</view>
<view class="card-value gray value-number">{{filter.formatValue(n.baseCustomersNumber)}}</view> <view class="card-value gray value-number">{{filter.formatValue(n.baseCustomersNumber)}}</view>
</view> </view>
<view class="card-item"> <view class="card-item">
......
...@@ -46,12 +46,18 @@ ...@@ -46,12 +46,18 @@
line-height: 36rpx; line-height: 36rpx;
} }
.card-value { .card-value {
display: flex;
align-items: baseline;
font-weight: 700; font-weight: 700;
font-size: 40rpx; font-size: 40rpx;
color: #FFA034; color: #FFA034;
line-height: 48rpx; line-height: 48rpx;
} }
.card-single-unit {
display: inline-block;
font-size: 24rpx;
color: #1B233D;
}
.m-b-8 { .m-b-8 {
margin-bottom: 8rpx; margin-bottom: 8rpx;
} }
...@@ -84,16 +90,18 @@ ...@@ -84,16 +90,18 @@
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
margin-left: 15rpx; /* margin-left: 15rpx; */
} }
.card-edit { .card-edit {
display: flex; display: flex;
width: 100rpx;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #5850FF; color: #5850FF;
} }
.icon-edit { .icon-edit {
margin-right: 8rpx;
width: 28rpx; width: 28rpx;
height: 28rpx; height: 28rpx;
} }
...@@ -103,6 +111,15 @@ ...@@ -103,6 +111,15 @@
.value-number { .value-number {
margin-bottom: 32rpx; margin-bottom: 32rpx;
} }
.card-number {
display: inline-block;
}
.card-unit {
display: inline-block;
font-weight: 400;
font-size: 28rpx;
color: #FFA034;
}
.card-label.gray { .card-label.gray {
color: #6E6E7A; color: #6E6E7A;
font-weight: 400; font-weight: 400;
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,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 webp src="{{IMGURL}}discovery_prod1.png" /> -->
<image src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" /> <image webp src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" />
</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>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,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 class="icon" src="{{IMGURL}}share.png" /> <image webp class="icon" src="{{IMGURL}}share.png" />
<text>分享</text> <text>分享</text>
</view> </view>
</view> </view>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,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 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" />
<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">
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<!-- wx:if="{{index == 5 && outshowVideo}}" --> <!-- wx:if="{{index == 5 && outshowVideo}}" -->
<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 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" />
<!-- wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}" --> <!-- wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}" -->
<view class="video-bg"> <view class="video-bg">
<view class="video-list"> <view class="video-list">
......
// import { IMG_URL } from "~/utils/constantData.js"; import { IMG_URL } from "~/utils/constantData.js";
let IMG_URL = wx.$imgUrl
var senceData = [ var senceData = [
{ {
...@@ -9,7 +8,7 @@ var senceData = [ ...@@ -9,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: [
{ {
...@@ -59,7 +58,7 @@ var senceData = [ ...@@ -59,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: [
{ {
...@@ -87,13 +86,13 @@ var senceData = [ ...@@ -87,13 +86,13 @@ var senceData = [
] ]
}, },
{ {
name: '0-12个月', name: '0-6个月',
img: 'scene_within_12mth.png', img: 'scene_within_12mth.png',
active: 'icon-car21', active: 'icon-car21',
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: [
{ {
...@@ -129,13 +128,13 @@ var senceData = [ ...@@ -129,13 +128,13 @@ var senceData = [
] ]
}, },
{ {
name: '12个月以上', name: '6个月以上',
img: 'scene_more_12mth.png', img: 'scene_more_12mth.png',
active: 'icon-car31', active: 'icon-car31',
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: [
{ {
......
...@@ -152,6 +152,7 @@ Page({ ...@@ -152,6 +152,7 @@ Page({
wx.$Track.sendTrack(trackData[trackName]); wx.$Track.sendTrack(trackData[trackName]);
this.setData({ this.setData({
actNum: num, actNum: num,
wrapactiveNavIdx:0
}); });
}, },
// 头部看线索,产品切换 // 头部看线索,产品切换
......
...@@ -412,9 +412,9 @@ page { ...@@ -412,9 +412,9 @@ page {
} }
.msg { .msg {
font-weight: 400; font-weight: 500;
font-size: 9px; font-size: 18rpx;
color: #8a8c90; color: #323436;
text-align: center; text-align: center;
} }
} }
......
...@@ -75,9 +75,9 @@ Page({ ...@@ -75,9 +75,9 @@ Page({
// 0-公司介绍 1-方案介绍 2-视频直播 3-合作申请 // 0-公司介绍 1-方案介绍 2-视频直播 3-合作申请
switch (curTabIndex) { switch (curTabIndex) {
case 2: case 2:
wx.openChannelsActivity({ wx.openChannelsUserProfile({
finderUserName: 'sphPIdcy0NVpuao', finderUserName: 'sphPIdcy0NVpuao',
feedId: 'export/UzFfAgtgekIEAQAAAAAAOQ8BJrsjzwAAAAstQy6ubaLX4KHWvLEZgBPEmIEUOQV4c62CzNPgMJqRnrGh3TfaajoIU4mGBiio' // feedId: 'export/UzFfAgtgekIEAQAAAAAAOQ8BJrsjzwAAAAstQy6ubaLX4KHWvLEZgBPEmIEUOQV4c62CzNPgMJqRnrGh3TfaajoIU4mGBiio'
}) })
wx.$Track.sendTrack(trackData.VIDEO); wx.$Track.sendTrack(trackData.VIDEO);
break; break;
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view> <view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view>
<!-- 服务咨询 --> <!-- 服务咨询 -->
<view class="floating-box"> <view class="floating-box">
<image class="floating-icon" style="margin-bottom: 10rpx;" bindtap="handleOpen" data-name="store" src="{{IMGURL}}home/icon-store.png?v={{img_version}}"></image> <image class="floating-icon" style="margin-bottom: 10rpx;" webp bindtap="handleOpen" data-name="store" src="{{IMGURL}}home/icon-store.png?v={{img_version}}"></image>
<image class="floating-icon" bindtap="handleOpen" data-name="business" src="{{IMGURL}}home/icon-business.png?v={{img_version}}"></image> <image class="floating-icon" bindtap="handleOpen" data-name="business" webp src="{{IMGURL}}home/icon-business.png?v={{img_version}}"></image>
<image class="floating-icon" bindtap="handleOpen" data-name="custom" src="{{IMGURL}}home/custom.png?v={{img_version}}"></image> <image class="floating-icon" bindtap="handleOpen" data-name="custom" webp src="{{IMGURL}}home/custom.png?v={{img_version}}"></image>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</view> </view>
<!-- 政府与行业资质 --> <!-- 政府与行业资质 -->
<view class="relative"> <view class="relative">
<image mode="widthFix" class="img" src="{{IMGURL}}image/company/bg2.png?v={{img_version}}"></image> <image mode="widthFix" class="img" webp src="{{IMGURL}}image/company/bg2.png?v={{img_version}}"></image>
<view class="box3"> <view class="box3">
<swiper class="box3-swiper" autoplay bindchange="changePage" current="{{current}}" indicator-dots="{{false}}" indicator-color="#E6E7EB" indicator-active-color="#5850FF" interval="5000" circular> <swiper class="box3-swiper" autoplay bindchange="changePage" current="{{current}}" indicator-dots="{{false}}" indicator-color="#E6E7EB" indicator-active-color="#5850FF" interval="5000" circular>
<block wx:for="{{banner}}" wx:key="ind"> <block wx:for="{{banner}}" wx:key="ind">
...@@ -53,6 +53,6 @@ ...@@ -53,6 +53,6 @@
</view> </view>
<!-- <image mode="widthFix" class="img" src="{{IMGURL}}image/company/company-img5.png?v={{img_version}}"></image> --> <!-- <image mode="widthFix" class="img" src="{{IMGURL}}image/company/company-img5.png?v={{img_version}}"></image> -->
<image mode="widthFix" class="img" src="{{IMGURL}}image/company/company-img5.png?v={{img_version}}"></image> <image mode="widthFix" webp class="img" src="{{IMGURL}}image/company/company-img5.png?v={{img_version}}"></image>
</view> </view>
</template> </template>
\ No newline at end of file \ No newline at end of file
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
<view wx:if="{{hasPhoneNumber}}"> <view wx:if="{{hasPhoneNumber}}">
<image mode="widthFix" lazy-load class="img m-t-64" webp src="{{IMGURL}}image/cube/cube-img1.png?v={{img_version}}"></image> <image mode="widthFix" lazy-load class="img m-t-64" webp src="{{IMGURL}}image/cube/cube-img1.png?v={{img_version}}"></image>
<view class="relative" style="height: 2772rpx;"> <view class="relative" style="height: 2772rpx;">
<image class="img m-t-64" style="height: 2772rpx;" src="{{IMGURL}}image/cube/cube-img2.png?v={{img_version}}"></image> <image class="img m-t-64" style="height: 2772rpx;" webp src="{{IMGURL}}image/cube/cube-img2.png?v={{img_version}}"></image>
<image class="img2-text img2-text1" src="{{IMGURL}}image/cube/img2-text1.png?v={{img_version}}"></image> <image class="img2-text img2-text1" webp src="{{IMGURL}}image/cube/img2-text1.png?v={{img_version}}"></image>
<image class="img2-text img2-text2" src="{{IMGURL}}image/cube/img2-text2.png?v={{img_version}}"></image> <image class="img2-text img2-text2" webp src="{{IMGURL}}image/cube/img2-text2.png?v={{img_version}}"></image>
<image class="img2-text img2-text3" src="{{IMGURL}}image/cube/img2-text3.png?v={{img_version}}"></image> <image class="img2-text img2-text3" webp src="{{IMGURL}}image/cube/img2-text3.png?v={{img_version}}"></image>
<view class="box-video cube-video1"> <view class="box-video cube-video1">
<video poster="{{IMGURL}}image/cube/arrival-img.png?v={{img_version}}" src="{{IMGURL}}image/cube/arrival.mp4?v={{img_version}}"></video> <video poster="{{IMGURL}}image/cube/arrival-img.png?v={{img_version}}" src="{{IMGURL}}image/cube/arrival.mp4?v={{img_version}}"></video>
</view> </view>
......
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
width: 614rpx; width: 614rpx;
} }
.cute-text1 { .cute-text1 {
height: 312rpx; width: 606rpx;
height: 284rpx;
top: 128rpx; top: 128rpx;
} }
.cute-text2 { .cute-text2 {
......
...@@ -65,43 +65,43 @@ const trackData = { ...@@ -65,43 +65,43 @@ const trackData = {
// }, // },
EQUITYCARD: { EQUITYCARD: {
pageKey: 6, pageKey: 6,
pageName: "新车洽谈场景-数字无忧权益卡", pageName: "数字无忧权益卡",
}, },
SOLARFILM: { SOLARFILM: {
pageKey: 7, pageKey: 7,
pageName: "新车交付场景-汽车太阳膜", pageName: "汽车太阳膜",
}, },
CHANGEFILM: { CHANGEFILM: {
pageKey: 8, pageKey: 8,
pageName: "0-12个月-改色膜", pageName: "改色膜",
}, },
PAINTPROTECT: { PAINTPROTECT: {
pageKey: 9, pageKey: 9,
pageName: "0-12个月-漆面保护膜", pageName: "漆面保护膜",
}, },
CARBEAUTY: { CARBEAUTY: {
pageKey: 10, pageKey: 10,
pageName: "12个月以上-数字化美容", pageName: "数字化美容",
}, },
SEATVENTILATE: { SEATVENTILATE: {
pageKey: 11, pageKey: 11,
pageName: "12个月以上-座椅通风", pageName: "座椅通风",
}, },
ARNAVIGATION: { ARNAVIGATION: {
pageKey: 12, pageKey: 12,
pageName: "12个月以上-AR导航", pageName: "AR导航",
}, },
LIGHT: { LIGHT: {
pageKey: 13, pageKey: 13,
pageName: "12个月以上-氛围灯", pageName: "氛围灯",
}, },
NAVIGATIONARROUND: { NAVIGATIONARROUND: {
pageKey: 14, pageKey: 14,
pageName: "12个月以上-360全景导航", pageName: "360全景导航",
}, },
LOSSPGASE: { LOSSPGASE: {
pageKey: 15, pageKey: 15,
pageName: "3年以上-新能源0元换购", pageName: "新能源0元换购",
}, },
NEWENERGY: { NEWENERGY: {
pageKey: 16, pageKey: 16,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!