Commit d4ae65d9 by 胡悦

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-scene into v1.0.0

2 parents 231c748e 0f086c19
......@@ -297,7 +297,7 @@ export default {
text-align: center;
.header {
margin: 44px auto 0;
margin: 24px auto 0;
width: 1040px;
text-align: center;
height: 194px;
......
<template>
<div class="mask" v-if="isShow">
<div class="dialog-wrap">
<div class="dialog">
<div class="dialog-title">
维保线索推送
<div class="close" @click="closeHandle">
<img src="@/assets/images/close.png" />
</div>
</div>
<video id="videos" muted="muted" autoplay class="video-box">
<!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> -->
<source src="../../../assets/images/video(1).mp4" type="video/mp4" />
</video>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Dialog',
props: {
isShow: Boolean
},
data() {
return {
msg: ''
}
},
methods: {
closeHandle() {
this.$emit('closeDialog')
}
}
}
</script>
<style lang="scss" scoped>
.mask {
width: 100%;
height: 100%;
position: fixed;
z-index: 99;
left: 0px;
top: 0px;
background: rgba(0, 0, 0, 0.8);
}
.dialog-wrap {
width: 61.11vw;
height: 73.29vh;
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
background-image: url('../../../assets/images/bg-5.png');
background-repeat: no-repeat;
background-size: 100% 100%;
transform: translate(-50%, -50%);
border-radius: 5px;
padding: 3.9vh 3.67vw;
box-sizing: border-box;
.close {
width: 20px;
height: 20px;
position: absolute;
right: -330px;
top: -5px;
cursor: pointer;
}
.dialog-title {
width: 13.19vw;
height: 4.39vh;
background-image: url('../../../assets/images/title-dialog.png');
background-repeat: no-repeat;
background-size: 100% 100%;
text-align: center;
font-size: 20px;
color: #ffffff;
margin: 0 auto;
position: relative;
line-height: 4.39vh;
}
.video-box {
width: 51.11vw;
height: 63.29vh;
}
}
</style>
......@@ -33,8 +33,8 @@
</div>
</Phone>
<Phone class="enterprise-box" :imgName="'customer-detail'">
<div class="video-content" slot="content">
<video controls>
<div class="video-content" slot="content" @click="openVideo">
<video id="videos" muted="muted" controls autoplay loop>
<!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> -->
<source src="../../../assets/images/video(1).mp4" type="video/mp4" />
</video>
......@@ -44,19 +44,31 @@
<div class="second-title">维保线索推送</div>
<div class="descript">大模型识别车辆碰撞并将碰撞信息发送给对接的智慧门店系统,门店专员及时和客户联系,引导车辆进厂维修,提升售后维修产值。</div>
</div>
<Dialog :isShow="dialogShow" @closeDialog="closeDialog"></Dialog>
</div>
</template>
<script>
import Phone from './Phone.vue'
import Dialog from './Dialog.vue'
import { threadData } from '../const/index'
export default {
name: 'Maintenance',
components: {
Phone
Phone,
Dialog
},
data() {
return {
threadData
threadData,
dialogShow: false
}
},
methods: {
openVideo() {
this.dialogShow = true
},
closeDialog() {
this.dialogShow = false
}
}
}
......@@ -78,19 +90,23 @@ export default {
position: absolute;
top: 7.78vh;
left: 0.31vw;
max-height: 24.3vh;
overflow-y: scroll;
&-item {
width: 7.28vw;
border-radius: 4px;
background-color: #313951;
padding: 0.1vw;
padding: 0.2vw 0.3vh;
box-sizing: border-box;
margin-bottom: 0.3vh;
&-top {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 500;
font-size: 10px;
color: #ffffffe6;
margin-bottom: 0.4vw;
&-left {
display: flex;
}
......@@ -106,11 +122,11 @@ export default {
}
}
&-inner {
background: #262F47;
border-radius: 4px;
font-size: 9px;
color: #ffffffcc;
padding: 0.2vw 0.1vw;
background: #262f47;
border-radius: 4px;
font-size: 9px;
color: #ffffffcc;
padding: 0.4vw 0.2vw;
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!