Commit 055c6fb0 by 李伟康

commit 提交

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