Commit 9c6110f1 by 前端

ui

1 parent a604b977
.top_head {
display: flex;
justify-content: space-between;
background: url('../assets/images/top_bg.png') no-repeat center bottom;
background: url("../assets/images/top_bg.png") no-repeat center bottom;
background-size: 100% auto;
//height: 9.44vh;
height: 114px;
......@@ -15,8 +15,8 @@
.logo {
.img {
width: 6.65vw;
height: 3.46vh;
width: 166px;
height: 36px;
margin: 1.67vh 0 0 1.67vw;
}
}
......@@ -34,27 +34,25 @@
font-size: 44px;
letter-spacing: 0px;
line-height: 44px;
// background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
// background-clip: text;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
background: linear-gradient(to right,
#00c8ff 0%,
#0069f2 100%);
background: linear-gradient(to right, #00c8ff 0%, #0069f2 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.title:before,
.title:after{
.title:after {
position: absolute;
display: block;
content:"";
content: "";
width: 64px;
height: 21px;
top:50%;
top: 50%;
transform: translateY(-50%);
}
// .title:before{
......@@ -82,7 +80,7 @@
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 10px;
color: #56FEFE;
color: #56fefe;
letter-spacing: 0;
line-height: 15px;
}
......@@ -91,7 +89,7 @@
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 20px;
color: #56FEFE;
color: #56fefe;
letter-spacing: 2px;
line-height: 29px;
}
......@@ -100,7 +98,7 @@
.welcome {
width: 7.93vw;
height: 100%;
background: url('../assets/images/top_user.png') no-repeat top center;
background: url("../assets/images/top_user.png") no-repeat top center;
background-size: 100% auto;
text-align: center;
margin: 0.93vh 1.25vw 0 3.54vw;
......@@ -110,12 +108,11 @@
font-family: SourceHanSansCN-Regular;
font-weight: 400;
font-size: 14px;
color: #56FEFE;
color: #56fefe;
letter-spacing: 0;
// margin-top:16px;
line-height: 0;
}
}
}
}
\ No newline at end of file
}
......@@ -114,7 +114,7 @@ export default {
box-sizing: border-box;
&-title {
font-weight: 700;
font-weight: 1000;
font-size: 28px;
color: #ffffff;
letter-spacing: 1px;
......@@ -150,6 +150,7 @@ export default {
color: #44ffff;
letter-spacing: 0;
line-height: 32px;
font-weight: 700;
}
.qualifications-list {
......@@ -162,13 +163,14 @@ export default {
height: 66px;
background: url('../assets/images/viewEntireLifecycleOfCar/q-border.png');
background-size: 100% 100%;
padding: 25px 20px;
padding: 15px 29px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
.qualifications-title {
font-size: 13px;
font-size: 16px;
color: #ffffff;
}
......@@ -177,13 +179,13 @@ export default {
color: #6578ff;
line-height: 36px;
font-weight: 700;
margin-left: 20px;
margin-left: 15px;
span {
font-weight: 500;
font-size: 16px;
color: #0ffadf;
margin-left: 10px;
margin-left: 5px;
&.f28 {
font-size: 28px;
......
......@@ -6,7 +6,7 @@
* @LastEditTime: 2024-01-29 17:42:23
*/
const DefaultData = {
defaultLineHeight: '16.32',
defaultLineHeight: '15.32',
defaultPieHeight: '13.05',
yearList: ['2023', '2022'],
menuList: [
......
......@@ -551,7 +551,7 @@ li {
position: absolute;
width: 260px;
height: 208px;
top: 180px;
top: 120px;
left: 0;
background: url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png);
background-size: 100% 100%;
......
......@@ -71,7 +71,7 @@ export default {
width: 0.94vw;
height: 0.93vh;
transform: rotate(90deg);
background: url(../../../assets/images/operation//icon-title.png) no-repeat;
background: url(../../../assets/images/operation/icon-title.png) no-repeat;
background-size: 100%;
margin-top: 7px;
margin-left: 14px;
......
......@@ -8,7 +8,7 @@
<div :class="['content-item', 'flex-around', info.pd ? info.pd : '']" v-for="(info, index) in infoList" :key="index">
<div class="content-title">{{ info.title }}</div>
<template v-for="(data, ids) in info.dataList">
<div v-if="ids != 2" :class="['content-number', 'num-' + ids]" :key="ids">
<div v-if="ids != 3" :class="['content-number', 'num-' + ids]" :key="ids">
{{ index == 0 ? numAddSymbol(data(smartClueData)) : index == 1 ? numAddSymbol(data(merchantData)) : numAddSymbol(data(smartData)) }}
</div>
<div v-else :class="['content-number', 'num-' + ids]" :key="ids">
......@@ -60,27 +60,28 @@ export default {
smartData: '', // 智慧车管线索订阅
smartClueData: '', // 智慧门店线索订阅
titleList: [
{ text: '订阅门店', width: '2.78vw' },
{ text: '线索订阅门店数(累计)', width: '3.82vw' },
{ text: '订阅门店', width: '5.78vw' },
{ text: '线索订阅门店数(累计)', width: '5.82vw' },
{ text: '线索订阅门店数(当年新增)', width: '6.82vw' },
{ text: '活跃使用门店', width: '4.95vw' },
{ text: '留存率', width: '4.29vw' }
{ text: '留存率', width: '3.29vw' }
],
infoList: [
{
title: '智慧门店线索订阅',
pd: 'pd26',
width: '2.78vw',
dataList: [obj => obj.totalnum, obj => obj.activenum, obj => obj.retention]
dataList: [obj => obj.totalnum, obj => obj.activenum, obj => obj.increnum, obj => obj.retention]
},
{
title: '门店会员的权益',
width: '2.78vw',
dataList: [obj => obj.totalnum, obj => obj.activenum, obj => obj.retention]
dataList: [obj => obj.totalnum, obj => obj.activenum, obj => obj.increnum, obj => obj.retention]
},
{
title: '智慧车管线索订阅',
width: '2.78vw',
dataList: [obj => obj.totalnum, obj => obj.activenum, obj => obj.retention]
dataList: [obj => obj.totalnum, obj => obj.activenum, obj => obj.increnum, obj => obj.retention]
}
],
clewList: [
......@@ -160,7 +161,7 @@ export default {
font-weight: 600;
font-size: 12px;
color: #e8e8e8;
text-align: center;
padding-left: 20px;
}
.content {
width: 100%;
......@@ -181,21 +182,21 @@ export default {
}
}
&-title {
width: 2.78vw;
width: 4.98vw;
font-weight: 400;
font-size: 12px;
color: #fff;
text-align: center;
padding-left: 20px;
// white-space: pre-wrap;
}
&-number {
font-weight: 700;
font-size: 12px;
color: #ffffff;
text-align: center;
padding-left: 20px;
}
.num-0 {
width: 3.82vw;
width: 6.95vw;
}
.num-1 {
width: 4.95vw;
......@@ -203,8 +204,11 @@ export default {
.num-2 {
width: 4.29vw;
}
.num-3 {
width: 3.29vw;
}
.pd26 {
height: 9.01vh;
height: 8.21vh;
padding: 3.17vh 0;
}
}
......@@ -217,13 +221,13 @@ export default {
margin-bottom: 0.49vh;
background: rgba(11, 44, 142, 0.28);
.clew-line-text {
padding: 0.85vh 0.56vw 0.73vh 0.56vw;
padding: 0.85vh 2.56vw 0.73vh 2.56vw;
font-weight: 400;
font-size: 12px;
color: #fff;
border-bottom: 1px solid #0e2949;
box-sizing: border-box;
height: 2.97vh;
height: 2.72vh;
.clew-num {
font-weight: 700;
font-size: 12px;
......
<template>
<div class="video-container">
<video controls autoplay class="video-box" ref="video">
<source :src="videoSrc" type="video/mp4" />
<source src="@/assets/video/car.mp4" type="video/mp4" />
</video>
<div class="video-pause" @click="hanldPlay('pause')" v-if="status == 'play'">
<img src="@/assets/images/play-icon.png" />
</div>
<div class="video-play" @click="hanldPlay('play')" v-else><img src="@/assets/images/pause-icon.png" /></div>
<div class="video-play" @click="hanldPlay('play')" v-if="status == 'pause'"><img src="@/assets/images/pause-icon.png" /></div>
</div>
</template>
......@@ -17,25 +17,48 @@ export default {
data() {
return {
videoSrc: 'https://www.runoob.com/try/demo_source/movie.mp4',
status: 'play'
status: 'play',
timer: null
}
},
mounted() {
this.watchVideo()
},
watch: {
status(val) {
if (this.timer) {
clearTimeout(this.timer)
}
if (val == 'pause') {
this.timer = setTimeout(() => {
this.status = ''
}, 3000)
}
}
},
methods: {
watchVideo() {
this.$refs.video.addEventListener('ended', () => {
this.status = 'play'
})
this.$refs.video.addEventListener('play', () => {
this.status = 'pause'
})
this.$refs.video.addEventListener('pause', () => {
this.status = 'play'
})
document.addEventListener('fullscreenchange', function (e) {
console.log('fullscreenchange', e)
let isFull
if (document.fullscreenElement) {
isFull = true
} else {
isFull = false
}
this.isFull = true
})
},
hanldPlay(status) {
this.status = status
if (status == 'pause') {
this.$refs.video.play()
} else {
......@@ -50,9 +73,8 @@ export default {
.video-container {
width: 1560px;
height: 878px;
border: 4px solid #1377f8;
border: 4px solid rgba(18, 117, 248, 0.5);
box-sizing: border-box;
border-radius: 50px;
overflow: hidden;
margin: 20px auto;
position: relative;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!