Commit a623df0c by 匡雅琴

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

2 parents da78097d 827a823c
<template>
<!-- 汽车全生命周期场景图 -->
<div class="view-content">
<!-- <div></div> -->
<Introduce class="left"></Introduce>
<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">
<!-- <div > -->
<ul class="swiper">
<li>
<div class="title">新能源充电场景模型</div>
<span class="introduce">
动态功率调节<br />
动态成本定价<br />
充电站营收预测<br />
充电站推荐
</span>
</li>
<li>
<div class="title">UBI保险场景模型</div>
<span class="introduce">
精准用户营销<br />
智能碰撞识别<br />
智能销售辅助<br />
千人千面推荐
</span>
</li>
<li>
<div class="title">金融风控场景模型</div>
<span class="introduce">
车辆风险等级<br />
高危用户判定<br />
警情复核筛查<br />
催收策略分析
</span>
</li>
<li>
<div class="title">数字维保场景模型</div>
<span class="introduce">
智能碰撞识别<br />
上门维修匹配<br />
出险概率评估<br />
保养自动提醒
</span>
</li>
<li>
<div class="title">数字化营销场景模型</div>
<span class="introduce">
动态功率调节<br />
动态成本定价<br />
充电站营收预测<br />
充电站推荐
</span>
</li>
<li>
<div class="title">二手车交易场景模型</div>
<span class="introduce">
车辆车况识别<br />
车辆残值估算<br />
车辆行情预测<br />
竞拍价格匹配
</span>
</li>
</ul>
<!-- </div> -->
<div class="titleCon">
<div class="title title1">广联新能源</div>
<div class="title title2">车主服务行业大模型</div>
<div class=" title3">基于行业数据共建</div>
</div>
<div class="item item_1">
交易数据<br />
触达数据<br />
转化数据
</div>
<div class="itemIcon icon1"></div>
<div class="item item_2">
风控数据<br />
轨迹数据<br />
设备数据<br />
告警数据
</div>
<div class="itemIcon icon2"></div>
<div class="item item_3">
车辆数据<br />
用车数据<br />
竞拍数据
</div>
<div class="itemIcon icon3"></div>
<div class="item item_4">
轻改产品数据<br />
话术数据<br />
技能数据
</div>
<div class="itemIcon icon4">
</div>
<img class="bg" src="../../../assets/images/viewEntireLifecycleOfCar/footer_ring.png" alt="">
</div>
</div>
<!-- <div class="scene">
<div class="carousel">
<div class="carousel__cell">1</div>
......@@ -37,7 +143,7 @@
</p>
</div> -->
<Introduce></Introduce>
</div>
</template>
......@@ -47,81 +153,122 @@ export default {
name: 'ViewEntireLifecycleOfCar',
components: { Introduce },
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() {
// return {}
// },
created() { },
mounted() {
// var carousel = document.querySelector('.carousel')
// // var cells = carousel.querySelectorAll('.carousel__cell')
// var cellCount // cellCount set from cells-range input value
// var selectedIndex = 0
// var cellWidth = carousel&&carousel.offsetWidth
// var cellHeight = carousel&&carousel.offsetHeight
// var isHorizontal = true
// var rotateFn = isHorizontal ? 'rotateY' : 'rotateX'
// var radius, theta
// // console.log( cellWidth, cellHeight );
// function rotateCarousel() {
// var angle = theta * selectedIndex * -1
// carousel.style.transform = 'translateZ(' + -radius + 'px) ' + rotateFn + '(' + angle + 'deg)'
// }
// var prevButton = document.querySelector('.previous-button')
// prevButton.addEventListener('click', function () {
// selectedIndex--
// rotateCarousel()
// })
// var nextButton = document.querySelector('.next-button')
// nextButton.addEventListener('click', function () {
// selectedIndex++
// rotateCarousel()
// })
// var cellsRange = document.querySelector('.cells-range')
// cellsRange.addEventListener('change', changeCarousel)
// cellsRange.addEventListener('input', changeCarousel)
// function changeCarousel() {
// cellCount = cellsRange.value
// theta = 360 / cellCount
// var cellSize = isHorizontal ? cellWidth : cellHeight
// radius = Math.round(cellSize / 2 / Math.tan(Math.PI / cellCount))
// for (var i = 0; i < cells.length; i++) {
// var cell = cells[i]
// if (i < cellCount) {
// // visible cell
// cell.style.opacity = 1
// var cellAngle = theta * i
// cell.style.transform = rotateFn + '(' + cellAngle + 'deg) translateZ(' + radius + 'px) ' + `translateZ (100px)`
// } else {
// // hidden cell
// cell.style.opacity = 0
// cell.style.transform = 'none'
// }
// }
// rotateCarousel()
// }
// var orientationRadios = document.querySelectorAll('input[name="orientation"]')
// ;(function () {
// for (var i = 0; i < orientationRadios.length; i++) {
// var radio = orientationRadios[i]
// radio.addEventListener('change', onOrientationChange)
// }
// })()
// function onOrientationChange() {
// var checkedRadio = document.querySelector('input[name="orientation"]:checked')
// isHorizontal = checkedRadio.value == 'horizontal'
// rotateFn = isHorizontal ? 'rotateY' : 'rotateX'
// changeCarousel()
// }
// // set initials
// onOrientationChange()
var carousel = document.querySelector('.carousel')
var cells = carousel.querySelectorAll('.carousel__cell')
var cellCount // cellCount set from cells-range input value
var selectedIndex = 0
var cellWidth = carousel.offsetWidth
var cellHeight = carousel.offsetHeight
var isHorizontal = true
var rotateFn = isHorizontal ? 'rotateY' : 'rotateX'
var radius, theta
// console.log( cellWidth, cellHeight );
function rotateCarousel() {
var angle = theta * selectedIndex * -1
carousel.style.transform = 'translateZ(' + -radius + 'px) ' + rotateFn + '(' + angle + 'deg)'
}
var prevButton = document.querySelector('.previous-button')
prevButton.addEventListener('click', function () {
selectedIndex--
rotateCarousel()
})
var nextButton = document.querySelector('.next-button')
nextButton.addEventListener('click', function () {
selectedIndex++
rotateCarousel()
})
var cellsRange = document.querySelector('.cells-range')
cellsRange.addEventListener('change', changeCarousel)
cellsRange.addEventListener('input', changeCarousel)
function changeCarousel() {
cellCount = cellsRange.value
theta = 360 / cellCount
var cellSize = isHorizontal ? cellWidth : cellHeight
radius = Math.round(cellSize / 2 / Math.tan(Math.PI / cellCount))
for (var i = 0; i < cells.length; i++) {
var cell = cells[i]
if (i < cellCount) {
// visible cell
cell.style.opacity = 1
var cellAngle = theta * i
cell.style.transform = rotateFn + '(' + cellAngle + 'deg) translateZ(' + radius + 'px) ' + `translateZ (100px)`
} else {
// hidden cell
cell.style.opacity = 0
cell.style.transform = 'none'
}
}
rotateCarousel()
}
var orientationRadios = document.querySelectorAll('input[name="orientation"]')
; (function () {
for (var i = 0; i < orientationRadios.length; i++) {
var radio = orientationRadios[i]
radio.addEventListener('change', onOrientationChange)
}
})()
function onOrientationChange() {
var checkedRadio = document.querySelector('input[name="orientation"]:checked')
isHorizontal = checkedRadio.value == 'horizontal'
rotateFn = isHorizontal ? 'rotateY' : 'rotateX'
changeCarousel()
}
// set initials
onOrientationChange()
},
methods: {}
}
......@@ -137,11 +284,382 @@ export default {
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/bg.png);
background-size: 100% 100%;
gap: 0 16px;
display: flex;
.top-tab {
margin-bottom: 1.78vh;
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;
.swiper {
li {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.title {
// position: absolute;
position: relative;
margin-bottom: 20px;
width: 180px;
height: 24px;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 18px;
// color: #56E3F9;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
// letter-spacing: 0;
text-align: center;
line-height: 24px;
&::after {
content: '';
position: absolute;
left: 0;
bottom: -2px;
display: block;
width: 100%;
height: 10px;
opacity: 0.2;
background-image: linear-gradient(90deg, #00C8FF 0%, #0069F2 100%);
}
}
.introduce {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 16px;
color: #DEDEDE;
letter-spacing: 0;
text-align: center;
line-height: 28px;
}
}
.titleCon {
position: absolute;
bottom: 221px;
left: 50%;
height: 100px;
transform: translateX(-50%);
z-index: 1;
.title {
font-family: SourceHanSansCN-Bold;
font-weight: 700;
font-size: 24px;
height: 32px;
line-height: 32px;
text-align: center;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.title3 {
margin-top: 10px;
opacity: 0.9;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 18px;
color: #DEDEDE;
}
// line-height: 32px;
}
.itemIcon {
width: 80px;
height: 80px;
position: absolute;
background-size: 100% 100%;
z-index: 1;
}
.item {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 16px;
color: #56E3F9;
letter-spacing: 0;
line-height: 26px;
position: absolute;
z-index: 1;
text-align: left;
}
.item_1 {
left: 190px;
bottom: 100px;
}
.item_2 {
left: 382px;
bottom: 111px;
}
.item_3 {
left: 834px;
bottom: 111px;
}
.item_4 {
left: 1021px;
bottom: 100px;
}
.icon1 {
left: 268px;
bottom: 138px;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/footer_item01.png);
}
.icon2 {
left: 450px;
bottom: 58px;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/footer_item02.png);
}
.icon3 {
left: 750px;
bottom: 58px;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/footer_item03.png);
}
.icon4 {
left: 932px;
bottom: 138px;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/footer_item04.png);
}
.bg {
position: absolute;
bottom: 0;
// left: 0;
left: 50%; // 居中
transform: translateX(-50%);
width: 100%;
height: 100%;
z-index: 0;
// left: 50%; // 居中
// transform: translateX(-50%);
// margin-top: auto;
// width: 1040px;
// height: 783px;
}
}
}
}
ul {
margin: -30px auto 0;
list-style: none;
width: 400px;
height: 400px;
margin: 0 auto;
// margin-top: 200px;
position: relative;
transform-style: preserve-3d;
transform: rotateX(-10deg);
z-index: 1;
animation: spin 60s infinite linear;
}
@keyframes spin {
to {
transform: rotateX(-10deg) rotateY(360deg);
}
}
ul:hover {
animation-play-state: paused;
}
li {
position: absolute;
width: 260px;
height: 230px;
top: 100px;
left: 0;
background: url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png);
background-size: 100% 100%;
}
li:nth-child(1) {
transform: translateZ(600px);
}
li:nth-child(2) {
transform: translateZ(-600px) rotateY(180deg);
// transform: translateZ(-600px) rotateY(180deg);
// transform: rotateY(51.4deg) translateZ(600px);
}
li:nth-child(3) {
transform: rotateY(60deg) translateZ(-600px);
// transform: rotateY(102.8deg) translateZ(600px);
// transform: rotateY(60deg) translateZ(-600px);
}
li:nth-child(4) {
transform: rotateY(60deg) translateZ(600px);
// transform: rotateY(60deg) translateZ(600px);
// transform: rotateY(154.2deg) translateZ(600px);
}
li:nth-child(5) {
transform: rotateY(-60deg) translateZ(600px);
}
li:nth-child(6) {
transform: rotateY(-60deg) translateZ(-600px);
// transform: rotateY(-60deg) translateZ(600px);
}
* {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!