Commit fe950f7e by 前端

Merge branch 'v2.10.2' into 'master'

V2.10.2

See merge request !3
2 parents 29b85e4c a044d625
Showing 63 changed files with 3281 additions and 36 deletions
......@@ -39,7 +39,7 @@ const domain = {
ip: "http://192.168.3.181:8394",
dev: "https://scrm.dev.glsx.com.cn",
uat: "https://scrm.test.glsx.com.cn",
beta: "http://scrm.beta.glsx.com.cn",
beta: "https://scrm.beta.glsx.com.cn",
prod: "https://scrm.glsx.com.cn",
}[target[index]];
......
......@@ -45,6 +45,7 @@ App({
_this.getScene(wx.$trackData.scene).then(res => {
wx.$trackData.merchant = res.merchantId
wx.$trackData.cardId = res.cardId
util.setStorageSync('scene', res)
const systemInfo = JSON.parse(wx.getStorageSync('aicard_system_info'))
wx.$trackData.type = systemInfo.environment ? 2 : 1
wx.$Track.sendTrack(trackData.COMPANY, openId)
......
......@@ -6,7 +6,18 @@
"pages/applySuccess/applySuccess",
"pages/tab/introduction/introduction",
"pages/addTransform/addTransform/addTransform",
"pages/addTransform/addTransformDetail/addTransformDetail"
"pages/addTransform/addTransformDetail/addTransformDetail",
"pages/addValue/addValue/addValue",
"pages/productDetail/ambientLighting/ambientLighting",
"pages/productDetail/arNavigation/arNavigation",
"pages/productDetail/carBeauty/carBeauty",
"pages/productDetail/changingFilm/changingFilm",
"pages/productDetail/equity/equity",
"pages/productDetail/lossPhase/lossPhase",
"pages/productDetail/navigationArround/navigationArround",
"pages/productDetail/paintProtect/paintProtect",
"pages/productDetail/seatVentilate/seatVentilate",
"pages/productDetail/solarFilm/solarFilm"
],
"window": {
"backgroundTextStyle": "light",
......
......@@ -7,4 +7,23 @@
.isFullSucreen {
padding-bottom: constant(safe-area-inset-bottom) !important;
padding-bottom: env(safe-area-inset-bottom) !important;
}
image {
vertical-align: top;
}
.default-img {
width: 100%;
}
.box-bg {
width: 750rpx;
height: 100vh;
background-image: linear-gradient(179deg, #1F1B85 0%, #2D29A9 89%, #505CFF 100%);
overflow: auto;
}
.box-content {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
\ No newline at end of file
......@@ -26,7 +26,7 @@ Component({
) {
return;
} else {
wx.$util.showLoading('正在授权...')
// wx.$util.showLoading('正在授权...')
}
// this.triggerEvent("updatePhoneNumber", '18873336682');
getApp()
......@@ -34,7 +34,7 @@ Component({
.then(({ data }) => {
delete detail.errMsg;
if (detail.iv && detail.encryptedData) {
// wx.$util.showLoading('正在授权...')
wx.$util.showLoading('正在授权...')
ssoApi.authUserPhone(detail).then(({ data, code, message }) => {
wx.hideLoading()
if (code==0) {
......
......@@ -7,13 +7,14 @@
.user-info {
height: 416rpx;
padding: 40rpx 52rpx;
box-shadow: 0 12rpx 32rpx 0 rgba(147, 160, 194, .35);
border-radius: 16rpx;
box-sizing: border-box;
}
.user-box {
position: relative;
z-index: 1;
border-radius: 16rpx;
box-shadow: 0 12rpx 32rpx 0 rgba(147, 160, 194, .35);
}
.user-bg {
position: absolute;
......@@ -24,6 +25,7 @@
width: 100%;
height: 416rpx;
z-index: -1;
border-radius: 16rpx;
}
.user-company {
display: flex;
......
// components/shareBtn/shareBtn.js
import { componentsMixin } from "../../mixins/index";
Component({
behaviors: [componentsMixin],
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<!--components/shareBtn/shareBtn.wxml-->
<button class="btn-share" open-type="share">
<image class="btn-icon" mode="widthFix" webp src="{{IMGURL}}image/productDetail/equity/share.png?v={{img_version}}" />
<text>分享此页面</text>
</button>
\ No newline at end of file
/* components/shareBtn/shareBtn.wxss */
.btn-icon {
width: 40rpx;
height: 40rpx;
margin-right: 16rpx;
}
.btn-share {
display: flex;
justify-content: center;
align-items: center;
height: 72rpx;
line-height: 72rpx;
font-size: 28rpx;
color: #FFFFFF;
background: #5850FF;
background-image: linear-gradient(180deg, #4791FF 0%, #5850FF 100%, #643DFF 100%);
border-radius: 8rpx;
margin: 0 48rpx;
}
\ No newline at end of file
......@@ -13,11 +13,12 @@ module.exports = Behavior({
const curIntroduceIndex = e.currentTarget.dataset.index;
switch(curIntroduceIndex) {
case 3:
wx.$router.go('addValue');
// wx.$router.go('addTransform', {notIntercept: true});
wx.showToast({
title: '敬请期待',
icon: 'none'
})
// wx.showToast({
// title: '敬请期待',
// icon: 'none'
// })
// wx.$Track.sendTrack(trackData.DIJIA)
break
default:
......
// pages/addValue/addValue/addValue.js
import Util from "../../../utils/util";
import pageData from "../constant/data";
Page({
/**
* 页面的初始数据
*/
data: {
visible: false,
tabList: pageData.tabList,
tabActive: 0,
typeObj: {
service: {
name: "服务类",
class: "service-color",
},
membrane: {
name: "膜类",
class: "membrane-color",
},
beauty: {
name: "美容类",
class: "beauty-color",
},
light: {
name: "轻改类",
class: "light-color",
},
},
formData: {
sales: 100,
flow: 100,
},
productList: [],
isReset: false,
hasPhoneNumber: false,
lastFormData: {
sales: 100,
flow: 100,
},
isFirst: true
},
// tab切换
tabChange(e) {
console.log(e);
const index = e.currentTarget.dataset.index;
this.setData({
tabActive: index,
showPlay: false
})
this.showCase()
},
// 提交测算
submit(e) {
console.log(e);
let sales = e ? +e.detail.value.sales : this.data.formData.sales
let flow = e ? +e.detail.value.flow : this.data.formData.flow
const reg = /^[1-9]\d*$/
console.log(reg.test(sales), flow, '---')
if (!reg.test(sales)) {
wx.showToast({
title: '门店月平均新车销量应为正整数',
icon: 'none',
duration: 2000
})
return
}
if (!reg.test(flow)) {
wx.showToast({
title: '3年内售后存量用户应为正整数',
icon: 'none',
duration: 2000
})
return
}
this.setData({
'lastFormData.sales': sales,
'lastFormData.flow': flow
})
const _this = this;
this.data.tabList.forEach((item, index) => {
item.productList.forEach((i, lastIndex) => {
if (i.profit) {
let name = `tabList[${index}].productList[${lastIndex}].profit`;
let profit = _this.formula(i.productType, sales, flow);
console.log(name, profit)
this.setData({
[name]: profit,
});
}
});
});
this.setData({
visible: false
});
this.showCase()
if (!this.data.isFirst) {
wx.showToast({
title: '测算结果已在页面内同步展示',
icon: 'none',
duration: 2000
})
} else {
this.setData({
isFirst: false
})
}
},
// 计算公式,参数:productType
formula(productType, sales, flow) {
let profit = 0;
switch (productType) {
case "benefitCard":
// 数字无忧权益卡
profit = (sales * 0.5 * 2000 * 12).toFixed(0);
break;
case "sunMembrane":
// 汽车太阳膜
profit = (sales * 0.8 * 0.7 * 1500 * 12).toFixed(0);
break;
case "protectMembrane":
// 漆面保护膜
profit = (flow * 0.15 * 12000 * 12).toFixed(0);
break;
case "colorMembrane":
// 改色膜
profit = (flow * 0.05 * 5000 * 12).toFixed(0);
break;
case "digitBeauty":
// 数字化美容
profit = (sales * 0.2 * 300 * 12).toFixed(0);
break;
case "chair":
// 座椅通风
profit = (flow * 2580 * 0.9 * 0.01).toFixed(0);
break;
case "ar":
// AR导航
profit = (flow * 1680 * 0.9 * 0.015).toFixed(0);
break;
case "lamp":
// 氛围灯
profit = (flow * 2680 * 0.9 * 0.015).toFixed(0);
break;
case "navigation":
// 360全景导航
profit = (flow * 2880 * 0.9 * 0.015).toFixed(0);
break;
}
console.log(profit.length);
console.log(productType, sales, flow, profit);
if (profit.length > 8) {
return (profit / 10000).toFixed(0) + "万";
} else {
return profit;
}
},
reset() {
this.setData({
isReset: false,
formData: {
sales: 100,
flow: 100,
},
});
},
focus() {
this.setData({
isReset: true,
});
return false;
},
// 显示测算弹窗
showCalculate() {
this.setData({
visible: !this.data.visible,
isReset: false
});
},
clickDialog(e) {
console.log(e.changedTouches[0].clientY);
if (e.changedTouches[0].clientY < 352) {
this.setData({
visible: false,
isReset: false,
formData: this.data.lastFormData
});
}
},
// 跳转产品详情
goDetail(e) {
console.log(e.currentTarget.dataset.item, "===");
wx.$router.go(e.currentTarget.dataset.item);
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.submit()
this.showCase()
},
showCase() {
console.log(Util.getUserInfo())
if (Util.getUserInfo() && Util.getUserInfo().phone) {
this.setData({
hasPhoneNumber: true,
productList: this.data.tabList[this.data.tabActive].productList,
});
} else {
this.setData({
productList: this.data.tabList[this.data.tabActive].productList.slice(
0,
2
),
});
}
},
// 更新手机号
updatePhoneNumber(e) {
if (e.detail) {
this.setData({
hasPhoneNumber: true,
productList: this.data.tabList[this.data.tabActive].productList,
});
}
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {},
});
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/addValue/addValue/addValue.wxml-->
<page-meta page-style="overflow: {{visible ? 'hidden' : 'visible'}}" />
<view class="wrapper-banner">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/dijia/banner.png?v={{img_version}}"></image>
<view class="banner-title">我们的产品和服务</view>
<view class="banner-after"></view>
</view>
<view class="tab-list">
<block wx:for="{{tabList}}" wx:key="index" class="">
<view class="tab-item {{tabActive == index ? 'tab-active' : ''}}" data-index="{{index}}" bindtap="tabChange">
<image class="tab-img" webp src="{{IMGURL}}image/dijia/{{tabActive == index ? item.active : item.img}}.png?v={{img_version}}"></image>
<view class="tab-name {{tabActive == index ? 'name-active' : ''}}">{{item.name}}</view>
</view>
</block>
</view>
<!-- 阶段玩法 -->
<view class="tab-play">
<image mode="widthFix" class="default-img" lazy-load webp src="{{IMGURL}}image/dijia/{{tabList[tabActive].playImg}}.png?v={{img_version}}"></image>
<image class="play-img play-img1" lazy-load webp src="{{IMGURL}}image/dijia/{{tabList[tabActive].playImg}}-text1.png?v={{img_version}}"></image>
<image class="play-img play-img2" lazy-load webp src="{{IMGURL}}image/dijia/{{tabList[tabActive].playImg}}-text2.png?v={{img_version}}"></image>
<image class="play-img play-img3" lazy-load webp src="{{IMGURL}}image/dijia/{{tabList[tabActive].playImg}}-text3.png?v={{img_version}}"></image>
</view>
<!-- 特色产品 -->
<view class="product-box">
<view class="product-title">特色产品</view>
<view class="product-tips">一站式解决用户全生命周期各类产品需求</view>
<view class="product-list">
<block wx:for="{{productList}}" wx:key="ind">
<view class="product-item" bindtap="goDetail" data-item="{{item.path}}">
<image webp src="{{IMGURL}}image/dijia/{{item.img}}.png?v={{img_version}}"></image>
<view class="product-content">
<view class="product-type {{typeObj[item.type].class}}">{{typeObj[item.type].name}}</view>
<view class="product-name">{{item.proName}}</view>
<view class="product-price" wx:if="{{item.profit}}">
<view class="product-label">预估收益</view>
<view class="product-value price">¥{{item.profit}}</view>
</view>
<view class="product-price" wx:else>
<view class="product-disabled">暂无预估收益</view>
</view>
<view class="product-introduce">
{{item.profit ? '产品介绍' : '敬请期待'}}
<image wx:if="{{item.profit}}" class="icon-arrow" webp src="{{IMGURL}}image/dijia/icon-arrow.png?v={{img_version}}"></image>
</view>
</view>
</view>
</block>
</view>
<view wx:if="{{!hasPhoneNumber}}" class="understand-more">
<phone-number class="more-btn" bind:updatePhoneNumber="updatePhoneNumber"></phone-number>
</view>
</view>
<!-- 案例视频 -->
<block wx:if="{{hasPhoneNumber}}">
<view class="video-bg" wx:if="{{tabList[tabActive].videoList.length}}">
<view class="video-title">案例视频</view>
<view class="video-list">
<block wx:for="{{tabList[tabActive].videoList}}" wx:key="i">
<view class="video-item">
<!-- -->
<video poster="{{IMGURL}}video/{{item.posterUrl}}.png?v={{img_version}}" title="{{item.name}}" src="{{IMGURL}}video/{{item.videoUrl}}.mp4?v={{img_version}}"></video>
<view class="video-text">{{item.name}}</view>
</view>
</block>
<view class="video-tips">- 如需开通请咨询客服 -</view>
</view>
</view>
</block>
<!-- 测算按钮 -->
<view class="calculate" bindtap="showCalculate">
<image class="icon-calculate" webp src="{{IMGURL}}image/dijia/icon-calculate.png?v={{img_version}}"></image>
</view>
<!-- 测算弹窗 -->
<view class="dialog-wrapper" bindtap="clickDialog" hidden="{{!visible}}">
<view class="dialog-box">
<form bindsubmit="submit">
<view class="dialog-header">
<view hidden="{{isReset}}" class="header-btn btn-gray" bindtap="showCalculate">取消</view>
<view hidden="{{!isReset}}" class="header-btn btn-gray" bindtap="reset">重置</view>
<button class="header-btn btn-primary" form-type="submit">确定</button>
</view>
<view class="dialog-content">
<view class="dialog-title">输入您门店的基本情况</view>
<view class="dialog-form">
<view class="form-item">
<view class="form-label">门店月平均新车销量</view>
<input class="form-input" bindfocus="focus" maxlength="8" name="sales" value="{{formData.sales}}" type="number" />
<!-- <view class="form-unit">台</view> -->
</view>
<view class="form-item">
<view class="form-label">3年内售后存量用户</view>
<input class="form-input" bindfocus="focus" maxlength="8" name="flow" type="number" value="{{formData.flow}}" />
<!-- <view class="form-unit">人</view> -->
</view>
<button class="dialog-btn" form-type="submit">提交测算</button>
</view>
</view>
</form>
</view>
</view>
\ No newline at end of file
/* pages/addValue/addValue/addValue.wxss */
/* tab样式 */
.img {
width: 100%;
}
.wrapper-banner {
position: relative;
}
.banner-title {
position: absolute;
top: 64rpx;
text-align: center;
width: 100%;
font-size: 48rpx;
color: #ffffff;
line-height: 64rpx;
}
.banner-after {
position: absolute;
top: 152rpx;
left: 50%;
transform: translateX(-50%);
background-color: #D8D8D8;
width: 48rpx;
height: 4rpx;
}
.tab-list {
display: flex;
font-size: 0;
}
.tab-item {
width: 25%;
text-align: center;
padding: 20rpx 0;
font-size: 0;
height: 144rpx;
box-sizing: border-box;
}
.tab-active {
position: relative;
}
.tab-active {
background-color: #5850FF;
}
.tab-active::after {
content: '';
display: inline-block;
width: 0;
height: 0;
position: absolute;
top: 144rpx;
left: 50%;
transform: translateX(-50%);
border: 16rpx solid;
border-color: #5850FF transparent transparent transparent;
z-index: 1;
}
.tab-img {
width: 56rpx;
height: 56rpx;
}
.tab-name {
font-size: 28rpx;
color: #6E6E7A;
line-height: 44rpx;
margin-top: 4rpx;
}
.name-active {
color: #fff;
font-weight: 500;
}
/* 阶段玩法样式 */
.tab-play {
position: relative;
padding: 44rpx 24rpx 112rpx;
width: clac(100% - 48rpx);
height: 1236rpx;
background: #2D28A8;
background-image: linear-gradient(180deg, #2D28A8 0%, #201F38 100%);
}
.play-img {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 606rpx
}
.play-img1 {
height: 240rpx;
top: 292rpx;
}
.play-img2 {
height: 424rpx;
top: 548rpx;
}
.play-img3 {
height: 244rpx;
top: 988rpx;
}
/* 特色产品 */
.product-box {
position: relative;
width: 100%;
background-color: #fff;
/* height: 500rpx; */
}
.product-title {
position: relative;
font-size: 48rpx;
color: #2D2D33;
line-height: 64rpx;
text-align: center;
letter-spacing: 0;
padding: 96rpx 0 28rpx;
font-weight: 900;
}
.product-title::after {
content: '';
display: block;
width: 48rpx;
height: 4rpx;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
background-color: #5850FF;
}
.product-tips {
margin-top: 32rpx;
text-align: center;
font-size: 28rpx;
color: #9E9EA8;
}
.product-list {
display: flex;
flex-wrap: wrap;
padding: 64rpx 32rpx 128rpx;
width: 100%;
box-sizing: border-box;
}
.product-item {
width: calc(50% - 12rpx);
/* height: 536rpx; */
background-color: #FAFAFA;
box-shadow: 0 8rpx 20rpx 0 rgba(180,186,204,0.32);
border-radius: 16rpx;
margin-bottom: 32rpx;
box-sizing: border-box;
}
.product-item:nth-child(even) {
margin-left: 22rpx;
}
.product-item image {
width: 100%;
height: 200rpx;
}
.product-content {
padding: 32rpx 24rpx;
}
.product-type {
display: inline-block;
/* background-color: #EAE9FF; */
border-radius: 4rpx;
font-weight: 500;
font-size: 24rpx;
/* color: #5851FF; */
padding: 4rpx 16rpx;
}
.beauty-color {
background-color: #EAE9FF;
color: #5851FF;
}
.light-color {
background-color: #D7F5E5;
color: #21AB60;
}
.service-color {
background-color: #FFE7CD;
color: #EF971E;
}
.membrane-color {
background-color: #E3ECFF;
color: #4E87FB;
}
.product-name {
font-weight: 500;
font-size: 32rpx;
color: #2D2D33;
line-height: 40rpx;
margin-top: 24rpx;
margin-bottom: 32rpx;
}
.product-price {
display: flex;
font-size: 24rpx;
color: #6E6E7A;
line-height: 40rpx;
}
.product-price:first-child {
margin-top: 8rpx;
}
.product-value {
color: #333333;
margin-left: 16rpx;
flex: 1;
}
.product-label {
width: 96rpx;
}
.price {
font-weight: Bold;
font-size: 28rpx;
color: #5850FF;
}
.product-introduce {
display: flex;
align-items: center;
margin-top: 24rpx;
font-size: 24rpx;
color: #9E9EA8;
line-height: 40rpx;
}
.product-introduce .icon-arrow {
width: 32rpx;
height: 32rpx;
}
.product-disabled {
color: #9E9EA8;
font-size: 24rpx;
}
/* 案例视频 */
.video-bg {
width: 100%;
/* height: 500rpx; */
background-color: #201F38;
}
.video-title {
position: relative;
padding: 96rpx 0 24rpx;
text-align: center;
font-size: 48rpx;
font-weight: 900;
color: #FFFFFF;
letter-spacing: 0;
line-height: 64rpx;
}
.video-title::after {
content: '';
display: block;
width: 48rpx;
height: 4rpx;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
background-color: #ffffff;
}
.video-list {
display: flex;
flex-wrap: wrap;
padding: 80rpx 32rpx;
font-size: 0;
}
.video-item {
width: calc(50% - 12rpx);
margin-bottom: 80rpx;
}
.video-item video {
width: 100%;
height: 588rpx;
}
.video-item:nth-child(even) {
margin-left: 22rpx;
}
.video-text {
font-size: 32rpx;
color: #FFFFFF;
line-height: 48rpx;
margin-top: 24rpx;
}
.video-tips {
width: 100%;
text-align: center;
font-size: 28rpx;
color: rgba(255,255,255,.6);
padding: 16rpx 0 92rpx;
}
/* 测算 */
.calculate {
position: fixed;
right: 16rpx;
bottom: 160rpx;
}
.icon-calculate {
width: 216rpx;
height: 228rpx;
}
/* 测算弹窗 */
.dialog-wrapper {
position: fixed;
height: 100vh;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(45,45,51,0.50);
}
.dialog-box {
position: fixed;
bottom: 0;
width: 100%;
height: 744rpx;
background-color: #fff;
box-shadow: 0 -8rpx 20rpx 0 rgba(180,186,204,0.32);
border-radius: 32rpx 32rpx 0 0;
}
.dialog-header {
display: flex;
justify-content: space-between;
padding: 32rpx 48rpx;
border-bottom: 1rpx solid #eee;
}
.header-btn {
display: inline-block;
font-size: 32rpx;
line-height: 48rpx;
}
.btn-gray {
color: #6C737A;
}
.btn-primary {
background-color: #fff;
border: none;
margin: 0;
padding: 0;
font-weight: 500;
color: #5850FF;
}
.btn-primary::after {
border: none;
}
.dialog-content {
padding: 40rpx 24rpx 60rpx;
}
.dialog-title {
font-weight: 600;
font-size: 36rpx;
color: #333333;
letter-spacing: 0;
text-align: center;
line-height: 56rpx;
margin-bottom: 24rpx;
}
.dialog-form {
width: 100%;
height: 384rpx;
background-image: linear-gradient(179deg, rgba(123,112,255,0.02) 15%, rgba(99,92,255,0.10) 100%);
border-radius: 8rpx;
padding: 32rpx;
box-sizing: border-box;
}
.form-item {
display: flex;
align-items: center;
height: 80rpx;
margin-bottom: 24rpx;
justify-content: space-between;
}
.form-label {
width: 256rpx;
font-size: 28rpx;
color: #2D2D33;
}
.form-input {
width: 216rpx;
padding: 16rpx 20rpx;
border: 2rpx solid #E6E6E6;
border-radius: 4rpx;
margin-left: 64rpx;
margin-right: 16rpx;
}
.form-unit {
font-size: 28rpx;
color: #6E6E7A;
}
.dialog-btn {
width: 100%;
padding: 24rpx 0;
box-sizing: border-box;
background: #5850FF;
border-radius: 8rpx;
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
letter-spacing: 0.8rpx;
text-align: center;
line-height: 48rpx;
margin-top: 40rpx;
}
/* 了解更多 */
.understand-more {
position: absolute;
bottom: 0;
width: 100%;
height: 700rpx;
background-image: linear-gradient(180deg, rgba(255,255,255,0.00) 0%, #FFFFFF 68%);
border-radius: 0 0 12rpx 12rpx;
}
.understand-more .more-btn {
width: 100%;
position: absolute;
bottom: 104rpx;
}
var tabList = [
{
name: '新车销售期',
img: 'icon-car1',
active: 'icon-car11',
playImg: 'img1',
productList: [
{
img: 'product-img1',
proName: '数字无忧权益卡',
price: '1500',
// profit: '92.4万',
profit: '9,999,999',
type: 'service',
productType: 'benefitCard',
path: 'equity'
},
{
img: 'product-img2',
proName: '汽车太阳膜',
price: '1500',
profit: '1008万',
type: 'membrane',
productType: 'sunMembrane',
path: 'solarFilm'
}
],
videoList: [
{
videoUrl: 'digital_card_30s',
posterUrl: 'digital_card_30s_bitmap',
name: '数字无忧卡服务30秒'
},
{
videoUrl: 'digital_card',
posterUrl: 'digital_card_bitmap',
name: '数字无忧卡服务'
},
{
videoUrl: 'digital_card_money3',
posterUrl: 'digital_card_money3_bitmap',
name: '数字无忧卡3道钱'
},
{
videoUrl: 'digital_card_reason6',
posterUrl: 'digital_card_reason6_bitmap',
name: '数字无忧卡6大理由'
},
{
videoUrl: 'solar',
posterUrl: 'solar_bitmap',
name: '太阳膜转化售中案例'
}
]
},
{
name: '0-12个月',
img: 'icon-car2',
active: 'icon-car21',
playImg: 'img2',
productList: [
{
img: 'product-img3',
proName: '漆面保护膜',
price: '12000',
profit: '216万',
type: 'membrane',
productType: 'protectMembrane',
path: 'paintProtect'
},
{
img: 'product-img4',
proName: '改色膜',
price: '5000',
profit: '30万',
type: 'membrane',
productType: 'colorMembrane',
path: 'changingFilm'
}
]
},
{
name: '12-36个月',
img: 'icon-car3',
active: 'icon-car31',
playImg: 'img3',
productList: [
{
img: 'product-img5',
proName: '数字化美容',
price: '300',
profit: '36万',
type: 'beauty',
productType: 'digitBeauty',
path: 'carBeauty'
},
{
img: 'product-img6',
proName: '座椅通风',
price: '1500',
profit: '1008万',
type: 'light',
productType: 'chair',
path: 'seatVentilate'
},
{
img: 'product-img7',
proName: 'AR导航',
price: '1680',
profit: '22.68万',
type: 'light',
productType: 'ar',
path: 'arNavigation'
},
{
img: 'product-img8',
proName: '氛围灯',
price: '2680',
profit: '36.18万',
type: 'light',
productType: 'lamp',
path: 'ambientLighting'
},
{
img: 'product-img9',
proName: '360全景导航',
price: '2880',
profit: '38.88万',
type: 'service',
productType: 'navigation',
path: 'navigationArround'
}
],
videoList: [
{
videoUrl: 'seat',
posterUrl: 'seat_bitmap',
name: '座椅通风系统'
},
{
videoUrl: 'AR',
posterUrl: 'AR_bitmap',
name: '单品AR导航'
},
{
videoUrl: 'light',
posterUrl: 'light_bitmap',
name: '单品类氛围灯'
},
{
videoUrl: '360_AR',
posterUrl: '360_AR_bitmap',
name: '360全景导航'
}
]
},
{
name: '36个月以上',
img: 'icon-car4',
active: 'icon-car41',
playImg: 'img4',
productList: [
{
img: 'product-img10',
proName: '数字化美容',
price: '300',
profit: '36万',
type: 'beauty',
productType: 'digitBeauty',
path: 'lossPhase'
},
{
img: 'product-img11',
proName: '车险续保',
price: '2500',
profit: '',
type: 'service'
},
{
img: 'product-img12',
proName: '金融车贷',
price: '200000',
profit: '',
type: 'service'
}
]
}
]
var tabList1 = [
{
name: '新车交付',
img: 'icon-car1',
active: 'icon-car11',
playImg: 'img1',
productList: [
{
img: 'product-img1',
proName: '数字无忧权益卡',
price: '1500',
// profit: '92.4万',
profit: '99999999万',
type: 'service',
productType: 'benefitCard'
},
{
img: 'product-img2',
proName: '汽车太阳膜',
price: '1500',
profit: '1008万',
type: 'membrane',
productType: 'sunMembrane'
}
]
},
{
name: '0-12个月',
img: 'icon-car2',
active: 'icon-car21',
playImg: 'img2',
productList: [
{
img: 'product-img3',
proName: '漆面保护膜',
price: '12000',
profit: '216万',
type: 'membrane',
productType: 'protectMembrane'
},
{
img: 'product-img4',
proName: '改色膜',
price: '5000',
profit: '30万',
type: 'membrane',
productType: 'colorMembrane'
}
]
},
{
name: '12-36个月',
img: 'icon-car3',
active: 'icon-car31',
playImg: 'img3',
productList: [
{
img: 'product-img5',
proName: '数字化美容',
price: '300',
profit: '36万',
type: 'beauty',
productType: 'digitBeauty'
},
{
img: 'product-img6',
proName: '座椅通风',
price: '1500',
profit: '1008万',
type: 'light',
productType: 'chair'
}
]
},
{
name: '36个月以上',
img: 'icon-car4',
active: 'icon-car41',
playImg: 'img4',
productList: [
{
img: 'product-img10',
proName: '数字化美容',
price: '300',
profit: '36万',
type: 'beauty',
productType: 'digitBeauty'
},
{
img: 'product-img11',
proName: '车险续保',
price: '2500',
profit: '',
type: 'service'
}
]
}
]
export default {
tabList
}
\ No newline at end of file
// pages/productDetail/ambientLighting/ambientLighting.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.LIGHT)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.LIGHT.pageName,
path: 'pages/productDetail/ambientLighting/ambientLighting?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "氛围灯"
}
\ No newline at end of file
<!--氛围灯-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative bg_img">
<image mode="widthFix" class="img bg_img" webp src="{{IMGURL}}image/productDetail/ambientLighting/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/ambientLighting/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/ambientLighting/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/ambientLighting/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/ambientLighting/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/ambientLighting/lighe_product.png?v={{img_version}}"></image>
<view class="box-video light-video1">
<video poster="{{IMGURL}}video/light_bitmap.png?v={{img_version}}" title="单品类氛围灯" custom-cache="{{false}}" src="{{IMGURL}}video/light.mp4?v={{img_version}}"></video>
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/ambientLighting/light_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/ambientLighting/ambientLighting.wxss */
.img {
width: 702rpx;
}
.bg_img {
width: 702rpx;
height: 1632rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 1092rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 1092rpx;
border-radius: 16rpx;
}
.light-video1 {
top: 204rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/arNavigation/arNavigation.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.ARNAVIGATION)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.ARNAVIGATION.pageName,
path: 'pages/productDetail/arNavigation/arNavigation?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "AR导航"
}
\ No newline at end of file
<!--AR导航-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative bg_img">
<image mode="widthFix" class="bg_img" webp src="{{IMGURL}}image/productDetail/AR-navigation/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/AR-navigation/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/AR-navigation/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/AR-navigation/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/AR-navigation/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/AR-navigation/AR_product.png?v={{img_version}}"></image>
<view class="box-video navigation-video1">
<video poster="{{IMGURL}}video/AR_bitmap.png?v={{img_version}}" title="单品AR导航" custom-cache="{{false}}" src="{{IMGURL}}video/AR.mp4?v={{img_version}}"></video>
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/AR-navigation/AR_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/arNavigation/arNavigation.wxss */
.img {
width: 702rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img {
width: 702rpx;
height: 1632rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 1092rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 1092rpx;
border-radius: 16rpx;
}
.navigation-video1 {
top: 212rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/carBeauty/carBeauty.js
import { trackData } from "../../../utils/data";
import util from "../../../utils/util";
Page({
/**
* 页面的初始数据
*/
data: {},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.CARBEAUTY);
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.CARBEAUTY.pageName,
path:
"pages/productDetail/carBeauty/carBeauty?cardId=" +
util.getStorageSync("scene").cardId,
};
},
});
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "数字化美容"
}
\ No newline at end of file
<!--数字化美容-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative bg_img">
<image mode="widthFix" class="bg_img" webp src="{{IMGURL}}image/productDetail/carBeauty/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/carBeauty/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/carBeauty/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/carBeauty/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/carBeauty/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/carBeauty/beauty_product.png?v={{img_version}}"></image>
<view class="box-video beauty-video1">
<!-- <image mode="widthFix" class="video_img" webp src="{{IMGURL}}image/productDetail/carBeauty/beauty_bitmap.png?v={{img_version}}"></image> -->
<!-- <video poster="{{IMGURL}}image/productDetail/carBeauty/beauty_bitmap.png?v={{img_version}}" src="{{IMGURL}}video/light.mp4?v={{img_version}}"></video> -->
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/carBeauty/beauty_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/carBeauty/carBeauty.wxss */
.img {
width: 702rpx;
}
.bg_img {
width: 702rpx;
height: 1672rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 344rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.video_img {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.beauty-video1 {
top: 214rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/changingFilm/changingFilm.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.CHANGEFILM)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.CHANGEFILM.pageName,
path: 'pages/productDetail/changingFilm/changingFilm?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "改色膜"
}
\ No newline at end of file
<!--改色膜-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="play_bg" webp src="{{IMGURL}}image/productDetail/changingFilm/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/changingFilm/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/changingFilm/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/changingFilm/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/changingFilm/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<image mode="widthFix" style="margin-top: 66rpx;" class="img" webp src="{{IMGURL}}image/productDetail/changingFilm/changing_product.png?v={{img_version}}"></image>
<!-- <view style="margin-top: 56rpx;">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/changingFilm/changing_product.png?v={{img_version}}"></image>
<view class="box-video beauty-video1">
<image mode="widthFix" class="video_img" webp src="{{IMGURL}}image/productDetail/changingFilm/changing_bitmap.png?v={{img_version}}"></image>
<video poster="{{IMGURL}}image/productDetail/changingFilm/changing_bitmap.png?v={{img_version}}" src="{{IMGURL}}video/light.mp4?v={{img_version}}"></video>
</view>
</view> -->
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/changingFilm/changing_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/changingFilm/changingFilm.wxss */
.img {
width: 702rpx;
}
.play_bg {
width: 702rpx;
height: 1672rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 344rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.video_img {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.beauty-video1 {
top: 232rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/equity/equity.js
import {
trackData
} from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.EQUITYCARD)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.EQUITYCARD.pageName,
path: 'pages/productDetail/equity/equity?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "数字无忧权益卡"
}
\ No newline at end of file
<!-- 无忧权益卡 -->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="img play_bg" webp src="{{IMGURL}}image/productDetail/equity/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/equity/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/equity/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/equity/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/equity/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/equity/product_instra.png?v={{img_version}}"></image>
<view class="box-video equity-video1">
<view class="video-product">
<video poster="{{IMGURL}}video/digital_card_30s_bitmap.png?v={{img_version}}" title="数字无忧卡服务30秒" custom-cache="{{false}}" src="{{IMGURL}}video/digital_card_30s.mp4?v={{img_version}}"></video>
</view>
<view class="video-product">
<video poster="{{IMGURL}}video/digital_card_money3_bitmap.png?v={{img_version}}" title="数字无忧卡3道钱" custom-cache="{{false}}" src="{{IMGURL}}video/digital_card_money3.mp4?v={{img_version}}"></video>
</view>
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/equity/income_caculate.png?v={{img_version}}"></image>
<!-- 产品特色 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/equity/product_feature.png?v={{img_version}}"></image>
<view class="box-video equity-video1">
<view class="video-product">
<video poster="{{IMGURL}}video/digital_card_bitmap.png?v={{img_version}}" title="数字无忧卡服务" custom-cache="{{false}}" src="{{IMGURL}}video/digital_card.mp4?v={{img_version}}"></video>
</view>
<view class="video-product">
<video poster="{{IMGURL}}video/digital_card_reason6_bitmap.png?v={{img_version}}" title="数字无忧卡6大理由" custom-cache="{{false}}" src="{{IMGURL}}video/digital_card_reason6.mp4?v={{img_version}}"></video>
</view>
</view>
</view>
<!-- 服务流程 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/equity/service_process.png?v={{img_version}}"></image>
<!-- 产品内容 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/equity/product_content.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/equity/equity.wxss */
.img {
width: 710rpx;
}
.play_bg {
width: 702rpx;
height: 1632rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 198rpx;
}
.bg_img2 {
top: 454rpx;
}
.bg_img3 {
top: 894rpx;
}
.bg_img4 {
top: 1154rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 620rpx;
display: flex;
justify-content: space-between;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.video-product {
width: 297rpx;
height: 525rpx;
border-radius: 16rpx;
}
.video-product video {
width: 296rpx;
height: 524rpx;
border-radius: 16rpx;
}
.equity-video1 {
top: 240rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/lossPhase/lossPhase.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.LOSSPGASE)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.LOSSPGASE.pageName,
path: 'pages/productDetail/lossPhase/lossPhase?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "流失期-数字化美容"
}
\ No newline at end of file
<!--流失期-数字化美容-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="img play_bg" webp src="{{IMGURL}}image/productDetail/lossPhase/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/lossPhase/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/lossPhase/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/lossPhase/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/lossPhase/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/lossPhase/loss_product.png?v={{img_version}}"></image>
<view class="box-video beauty-video1">
<image mode="widthFix" class="video_img" webp src="{{IMGURL}}image/productDetail/lossPhase/loss_bitmap.png?v={{img_version}}"></image>
<!-- <video poster="{{IMGURL}}image/productDetail/lossPhase/loss_bitmap.png?v={{img_version}}" src="{{IMGURL}}video/light.mp4?v={{img_version}}"></video> -->
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/lossPhase/loss_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/lossPhase/lossPhase.wxss */
.img {
width: 702rpx;
}
.play_bg {
width: 702rpx;
height: 1672rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 344rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.video_img {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.beauty-video1 {
top: 154rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/navigationArround/navigationArround.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.NAVIGATIONARROUND)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.NAVIGATIONARROUND.pageName,
path: 'pages/productDetail/navigationArround/navigationArround?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "360全景导航"
}
\ No newline at end of file
<!--360全景导航-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="img play_bg" webp src="{{IMGURL}}image/productDetail/navigation-360/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/navigation-360/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/navigation-360/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/navigation-360/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/navigation-360/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/navigation-360/product_introduce.png?v={{img_version}}"></image>
<view class="box-video navigation-video1">
<video poster="{{IMGURL}}video/360_AR_bitmap.png?v={{img_version}}" title="360全景导航" custom-cache="{{false}}" src="{{IMGURL}}video/360_AR.mp4?v={{img_version}}"></video>
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/navigation-360/income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/navigationArround/navigationArround.wxss */
.img {
width: 702rpx;
}
.play_bg {
width: 702rpx;
height: 1632rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 1092rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 1092rpx;
border-radius: 16rpx;
}
.navigation-video1 {
top: 204rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/paintProtect/paintProtect.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.PAINTPROTECT)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.PAINTPROTECT.pageName,
path: 'pages/productDetail/paintProtect/paintProtect?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "漆面保护膜"
}
\ No newline at end of file
<!--漆面保护膜-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="img play_bg" webp src="{{IMGURL}}image/productDetail/paintProtect/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/paintProtect/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/paintProtect/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/paintProtect/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/paintProtect/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/paintProtect/paint_product.png?v={{img_version}}"></image>
<view class="box-video beauty-video1">
<!-- <image mode="widthFix" class="video_img" webp src="{{IMGURL}}image/productDetail/paintProtect/paint_bitmap.png?v={{img_version}}"></image> -->
<!-- <video poster="{{IMGURL}}image/productDetail/paintProtect/paint_bitmap.png?v={{img_version}}" src="{{IMGURL}}video/light.mp4?v={{img_version}}"></video> -->
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/paintProtect/paint_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/paintProtect/paintProtect.wxss */
.img {
width: 702rpx;
}
.play_bg {
width: 702rpx;
height: 1672rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 344rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.video_img {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.beauty-video1 {
top: 204rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/seatVentilate/seatVentilate.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.SEATVENTILATE)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.SEATVENTILATE.pageName,
path: 'pages/productDetail/seatVentilate/seatVentilate?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "座椅通风系统"
}
\ No newline at end of file
<!--座椅通风-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="img play_bg" webp src="{{IMGURL}}image/productDetail/seatVentilate/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/seatVentilate/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/seatVentilate/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/seatVentilate/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/seatVentilate/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/seatVentilate/seat_product.png?v={{img_version}}"></image>
<view class="box-video seat-video1">
<video poster="{{IMGURL}}video/seat_bitmap.png?v={{img_version}}" title="座椅通风系统" custom-cache="{{false}}" src="{{IMGURL}}video/seat.mp4?v={{img_version}}"></video>
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/seatVentilate/seat_income.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/seatVentilate/seatVentilate.wxss */
.img {
width: 702rpx;
}
.play_bg {
width: 702rpx;
height: 1632rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 1092rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 1092rpx;
border-radius: 16rpx;
}
.seat-video1 {
top: 204rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
// pages/productDetail/solarFilm/solarFilm.js
import { trackData } from "../../../utils/data";
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
wx.$Track.sendTrack(trackData.SOLARFILM)
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.SOLARFILM.pageName,
path: 'pages/productDetail/solarFilm/solarFilm?cardId=' + util.getStorageSync('scene').cardId
}
}
})
\ No newline at end of file
{
"usingComponents": {
"share-btn": "../../../components/shareBtn/shareBtn"
},
"navigationBarTitleText": "汽车太阳膜"
}
\ No newline at end of file
<!--汽车太阳膜-->
<view class="box-bg box-relative">
<view class="box-content">
<!-- 阶段玩法 -->
<view class="box-relative play_bg">
<image mode="widthFix" class="img play_bg" webp src="{{IMGURL}}image/productDetail/solarFilm/play_bg.png?v={{img_version}}"></image>
<view class="bg_img1">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/solarFilm/play1.png?v={{img_version}}"></image>
</view>
<view class="bg_img2">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/solarFilm/play2.png?v={{img_version}}"></image>
</view>
<view class="bg_img3">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/solarFilm/play3.png?v={{img_version}}"></image>
</view>
<view class="bg_img4">
<image mode="widthFix" webp src="{{IMGURL}}image/productDetail/solarFilm/play4.png?v={{img_version}}"></image>
</view>
</view>
<!-- 产品介绍 -->
<view class="box-relative">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/solarFilm/solar_product.png?v={{img_version}}"></image>
<view class="box-video solar-video1">
<video poster="{{IMGURL}}video/solar_bitmap.png?v={{img_version}}" title="太阳膜转化售中案例" custom-cache="{{false}}" src="{{IMGURL}}video/solar.mp4?v={{img_version}}"></video>
</view>
</view>
<!-- 收益测算 -->
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/productDetail/solarFilm/solar_case.png?v={{img_version}}"></image>
</view>
</view>
<view class="btn-bottm">
<share-btn></share-btn>
</view>
\ No newline at end of file
/* pages/productDetail/solarFilm/solarFilm.wxss */
.img {
width: 702rpx;
}
.box-content image {
margin-bottom: 56rpx;
}
.box-content image:last-child {
margin-bottom: 110rpx;
}
.bg_img1,
.bg_img2,
.bg_img3,
.bg_img4 {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.bg_img1 {
top: 248rpx;
}
.bg_img2 {
top: 504rpx;
}
.bg_img3 {
top: 944rpx;
}
.bg_img4 {
top: 1204rpx;
}
.box-relative {
position: relative;
}
.box-video {
width: 616rpx;
height: 344rpx;
position: absolute;
left: 50%;
transform: translateX(-50%);
border-radius: 16rpx;
}
.box-video video {
width: 616rpx;
height: 344rpx;
border-radius: 16rpx;
}
.solar-video1 {
top: 240rpx;
}
.btn-bottm {
position: fixed;
bottom: 0;
width: 100%;
height: 112rpx;
background-color: #ffffff;
padding: 24rpx 48rpx 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #FFFFFF;
}
\ No newline at end of file
......@@ -203,8 +203,11 @@ Page({
*/
onShareAppMessage() {
return {
title: `您好,我向你推荐了广联数科的${this.data.cardInfo.staffName}的智能名片~`,
title: `您好,我向你推荐了广联数科${this.data.cardInfo.staffName}的智能名片~`,
imageUrl: this.data.shareImg,
path:
"pages/tab/index/index?cardId=" +
util.getStorageSync("scene").cardId,
};
},
setShareInfo(data = {}) {
......@@ -360,9 +363,11 @@ Page({
},
// 获取员工名片信息
getCardDetail() {
const sessionId = util.getSessionId();
let params = {};
params.cardId = wx.$trackData.cardId
console.log(util.getStorageSync('scene'), wx.$trackData.cardId)
const scene = util.getStorageSync('scene');
let params = {
cardId: wx.$trackData.cardId || scene.cardId
};
entmicroApi.getCardDetail(params).then(({data, code, message}) => {
if (code == -1) {
wx.showToast({
......
......@@ -13,11 +13,11 @@
<view class="tab-list">
<block wx:for="{{tabList}}" wx:key="index">
<view class="tab-item {{curTabIndex === index ? 'tab-item-active' : '' }} {{index === 3 ? 'tab-apply' : ''}}" data-name="{{item}}" data-index="{{index}}" bindtap="introduce">
<image wx:if="{{curTabIndex !== index}}" class="tab-img" mode="widthFix" webp src="{{IMGURL}}home/{{item.icon1}}.png"></image>
<image wx:else class="tab-img" mode="widthFix" webp src="{{IMGURL}}home/{{item.icon}}.png"></image>
<image wx:if="{{curTabIndex !== index}}" class="tab-img" mode="widthFix" webp src="{{IMGURL}}home/{{item.icon1}}.png?v={{img_version}}"></image>
<image wx:else class="tab-img" mode="widthFix" webp src="{{IMGURL}}home/{{item.icon}}.png?v={{img_version}}"></image>
<view class="tab-text">{{item.name}}</view>
<!-- 合作申请hot -->
<image wx:if="{{index === 3}}" class="icon-hot" webp src="{{IMGURL}}home/icon-hot.png"></image>
<image wx:if="{{index === 3}}" class="icon-hot" webp src="{{IMGURL}}home/icon-hot.png?v={{img_version}}"></image>
</view>
</block>
</view>
......@@ -43,6 +43,6 @@
<view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view>
<!-- 服务咨询 -->
<view bindtap="goConsult">
<image class="icon-consult" src="{{IMGURL}}home/custom.png"></image>
<image class="icon-consult" src="{{IMGURL}}home/custom.png?v={{img_version}}"></image>
</view>
</view>
\ No newline at end of file
<!-- 企微魔方 -->
<template name="cube">
<view class="p-b-20">
<image mode="widthFix" class="img" webp src="{{IMGURL}}image/cube/cube-img3.png?v={{img_version}}"></image>
<view class="cube-img1-box">
<image class="img cube-img1" webp src="{{IMGURL}}image/cube/cube-img3.png?v={{img_version}}"></image>
<image class="cute-text cute-text1" webp src="{{IMGURL}}image/cube/cute-text1.png?v={{img_version}}"></image>
<image class="cute-text cute-text2" webp src="{{IMGURL}}image/cube/cute-text2.png?v={{img_version}}"></image>
<image class="cute-text cute-text3" webp src="{{IMGURL}}image/cube/cute-text3.png?v={{img_version}}"></image>
<image class="cute-text cute-text4" webp src="{{IMGURL}}image/cube/cute-text4.png?v={{img_version}}"></image>
<image class="cute-text cute-text5" webp src="{{IMGURL}}image/cube/cute-text5.png?v={{img_version}}"></image>
</view>
<view wx:if="{{hasPhoneNumber}}">
<image mode="widthFix" lazy-load class="img m-t-64" src="{{IMGURL}}image/cube/cube-img1.png?v={{img_version}}"></image>
<view class="relative">
<image mode="widthFix" lazy-load class="img m-t-64" src="{{IMGURL}}image/cube/cube-img2.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;">
<image class="img m-t-64" style="height: 2772rpx;" 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-text2" 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>
<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>
</view>
......
......@@ -14,7 +14,42 @@
border-radius: 16rpx;
}
.cube-video1 {
top: 654rpx;
top: 610rpx;
}
.cube-img1 {
width: 710rpx;
height: 2700rpx;
}
.cube-img1-box {
position: relative;
width: 710rpx;
height: 2700rpx;
}
.cute-text {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 614rpx;
}
.cute-text1 {
height: 312rpx;
top: 128rpx;
}
.cute-text2 {
height: 260rpx;
top: 452rpx;
}
.cute-text3 {
height: 216rpx;
top: 736rpx;
}
.cute-text4 {
height: 216rpx;
top: 976rpx;
}
.cute-text5 {
height: 1380rpx;
top: 1272rpx;
}
.box-video video {
border-radius: 18rpx;
......@@ -22,8 +57,26 @@
height: 316rpx;
}
.cube-video2 {
bottom: 974rpx;
bottom: 1026rpx;
}
.cube-video3 {
bottom: 110rpx;
bottom: 138rpx;
}
.img2-text {
position: absolute;
width: 670rpx;
left: 50%;
transform: translateX(-50%);
}
.img2-text1 {
height: 852rpx;
top: 136rpx;
}
.img2-text2 {
height: 788rpx;
top: 1028rpx;
}
.img2-text3 {
height: 852rpx;
top: 1856rpx;
}
\ No newline at end of file
......@@ -43,11 +43,91 @@
{
"name": "",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3100",
"query": "scene=sceneId%3D3102",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/addValue/addValue/addValue",
"query": "scene=sceneId%3D3102",
"launchMode": "default",
"scene": null
},
{
"name": "数字无忧权益卡",
"pathName": "pages/productDetail/equity/equity",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "氛围灯",
"pathName": "pages/productDetail/ambientLighting/ambientLighting",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "AR导航",
"pathName": "pages/productDetail/arNavigation/arNavigation",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "数字化美容",
"pathName": "pages/productDetail/carBeauty/carBeauty",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "改色膜",
"pathName": "pages/productDetail/changingFilm/changingFilm",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "流失期",
"pathName": "pages/productDetail/lossPhase/lossPhase",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "360导航",
"pathName": "pages/productDetail/navigationArround/navigationArround",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "漆面保护",
"pathName": "pages/productDetail/paintProtect/paintProtect",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "座椅通风",
"pathName": "pages/productDetail/seatVentilate/seatVentilate",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "太阳膜",
"pathName": "pages/productDetail/solarFilm/solarFilm",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
},
"setting": {
"urlCheck": false
}
}
\ No newline at end of file
......@@ -55,6 +55,7 @@ class Router {
thisPage.setData({
IMGURL: wx.$imgUrl,
});
wx.hideHomeButton()
this.setNavigationBarTitleText(thisPage);
let onRoute = thisPage.onRoute;
thisPage.$query = this[_query];
......
const trackData = {
COMPANY: {
pageKey: 0,
pageName: '公司介绍'
pageName: "公司介绍",
},
VIDEO: {
pageKey: 1,
pageName: '视频直播'
pageName: "视频直播",
},
CUBE: {
pageKey: 2,
pageName: '企微魔方'
pageName: "企微魔方",
},
EQUITY: {
pageKey: 3,
pageName: '数字化权益'
pageName: "数字化权益",
},
CLUE: {
pageKey: 4,
pageName: '智能线索'
pageName: "智能线索",
},
DIJIA: {
pageKey: 5,
pageName: 'D+增值转化'
}
}
export {
trackData
}
\ No newline at end of file
pageName: "D+增值转化",
},
EQUITYCARD: {
pageKey: 6,
pageName: "数字无忧权益卡",
},
SOLARFILM: {
pageKey: 7,
pageName: "汽车太阳膜",
},
CHANGEFILM: {
pageKey: 8,
pageName: "改色膜",
},
PAINTPROTECT: {
pageKey: 9,
pageName: "漆面保护膜",
},
CARBEAUTY: {
pageKey: 10,
pageName: "热络期-数字化美容",
},
SEATVENTILATE: {
pageKey: 11,
pageName: "座椅通风系统",
},
ARNAVIGATION: {
pageKey: 12,
pageName: "AR导航",
},
LIGHT: {
pageKey: 13,
pageName: "氛围灯",
},
NAVIGATIONARROUND: {
pageKey: 14,
pageName: "360全景导航",
},
LOSSPGASE: {
pageKey: 15,
pageName: "流失期-数字化美容",
},
};
export { trackData };
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!