Commit 3327290f by 张立顺

代码合并

1 parent 1112b633
<template> <template>
<!-- 汽车全生命周期场景图 --> <!-- 汽车全生命周期场景图 -->
<div class="view-content"> <div class="view-content">
<div class="rightCon">
<div class="header">
<div class="title">丰富的行业应用</div>
<img class="bg" src="../../../assets/images/viewEntireLifecycleOfCar/header_ring.png" alt="">
<div v-for="(item, index) in headerLabelList" :key="index"
:class="['item_' + `${index + 1}`, item.footer ? '' : 'oneLine']" class="item">
{{ item.header }}
<br v-if="item.footer" />
{{ item.footer }}
</div>
</div>
<div class="footer">
<view class="title">广联新能源</view>
<view class="title">车主服务行业大模型</view>
<view class="title">基于行业数据共建</view>
<img class="bg" src="../../../assets/images/viewEntireLifecycleOfCar/footer_ring.png" alt="">
</div>
</div>
<!-- <div class="scene"> <!-- <div class="scene">
<div class="carousel"> <div class="carousel">
<div class="carousel__cell">1</div> <div class="carousel__cell">1</div>
...@@ -47,7 +65,43 @@ export default { ...@@ -47,7 +65,43 @@ export default {
}, },
data() { data() {
return { return {
headerLabelList: [
{
header: '个性化',
footer: '推荐'
},
{
header: '车辆风',
footer: '险评级'
}, {
header: '个性化',
footer: '定价'
}, {
header: '二手车',
footer: '检测'
}, {
header: '二手车',
footer: '拍卖'
}, {
header: '建站',
footer: '选址'
}, {
header: '充电',
footer: '调节'
}, {
header: '电池回',
footer: '收评估'
}, {
header: '知识库',
footer: ''
}, {
header: '销售',
footer: '助手'
}, {
header: '碰撞',
footer: '检查'
}
]
} }
}, },
created() { created() {
...@@ -133,6 +187,8 @@ export default { ...@@ -133,6 +187,8 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.view-content { .view-content {
// min-width: 1920px;
// min-height: 1080px;
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
...@@ -146,6 +202,162 @@ export default { ...@@ -146,6 +202,162 @@ export default {
margin-bottom: 1.78vh; margin-bottom: 1.78vh;
height: 5vh; height: 5vh;
} }
.rightCon {
width: 1280px;
margin-left: auto;
text-align: center;
.header {
margin: 44px auto 0;
width: 1040px;
text-align: center;
height: 194px;
position: relative;
// line-height: 194px;
.title {
position: absolute;
top: 42%;
left: 50%;
height: 32px;
transform: translate(-50%, -50%);
// width: 154px;
// height: 32px;
text-align: center;
font-family: SourceHanSansCN-Bold;
font-weight: 700;
font-size: 22px;
// color: #FFFFFF;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
z-index: 3;
// letter-spacing: 0;
// text-align: center;
// line-height: 32px;
}
.item {
width: 84px;
height: 84px;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/ring.png);
background-size: 100% 100%;
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 16px;
color: #56E3F9;
text-align: center;
padding-top: 21px;
// line-height: 42px;
}
.item_1 {
position: absolute;
bottom: 8px;
left: 478px;
}
.item_2 {
position: absolute;
bottom: 12px;
left: 618px;
}
.item_3 {
position: absolute;
bottom: 30px;
left: 758px;
}
.item_4 {
position: absolute;
bottom: 68px;
left: 876px;
}
.item_5 {
position: absolute;
bottom: 120px;
left: 696px;
}
.item_6 {
position: absolute;
bottom: 138px;
left: 550px;
}
.item_7 {
position: absolute;
bottom: 138px;
left: 406px;
}
.item_8 {
position: absolute;
bottom: 120px;
left: 264px;
}
.item_9 {
position: absolute;
bottom: 66px;
left: 82px;
}
.item_10 {
position: absolute;
bottom: 30px;
left: 198px;
}
.item_11 {
position: absolute;
bottom: 14px;
left: 340px;
}
.oneLine {
padding-top: 32px;
}
}
.bg {
position: absolute;
bottom: 0;
left: 50%; // 居中
transform: translateX(-50%);
margin-top: auto;
width: 1040px;
height: 194px;
}
.footer {
position: relative;
width: 1280px;
height: 783px;
margin-top: -35px;
.bg {
position: absolute;
bottom: 0;
// left: 0;
left: 50%; // 居中
transform: translateX(-50%);
width: 100%;
height: 100%;
// left: 50%; // 居中
// transform: translateX(-50%);
// margin-top: auto;
// width: 1040px;
// height: 783px;
}
}
}
} }
* { * {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!