Commit 8d7513a9 by 匡雅琴

紧急版本

1 parent 14646a40
...@@ -3,14 +3,15 @@ ...@@ -3,14 +3,15 @@
<div class="dialog-wrap"> <div class="dialog-wrap">
<div class="dialog"> <div class="dialog">
<div class="dialog-title"> <div class="dialog-title">
维保线索推送 {{ title }}
<div class="close" @click="closeHandle"> <div class="close" @click="closeHandle">
<img src="@/assets/images/close.png" /> <img src="@/assets/images/close.png" />
</div> </div>
</div> </div>
<video id="videos" muted="muted" autoplay class="video-box"> <video id="videos" muted="muted" autoplay class="video-box">
<!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> --> <!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> -->
<source src="../../../assets/images/video(1).mp4" type="video/mp4" /> <source v-if="type == 1" src="../../../assets/images/video(1).mp4" type="video/mp4" />
<source v-if="type == 2" :src="`https://img02.glsx.com.cn/weapp/resource/miniprogram/material/ai-practice.mp4?v=${version}`" type="video/mp4" />
</video> </video>
</div> </div>
</div> </div>
...@@ -21,13 +22,18 @@ ...@@ -21,13 +22,18 @@
export default { export default {
name: 'Dialog', name: 'Dialog',
props: { props: {
isShow: Boolean isShow: Boolean,
title: String,
type: String
}, },
data() { data() {
return { return {
msg: '' msg: ''
} }
}, },
mounted() {
this.version = Math.random()*10
},
methods: { methods: {
closeHandle() { closeHandle() {
this.$emit('closeDialog') this.$emit('closeDialog')
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<div class="second-title">维保线索推送</div> <div class="second-title">维保线索推送</div>
<div class="descript">大模型识别车辆碰撞并将碰撞信息发送给对接的智慧门店系统,门店专员及时和客户联系,引导车辆进厂维修,提升售后维修产值。</div> <div class="descript">大模型识别车辆碰撞并将碰撞信息发送给对接的智慧门店系统,门店专员及时和客户联系,引导车辆进厂维修,提升售后维修产值。</div>
</div> </div>
<Dialog :isShow="dialogShow" @closeDialog="closeDialog"></Dialog> <Dialog title="维保线索推送" type="1" :isShow="dialogShow" @closeDialog="closeDialog"></Dialog>
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="main-content-box">
<el-carousel class="swiper-box" height="38.52vh" ref="slideCarousel" trigger="click" arrow="never" :interval="0">
<el-carousel-item class="">
<div class="markeing-box"> <div class="markeing-box">
<Phone :imgName="'ai-dialogue'"> <Phone :imgName="'ai-dialogue'">
<div class="dialogue-content" slot="content"> <div class="dialogue-content" slot="content">
...@@ -30,20 +33,39 @@ ...@@ -30,20 +33,39 @@
</div> </div>
</div> </div>
</div> </div>
</el-carousel-item>
<el-carousel-item>
<div class="AI-box">
<div class="AI-box-title">AI模拟对练</div>
<div class="AI-box-desc">
AI模拟对练为线下驻店人员提供了一个高效的培训平台,通过模拟真实的客户互动场景,帮助员工提升服务技能,增强自信心,同时降低培训成本。它通过个性化反馈和实时评估,加速员工对新产品或服务的掌握,确保服务标准化。
</div>
<video @click="openVideoDia" class="ai-video-box" ref="AIvideoRef" id="videos" muted="muted" controls autoplay loop>
<!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> -->
<source :src="`https://img02.glsx.com.cn/weapp/resource/miniprogram/material/ai-practice.mp4?v=${version}`" type="video/mp4" />
</video>
</div>
</el-carousel-item>
</el-carousel>
<Dialog title="AI模拟对练" type="2" :isShow="dialogShow" @closeDialog="closeDialog"></Dialog>
</div>
</template> </template>
<script> <script>
import Phone from './Phone.vue' import Phone from './Phone.vue'
import Dialog from './Dialog.vue'
export default { export default {
name: 'MarketingQuestion', name: 'MarketingQuestion',
components: { components: {
Phone Phone,
Dialog
}, },
data() { data() {
return { return {
showQ: false, showQ: false,
showR: false, showR: false,
pNode: null, pNode: null,
timer: null timer: null,
dialogShow: false
} }
}, },
mounted() { mounted() {
...@@ -51,6 +73,8 @@ export default { ...@@ -51,6 +73,8 @@ export default {
// const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。' // const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
this.showText() this.showText()
// t = setInterval(this.showText, 10000) // t = setInterval(this.showText, 10000)
this.$refs.AIvideoRef.addEventListener('ended', this.replayVideo)
this.version = Math.random()*10
}, },
methods: { methods: {
showText() { showText() {
...@@ -80,6 +104,17 @@ export default { ...@@ -80,6 +104,17 @@ export default {
}, 1000) }, 1000)
} }
}, 100) }, 100)
},
openVideoDia() {
this.dialogShow = true
},
closeDialog() {
this.dialogShow = false
},
replayVideo() {
const video = this.$refs.AIvideoRef
video.currentTime = 0
video.play()
} }
}, },
beforeDestroy() { beforeDestroy() {
...@@ -87,20 +122,25 @@ export default { ...@@ -87,20 +122,25 @@ export default {
this.showR = false this.showR = false
this.pNode.innerHTML = '' this.pNode.innerHTML = ''
clearInterval(this.timer) clearInterval(this.timer)
this.$refs.AIvideoRef.removeEventListener('ended', this.replayVideo)
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main-content-box {
width: 100%;
height: 38.52vh;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 100%;
}
.markeing-box { .markeing-box {
display: flex; display: flex;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
padding: 2.59vh 1.04vw; padding: 2.59vh 1.04vw;
width: 100%; width: 100%;
height: 38.52vh; height: 100%;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 100%;
} }
.dialogue-content { .dialogue-content {
padding-top: 3.98vh; padding-top: 3.98vh;
...@@ -174,4 +214,35 @@ export default { ...@@ -174,4 +214,35 @@ export default {
margin: 1.78vh auto 0; margin: 1.78vh auto 0;
} }
} }
.AI-box {
text-align: center;
color: #5894ff;
background-image: -webkit-linear-gradient(left, #0185f9, #53faff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
&-title {
font-weight: 500;
font-size: 20px;
margin-top: 1.54vh;
}
&-desc {
font-weight: 400;
font-size: 12px;
color: #09aef2;
margin: 0.64vh 0 0.84vh 0;
padding: 0 4.17vw;
}
.ai-video-box {
width: 25vw;
height: 25vh;
}
}
.swiper-box {
width: 100%;
}
/deep/ .el-carousel__indicator.is-active button {
background-image: linear-gradient(90deg, #01a4f9 1%, #6df5f9 100%);
border-radius: 4px;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!