Commit 3f9a03a7 by 李伟康

commit 提交

1 parent dea4fb3b
<template>
<div class="center-model">
<div class="card-box flex">
<template v-for="(i,index) in topList">
<div
:key="index"
class="card-item"
>
<img
class="card-item-bg"
:src="topImgList[index]"
/>
<div class="card-text">{{i}}</div>
</div>
</template>
</div>
<div class="center-box">
<div class="model-title">
<div class="text">用户数据元件</div>
</div>
<div class="arrow">
<img src="@/assets/images/factor/center-top-arrow.png" />
</div>
<div class="center-list flex">
<template v-for="(i,index) in centerList">
<div
:key="index"
class="center-item"
>
<img
class="bg"
src="@/assets/images/factor/center-icon.png"
/>
<div class="text-box flex">
<div class="text-title">{{i.title}}</div>
<div
class="text"
v-html="i.text"
></div>
</div>
</div>
</template>
<div class="fixed-text-box box-center flex">
<div class="text">数据</div>
<div class="text">元件</div>
</div>
</div>
<div class="arrow">
<img src="@/assets/images/factor/center-bottom-arrow.png" />
</div>
<div class="model-title">
<div class="text">车辆数据元件</div>
</div>
</div>
<div class="card-box flex">
<template v-for="(i,index) in bottomList">
<div
:key="index"
class="card-item"
>
<img
class="card-item-bg"
:src="bottomImgList[index]"
/>
<div class="card-text">{{i}}</div>
</div>
</template>
</div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
topImgList: [
require('@/assets/images/factor/center-top-1.png'),
require('@/assets/images/factor/center-top-2.png'),
require('@/assets/images/factor/center-top-3.png'),
require('@/assets/images/factor/center-top-4.png'),
],
topList: ['UBI保险评分', '精准营销画像', '个性化轻改画像', '车主权益整合'],
bottomImgList: [
require('@/assets/images/factor/center-bottom-1.png'),
require('@/assets/images/factor/center-bottom-2.png'),
require('@/assets/images/factor/center-bottom-3.png'),
require('@/assets/images/factor/center-bottom-4.png'),
],
bottomList: ['碰撞送修识别', '汽车金融风控', '电池健康度评估', '车辆残值评估'],
centerList: [
{ title: '车辆维度', text: '基本信息<br>行驶数据<br>位置数据<br>状态数据<br>维保信息<br>充电信息' },
{ title: '车主纬度', text: '基本信息<br>身份信息<br>驾驶习惯<br>事故信息<br>违章信息<br>投保信息' },
{ title: '公共数据', text: '交易数据<br>交通数据<br>环境数据<br>停电场数据<br>充电桩数据<br>零配件数据' }
]
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.center-model {
width: 1028px;
height: 83.65vh;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
left: 735px;
top: 0;
background-image: url('../../assets/images/factor/factor-center.png');
.card-box {
justify-content: center;
gap: 0 20px;
margin-bottom: 0.46vh;
.card-item {
width: 185px;
height: 17.3vh;
font-weight: 700;
font-size: 16px;
color: #ffffff;
position: relative;
box-sizing: border-box;
text-align: center;
padding-top: 10.8vh;
.card-text {
position: relative;
z-index: 2;
}
&-bg {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
}
.center-box {
position: relative;
&::before {
position: absolute;
top: -5vh;
left: 50%;
transform: translateX(-50%);
content: '';
width: 586px;
height: 60.77vh;
background-image: url('../../assets/images/factor/center-arrow.png');
background-size: cover;
background-repeat: no-repeat;
}
.arrow {
width: 536px;
height: 3.85vh;
display: block;
margin: 0 auto;
}
.center-list {
justify-content: center;
position: relative;
.fixed-text-box {
width: 310px;
height: 2.5vh;
justify-content: space-between;
.text {
font-weight: 700;
font-size: 26px;
letter-spacing: 0.93px;
background: linear-gradient(to right, #01a4f9, #6df5f9);
-webkit-background-clip: text;
color: transparent;
}
}
.center-item {
width: 162px;
height: 28.85vh;
position: relative;
.bg {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
.text-box {
position: relative;
z-index: 2;
flex-direction: column;
.text-title {
font-weight: 500;
font-size: 20px;
color: #ffffff;
letter-spacing: 0.71px;
padding: 3.75vh 0 5.38vh;
}
.text {
font-weight: 500;
font-size: 16px;
color: #e8e8e8;
line-height: 2.5vh;
}
}
&:nth-child(2) {
margin: 0 76px 0 87px;
}
}
}
}
.model-title {
margin: 0 auto;
position: relative;
z-index: 2;
top: 0;
}
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -19,13 +19,20 @@ ...@@ -19,13 +19,20 @@
<div class="icon"> <div class="icon">
<img :src="iconList[index]"> <img :src="iconList[index]">
</div> </div>
<span class="text" v-html="i.text"></span> <span
class="text"
v-html="i.text"
></span>
</div> </div>
</template> </template>
</div> </div>
</div> </div>
</template> </template>
</div> </div>
<div class="gif">
<div class="gif-text">数据接入<br>网关</div>
<img src="@/assets/images/factor/factor-left.gif" />
</div>
</div> </div>
</template> </template>
...@@ -34,10 +41,10 @@ export default { ...@@ -34,10 +41,10 @@ export default {
name: '', name: '',
data () { data () {
return { return {
iconList:[ iconList: [
require('@/assets/images/factor-left-1.png'), require('@/assets/images/factor/factor-left-1.png'),
require('@/assets/images/factor-left-2.png'), require('@/assets/images/factor/factor-left-2.png'),
require('@/assets/images/factor-left-3.png'), require('@/assets/images/factor/factor-left-3.png'),
], ],
resourceList: [ resourceList: [
{ {
...@@ -82,7 +89,22 @@ export default { ...@@ -82,7 +89,22 @@ export default {
<style scoped lang='scss'> <style scoped lang='scss'>
@import url('./model.scss'); @import url('./model.scss');
.model { .model {
background-image: url('../../assets/images/factor-left.png'); background-image: url('../../assets/images/factor/factor-left.png');
.gif {
position: absolute;
width: 221px;
height: 46.44vh;
top: 16.6vh;
right: -172px;
&-text {
color: #fff;
position: absolute;
text-align: center;
top: 13.08vh;
right: 48px;
font-size: 18px;
}
}
.model-content { .model-content {
padding-top: 4.04vh; padding-top: 4.04vh;
} }
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
<div class="model-title x-center"> <div class="model-title x-center">
<div class="text">数据产品</div> <div class="text">数据产品</div>
</div> </div>
<div class="gif">
<div class="gif-text">数据脱敏<br>数据鉴权<br>数据分发</div>
<img src="@/assets/images/factor/factor-right.gif" />
</div>
</div> </div>
</template> </template>
...@@ -23,6 +27,24 @@ export default { ...@@ -23,6 +27,24 @@ export default {
<style scoped lang='scss'> <style scoped lang='scss'>
@import url('./model.scss'); @import url('./model.scss');
.model { .model {
background-image: url('../../assets/images/factor-right.png'); background-image: url('../../assets/images/factor/factor-right.png');
.gif {
position: absolute;
width: 195px;
height: 37.6vh;
top: 17.31vh;
left: -189px;
&-text {
color: #fff;
position: absolute;
text-align: center;
top: 15.29vh;
left: 49px;
font-size: 18px;
color: #ffffff;
line-height: 2.3vh;
text-shadow: 0 2px 4px #00000080;
}
}
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -8,17 +8,21 @@ ...@@ -8,17 +8,21 @@
<template> <template>
<div class="layout"> <div class="layout">
<left-model /> <left-model />
<center-model />
<right-model /> <right-model />
</div> </div>
</template> </template>
<script> <script>
import LeftModel from './LeftModel' import LeftModel from './LeftModel'
import CenterModel from './CenterModel.vue'
import RightModel from './RightModel' import RightModel from './RightModel'
export default { export default {
name: 'EnergyCar', name: 'EnergyCar',
components: { components: {
LeftModel, LeftModel,
CenterModel,
RightModel RightModel
}, },
data () { data () {
...@@ -33,7 +37,7 @@ export default { ...@@ -33,7 +37,7 @@ export default {
.layout { .layout {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url('../../assets/images/factor-bg.png') no-repeat center; background: url('../../assets/images/factor/factor-bg.png') no-repeat center;
background-size: contain; background-size: contain;
position: relative; position: relative;
display: flex; display: flex;
......
...@@ -4,25 +4,26 @@ ...@@ -4,25 +4,26 @@
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
position: relative; position: relative;
}
.model-title{ .model-title {
width: 207px; width: 207px;
height: 5.19vh; height: 5.19vh;
background-image: url('../../assets/images/factor-title.png'); background-image: url('../../assets/images/factor/factor-title.png');
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
top: -4.04vh; top: -4.04vh;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.text { .text {
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;
letter-spacing: 0.86px; letter-spacing: 0.86px;
background:linear-gradient(to right, #01A4F9, #6DF5F9); background: linear-gradient(to right, #01A4F9, #6DF5F9);
-webkit-background-clip: text; -webkit-background-clip: text;
color: transparent; color: transparent;
} }
}
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!