Commit 2a9137fa by 胡悦

feat(home): 添加自动驾驶页面并调整导航顺序

引入新的自动驾驶展示页面组件,将其插入到导航顺序中。将原运营看板位置后移,并更新相关导航逻辑和标签文本。
1 parent 1948df09
......@@ -21,7 +21,8 @@
<view-life-scene-data v-if="current == 3" />
<energy-car v-if="current == 2" />
<ai-video v-if="current == 4" />
<view-operational v-if="current == 5" />
<autonomous-driving v-if="current == 5" />
<view-operational v-if="current == 6" />
<view-entire-lifecycleOf-car v-if="current == 1" />
<!-- <GlskDataViewSceneIndex v-if="current == 4"></GlskDataViewSceneIndex> -->
</transition>
......@@ -45,6 +46,7 @@ import videoPage from '@/views/videoPage/index.vue'
// energyCar ViewEntireLifecycleOfCar
import AiVideo from '@/views/aiVideo/index.vue'
import EnergyCar from '@/views/energyCar/index.vue'
import AutonomousDriving from './pages/AutonomousDriving.vue'
export default {
name: '',
components: {
......@@ -55,7 +57,8 @@ export default {
EnergyCar,
videoPage,
GlskDataViewSceneIndex,
AiVideo
AiVideo,
AutonomousDriving
},
data() {
return {
......@@ -67,7 +70,8 @@ export default {
2: '广联数据要素大屏',
3: '广联新能源车主服务行业大模型',
4: '广联新能源车主服务行业大模型',
5: '广联数科运营看板'
5: '智能网联汽车安全监管平台',
6: '广联数科运营看板'
},
startX: 0,
moveX: 0,
......@@ -119,7 +123,7 @@ export default {
// 下一页
nextClick() {
const index = this.current
if (index == 5) {
if (index == 6) {
// this.current = 0
// window.open('https://bi-view.beta.glsx.com.cn/#/home', '_blank')
// return false
......
<!--
* @Description: 自动驾驶页面
* @Author: huyue
* @Date: 2026-03-30
* @LastEditors: huyue
* @LastEditTime: 2026-03-30
-->
<template>
<div class="view-content">
<div class="content">
<el-carousel height="70vh" :interval="4000" arrow="never" indicator-position="outside">
<el-carousel-item v-for="(item, index) in imageList" :key="index">
<img :src="item" alt="" class="carousel-img">
</el-carousel-item>
</el-carousel>
</div>
</div>
</template>
<script>
export default {
name: 'AutonomousDriving',
data() {
return {
imageList: [
'https://img02.glsx.com.cn/weapp/resource/saas/images/auto-1.png',
'https://img02.glsx.com.cn/weapp/resource/saas/images/auto-2.png',
'https://img02.glsx.com.cn/weapp/resource/saas/images/auto-3.png',
'https://img02.glsx.com.cn/weapp/resource/saas/images/auto-4.png',
// 'https://img02.glsx.com.cn/weapp/resource/saas/images/auto-5.png'
]
}
},
created() {},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.view-content {
width: 90%;
margin: 0 auto;
height: 100%;
margin-top: 100px;
// margin-top: 20%;
// transform: translateY(-50%);
}
.carousel-img {
width: 100%;
height: 100%;
object-fit: contain;
// border-radius: 12px;
// border: 2px solid rgba(0, 200, 255, 0.5);
// box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}
/deep/ {
.el-carousel__arrow--left {
left: 20px;
}
.el-carousel__arrow--right {
right: 20px;
}
.el-carousel__arrow {
width: 50px;
height: 50px;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 50%;
transition: all 0.3s;
border: 2px solid rgba(0, 200, 255, 0.5);
&:hover {
background-color: rgba(0, 200, 255, 0.8);
border-color: rgba(0, 200, 255, 1);
}
i {
font-size: 24px;
color: #fff;
}
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!