Commit f86860c2 by wuwx

修改第二轮BUG

1 parent 90e3fe7b
...@@ -84,7 +84,7 @@ const PROUDUCTS = [ ...@@ -84,7 +84,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: true, isUserNum: true,
introduct: '漆面膜通常也叫隐形车衣、透明保护膜等名称,是装贴于汽车漆面上的一层透明薄膜,用于保护原车漆面免受普通剐蹭划痕及紫外线照射、酸雨腐蚀等伤害。俗称隐形车衣,是一种高性能新型环保薄膜,爱车漆面最经济、快捷、有效的保护方法。核心价值:修复、抗污、 防腐蚀、防刮伤、疏水性', introduct: '漆面膜通常也叫隐形车衣、透明保护膜等名称,是装贴于汽车漆面上的一层透明薄膜,用于保护原车漆面免受普通剐蹭划痕及紫外线照射、酸雨腐蚀等伤害。俗称隐形车衣,是一种高性能新型环保薄膜,爱车漆面最经济、快捷、有效的保护方法。核心价值:修复、抗污、 防腐蚀、防刮伤、疏水性。',
images: [ images: [
`${imagBaseURL}漆面保护膜.png` `${imagBaseURL}漆面保护膜.png`
], ],
...@@ -103,7 +103,7 @@ const PROUDUCTS = [ ...@@ -103,7 +103,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: true, isUserNum: true,
introduct: '改色膜是贴于车身一张带颜色的薄膜,可实现无损情况下改变车身的颜色,目前市面上的改色膜颜色较为丰富,不同厂家颜色可达上百种,可解决车主的个性化需求。车身改色膜是用色系丰富,颜色多样的薄膜,以整体覆盖粘贴的方式改变全车或局部外观的服务。核心价值:高清画质、原车屏操作、智能语音、碰撞检测、循环录音、停车监控', introduct: '改色膜是贴于车身一张带颜色的薄膜,可实现无损情况下改变车身的颜色,目前市面上的改色膜颜色较为丰富,不同厂家颜色可达上百种,可解决车主的个性化需求。车身改色膜是用色系丰富,颜色多样的薄膜,以整体覆盖粘贴的方式改变全车或局部外观的服务。核心价值:高清画质、原车屏操作、智能语音、碰撞检测、循环录音、停车监控。',
images: [ images: [
`${imagBaseURL}改色膜.png` `${imagBaseURL}改色膜.png`
], ],
...@@ -131,7 +131,7 @@ const PROUDUCTS = [ ...@@ -131,7 +131,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: false, isUserNum: false,
introduct: '基于数字化系统,精准筛选需要保养的目标车主,在门店日常招揽话术和活动中,赠送或低售美容套餐,提高招揽的力度,提前锁定车主回厂,回厂后美容接待再根据车主转化更好的产品套餐', introduct: '基于数字化系统,精准筛选需要保养的目标车主,在门店日常招揽话术和活动中,赠送或低售美容套餐,提高招揽的力度,提前锁定车主回厂,回厂后美容接待再根据车主转化更好的产品套餐。',
images: [ images: [
`${imagBaseURL}镀晶.png` `${imagBaseURL}镀晶.png`
], ],
...@@ -150,7 +150,7 @@ const PROUDUCTS = [ ...@@ -150,7 +150,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: true, isUserNum: true,
introduct: '座椅通风系统是致力于改善用户乘车舒适度的一款产品;目的是为了解决高温天气,乘客长期开车、坐车而产生的不适。核心价值:透气舒适、散热均匀、原车通风、面板控制、原车屏控制、2年质保', introduct: '座椅通风系统是致力于改善用户乘车舒适度的一款产品;目的是为了解决高温天气,乘客长期开车、坐车而产生的不适。核心价值:透气舒适、散热均匀、原车通风、面板控制、原车屏控制、2年质保。',
images: [ images: [
`${imagBaseURL}360全包脚垫.png` `${imagBaseURL}360全包脚垫.png`
], ],
...@@ -169,7 +169,7 @@ const PROUDUCTS = [ ...@@ -169,7 +169,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: true, isUserNum: true,
introduct: 'Ar导航是一种导航模式,将地图、手机摄像头与AR技术深度结合,摄像头会将真实世界中的一切呈现在手机屏幕上,同时卡通人物、指示箭头等虚拟模型会叠加在现有图像上,这个虚拟模型可为行人指引方向。核心价值:高清画质、原车屏操作、智能语音、碰撞检测、循环录音、停车监控', introduct: 'Ar导航是一种导航模式,将地图、手机摄像头与AR技术深度结合,摄像头会将真实世界中的一切呈现在手机屏幕上,同时卡通人物、指示箭头等虚拟模型会叠加在现有图像上,这个虚拟模型可为行人指引方向。核心价值:高清画质、原车屏操作、智能语音、碰撞检测、循环录音、停车监控。',
images: [ images: [
`${imagBaseURL}AR导航.png` `${imagBaseURL}AR导航.png`
], ],
...@@ -188,7 +188,7 @@ const PROUDUCTS = [ ...@@ -188,7 +188,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: true, isUserNum: true,
introduct: '氛围灯用于烘托车内环境 氛围的内饰灯,设定氛围 灯颜色、亮度,具有良好的体验效果。核心价值:车规级用料、原厂1比1、小程序/中控控制、多种模式组合、无损安装、2年质保', introduct: '氛围灯用于烘托车内环境 氛围的内饰灯,设定氛围 灯颜色、亮度,具有良好的体验效果。核心价值:车规级用料、原厂1比1、小程序/中控控制、多种模式组合、无损安装、2年质保。',
images: [ images: [
`${imagBaseURL}氛围灯.png` `${imagBaseURL}氛围灯.png`
], ],
...@@ -207,7 +207,7 @@ const PROUDUCTS = [ ...@@ -207,7 +207,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: true, isUserNum: true,
introduct: '360°全景倒车影像监控系统,是一种车载装置,由硬件系统和软件系统所组成,主要通过可视监控车身周边的情况方便车主行车泊车,避免盲区给车主带来不便。核心价值:360°全景鸟瞰、四摄同录、倒车后视、智能联网、智能声控、HIFI品质音乐、高清视频', introduct: '360°全景倒车影像监控系统,是一种车载装置,由硬件系统和软件系统所组成,主要通过可视监控车身周边的情况方便车主行车泊车,避免盲区给车主带来不便。核心价值:360°全景鸟瞰、四摄同录、倒车后视、智能联网、智能声控、HIFI品质音乐、高清视频。',
images: [ images: [
`${imagBaseURL}360全景导航.png` `${imagBaseURL}360全景导航.png`
], ],
...@@ -279,7 +279,7 @@ const PROUDUCTS = [ ...@@ -279,7 +279,7 @@ const PROUDUCTS = [
return Math.round(val) return Math.round(val)
}, },
isUserNum: false, isUserNum: false,
introduct: '基于数字化系统,精准筛选需要保养的目标车主,在门店日常招揽话术和活动中,赠送或低售美容套餐,提高招揽的力度,提前锁定车主回厂,回厂后美容接待再根据车主转化更好的产品套餐', introduct: '基于数字化系统,精准筛选需要保养的目标车主,在门店日常招揽话术和活动中,赠送或低售美容套餐,提高招揽的力度,提前锁定车主回厂,回厂后美容接待再根据车主转化更好的产品套餐。',
images: [ images: [
`${imagBaseURL}镀晶.png` `${imagBaseURL}镀晶.png`
], ],
......
...@@ -53,13 +53,12 @@ ...@@ -53,13 +53,12 @@
<div class="content-title" style="margin-top: 16px;" v-show="videoList.length > 0">案例视频</div> <div class="content-title" style="margin-top: 16px;" v-show="videoList.length > 0">案例视频</div>
<div class="video-box" v-show="videoList.length > 0"> <div class="video-box" v-show="videoList.length > 0">
<div class="con-box" ref="videoContent"> <div class="con-box" ref="videoContent">
<div v-for="(item, subIndex) in videoList" :key="subIndex"><video controls :poster="item.videoPhoto" :src="item.videoURL" :key="inx" class="video"></video></div> <div v-for="(item, subIndex) in videoList" :key="subIndex" class="videoBo"><video controls :poster="item.videoPhoto" :src="item.videoURL" :key="inx" class="video"></video></div>
</div> </div>
<div class="slide"> <div class="slide">
<div class="slide-box"> <div class="scroll-box">
<i class="el-icon-arrow-left" @click="prov"></i> <img :src="imagBaseURL + 'left' + '.png'" class="scroll-icon" @click="prov" />
<span :class="activeIndex == indx ? 'dian active' : 'dian'" v-for="(it, indx) in videoList.length" :key="indx" @click="change(indx)"></span> <img :src="imagBaseURL + 'right' + '.png'" class="scroll-icon" @click="next" />
<i class="el-icon-arrow-right" @click="next"></i>
</div> </div>
</div> </div>
</div> </div>
...@@ -130,10 +129,11 @@ ...@@ -130,10 +129,11 @@
:visible.sync="isValuation" :visible.sync="isValuation"
size="25%" size="25%"
:before-close="closeDrawer" :before-close="closeDrawer"
class="drawerT"
> >
<glsx-combi-form :isInline="false" labelWidth="154px" defaultWidth="284px" :formObj="ruleForm" :formData="editFormData" class="valuation_list"> <glsx-combi-form :isInline="false" labelWidth="154px" defaultWidth="284px" :formObj="ruleForm" :formData="editFormData" class="valuation_list">
<div slot="customInputAdd"> <div slot="customInputAdd">
<el-input maxlength="8" placeholder="请输入3年内售后存量用户数" v-model="ruleForm.userNum" style="width: 284px;"></el-input> <el-input maxlength="8" placeholder="请输入3年内售后存量用户数" v-model.trim="ruleForm.userNum" style="width: 284px;"></el-input>
<div class="valuation_wrap"> <div class="valuation_wrap">
<el-button type="primary" @click="computedAllMoney">提交测算</el-button> <el-button type="primary" @click="computedAllMoney">提交测算</el-button>
<el-button @click="reset">重置</el-button> <el-button @click="reset">重置</el-button>
...@@ -310,19 +310,16 @@ export default { ...@@ -310,19 +310,16 @@ export default {
prov() { prov() {
if (this.activeIndex == 0) return if (this.activeIndex == 0) return
this.activeIndex-- this.activeIndex--
// console.log(this.$refs.videoContent) let width = this.$refs.videoContent.offsetWidth
this.$refs.videoContent.style.transform = `translateX(${-520 * this.activeIndex}px) scale(1)` // console.log(this.$refs.videoContent.offsetWidth)
this.$refs.videoContent.style.transform = `translateX(${-width * this.activeIndex}px) scale(1)`
this.$refs.videoContent.style.transition = `all 1s linear` this.$refs.videoContent.style.transition = `all 1s linear`
}, },
next() { next() {
if (this.activeIndex == (this.videoList.length - 1)) return let width = this.$refs.videoContent.offsetWidth
if ((this.activeIndex * width) / (this.videoList.length * 510) < this.activeIndex) return
this.activeIndex++ this.activeIndex++
this.$refs.videoContent.style.transform = `translateX(${-520 * this.activeIndex}px) scale(1)` this.$refs.videoContent.style.transform = `translateX(${-width * this.activeIndex}px) scale(1)`
this.$refs.videoContent.style.transition = `all 1s linear`
},
change(index) {
this.$refs.videoContent.style.transform = `translateX(${-520 * index}px) scale(1)`
this.activeIndex = index
this.$refs.videoContent.style.transition = `all 1s linear` this.$refs.videoContent.style.transition = `all 1s linear`
}, },
reset() { reset() {
...@@ -456,7 +453,7 @@ export default { ...@@ -456,7 +453,7 @@ export default {
.content-title { .content-title {
font-size: 20px; font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 600;
color: #111111; color: #111111;
margin-bottom: 12px; margin-bottom: 12px;
} }
...@@ -622,7 +619,6 @@ export default { ...@@ -622,7 +619,6 @@ export default {
margin: 0 0 4px; margin: 0 0 4px;
} }
.marketing { .marketing {
display: inline-block;
color: #666666; color: #666666;
} }
} }
...@@ -681,34 +677,46 @@ export default { ...@@ -681,34 +677,46 @@ export default {
flex-direction: column; flex-direction: column;
} }
.valuation_list ::v-deep.glsx-combi-form .el-form-item--small .el-form-item__label { .valuation_list ::v-deep.glsx-combi-form .el-form-item--small .el-form-item__label {
margin-left: 120px; margin-left: 64px;
} }
.valuation_list ::v-deep.glsx-combi-form .el-form-item--small .el-form-item__content { .valuation_list ::v-deep.glsx-combi-form .el-form-item--small .el-form-item__content {
margin-left: 120px !important; margin-left: 64px !important;
} }
.video-box { .video-box {
overflow: hidden; overflow: hidden;
position: relative;
.con-box { .con-box {
display: flex; display: -webkit-box;
width: 100%;
} }
.video { .videoBo {
width: 510px; width: 33%;
height: 286px; height: 286px;
// height: 10%;
margin-right: 10px; margin-right: 10px;
} }
.video {
width: 100%;
height: 100%;
}
.slide { .slide {
width: 100%; width: 100%;
height: 20px; height: 40px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.slide-box { position: absolute;
top: calc(50% - 23px);
.scroll-box {
width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 7px; justify-content: space-between;
visibility: hidden;
.scroll-icon {
width: 40px;
height: 40px;
} }
.el-icon-arrow-left, .el-icon-arrow-right {
color: #5850FF;
} }
} }
.point { .point {
...@@ -719,6 +727,9 @@ export default { ...@@ -719,6 +727,9 @@ export default {
opacity: 0.25; opacity: 0.25;
} }
} }
.video-box:hover .scroll-box {
visibility: visible;
}
.dian{ .dian{
display: inline-block; display: inline-block;
width: 6px; width: 6px;
...@@ -746,7 +757,7 @@ export default { ...@@ -746,7 +757,7 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
margin-left: 123px; margin-left: 64px;
margin-top: 100px; margin-top: 100px;
.el-icon-circle-check { .el-icon-circle-check {
color: #5850FF; color: #5850FF;
...@@ -759,4 +770,8 @@ export default { ...@@ -759,4 +770,8 @@ export default {
margin-top: 8px; margin-top: 8px;
} }
} }
::v-deep .drawerT .el-drawer__header {
border-bottom: 1px solid #E5E5E5;
padding-bottom: 20px;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!