Commit 055c6fb0 by 李伟康

commit 提交

1 parent c0d74c52
......@@ -5,6 +5,9 @@
.icon-avatar { width: 96rpx; height: 96rpx; background-position: -635rpx -726rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -333rpx -853rpx;}
.icon-bao { width: 196rpx; height: 220rpx; background-position: -830rpx -382rpx;}
.icon-boutique-config-0 { width: 44rpx; height: 44rpx; background-position: -765rpx -621rpx;}
.icon-boutique-config-1 { width: 44rpx; height: 44rpx; background-position: -476rpx -853rpx;}
.icon-boutique-config-2 { width: 44rpx; height: 44rpx; background-position: -535rpx -853rpx;}
.icon-byd { width: 184rpx; height: 36rpx; background-position: -1041rpx -557rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -1212rpx -617rpx;}
.icon-clone { width: 24rpx; height: 24rpx; background-position: -1285rpx -668rpx;}
......@@ -52,7 +55,4 @@
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -154rpx -964rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -229rpx -964rpx;}
.icon-total { width: 32rpx; height: 32rpx; background-position: -688rpx -853rpx;}
.icon-visible { width: 40rpx; height: 40rpx; background-position: -995rpx -668rpx;}
.icon-boutique-config-0 { width: 44rpx; height: 44rpx; background-position: -765rpx -621rpx;}
.icon-boutique-config-1 { width: 44rpx; height: 44rpx; background-position: -476rpx -853rpx;}
.icon-boutique-config-2 { width: 44rpx; height: 44rpx; background-position: -535rpx -853rpx;}
\ No newline at end of file
.icon-visible { width: 40rpx; height: 40rpx; background-position: -995rpx -668rpx;}
\ No newline at end of file
......@@ -81,6 +81,7 @@
:popupW="704"
content="直接点击素材可进行预览,若面向车主展示,请点击「开始接待」"
confirmBtnText="预览素材"
@cancel="$emit('previewCancel')"
></MessageBox>
<!-- 停留弹框 -->
<MessageBox
......
......@@ -78,7 +78,7 @@ export default {
list: [],
popupShow:false,
isSearch:false,
videoSrc: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4',
videoSrc: '',
}
},
props: {
......
......@@ -2,7 +2,7 @@
<view class="layout">
<view class="title">
<view class="sprite-icon icon-aito"></view>
<view class="text">问界·精品加装服务说明</view>
<view class="text">{{tabId}}-{{currentCar}}</view>
</view>
<view
class="form-box"
......@@ -173,7 +173,9 @@ export default {
views: Array,
customerType: Number,
show: Boolean,
madiaId: Number
madiaId: Number,
tabId: Number,
currentCar: String
},
data () {
return {
......@@ -485,9 +487,9 @@ export default {
top: 0;
width: 100vw;
height: 100vh;
background-image: url("@/assets/images/boutique/reception-bg.webp");
background-image: url('@/assets/images/boutique/reception-bg.webp');
background-size: 100% 100%;
content: "";
content: '';
z-index: -1;
}
.title {
......@@ -559,7 +561,7 @@ export default {
top: -2rpx;
width: calc(100% + 4rpx);
height: calc(100% + 4rpx);
content: "";
content: '';
background-image: linear-gradient(#2f6af7, #75bcff);
box-shadow: 0 0 0 8rpx #2c66f71a;
border-radius: 16rpx;
......
......@@ -35,6 +35,8 @@
@jumpPage="jumpPage"
:show="id == item.id"
@reception="reception"
:tabId="tabId"
:currentCar="currentCar"
/>
</view>
</template>
......@@ -84,7 +86,9 @@ export default {
default: "preview",
},
customerType: Number,
toolList: Array
toolList: Array,
tabId: Number,
currentCar: String
},
data () {
return {
......
......@@ -9,6 +9,7 @@
@changeTab="changeTab"
finishDoneText="下一步"
finishContene="当前操作是为强制退出接待,若完成客户接待请点击下一步。"
@previewCancel="cancel"
>
<template slot="module">
<view class="module-box">
......@@ -54,6 +55,7 @@
<swiper-item
:key="index"
:class="['swiper-item flex',carClass(index)]"
@click.prevent="toDetail({id:1,tabId:1})"
>
<image
:src="item.url"
......@@ -65,6 +67,7 @@
<view
:class="['config-item',i.class]"
:key="ind"
@click.stop="toDetail({id:1,tabId:i.tabId})"
>
<view class="config-dots"></view>
<view class="config-name flex">
......@@ -95,6 +98,8 @@
ref="detail"
:customerType.sync="customerType"
@reception="reception"
:tabId.sync="tabId"
:currentCar="currentCar"
/>
</template>
<template slot="content">
......@@ -120,11 +125,12 @@ export default {
data () {
return {
moduleList: [],
toolList:[],
toolList: [],
chooseItem: {},
id: '',
type: '',
customerType: -1,
tabId: 1,
recording: false,
carBannerList: [{
title: 'M5',
......@@ -136,23 +142,27 @@ export default {
title: 'M9',
url: m9
}],
currentCar: 'M7',
currentIndex: 0,
bannerAutoplay: false,
bannerAutoplay: true,
carConfigList: [
{
name: '套餐火爆热卖',
icon: 'boutique-config-0',
class: 'config-0'
class: 'config-0',
tabId: 1
},
{
name: '膜类专区',
icon: 'boutique-config-1',
class: 'config-1'
class: 'config-1',
tabId: 2
},
{
name: '精品系列',
icon: 'boutique-config-2',
class: 'config-2'
class: 'config-2',
tabId: 3
}
]
}
......@@ -227,14 +237,18 @@ export default {
toDetail (item) {
this.chooseItem = item
this.$refs.home.previewRef.open();
this.bannerAutoplay = false
},
cancel () {
this.$refs.home.previewRef.close();
this.bannerAutoplay = true
},
preview () {
let { id } = this.chooseItem;
let { id, tabId } = this.chooseItem;
this.type = "preview";
this.id = id;
this.tabId = tabId
this.currentCar = this.carBannerList[this.currentIndex].title
this.cancel()
},
back () {
......@@ -247,6 +261,8 @@ export default {
this.$refs.home.finishRef.close();
this.id = "";
this.type = "";
this.currentCar = this.carBannerList[1].title
this.bannerAutoplay = true
this.customerType = -1
this.clearHistory();
this.init();
......@@ -270,6 +286,8 @@ export default {
},
jumpPage (id) {
this.id = id ? id : this.moduleList[0].id
this.tabId = 1
this.currentCar = this.carBannerList[1].title
this.type = "edit"
},
clearHistory () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!