Commit 4b5fa334 by 匡雅琴

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

2 parents 22c4cd81 3ff14e0c
......@@ -15,4 +15,8 @@ export default {
name: 'App'
}
</script>
<style lang="scss"></style>
<style lang="scss">
.tagcloud--item{
color: #fff !important;
}
</style>
......@@ -22,7 +22,7 @@
.title_box {
box-sizing: border-box;
padding-top: 19px;
padding-top:19px;
text-align: center;
.title {
......@@ -32,6 +32,8 @@
font-weight: 700;
font-size: 44px;
letter-spacing: 5px;
line-height: 44px;
// background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
// background-clip: text;
// -webkit-background-clip: text;
......
......@@ -37,17 +37,11 @@ export default {
// 左侧箭头点击事件
leftClickEvent() {
this.$emit('prev')
if (this.prevUrl) {
this.$router.push({ path: this.prevUrl })
}
},
// 右侧箭头点击事件
rightClickEvent() {
this.$emit('next')
if (this.nextUrl) {
this.$router.push({ path: this.nextUrl })
}
}
}
}
......
......@@ -26,11 +26,9 @@
</div>
</div>
<!-- 欢迎词 end -->
<fixed-arrow />
</div>
</template>
<script>
import FixedArrow from '@/components/Arrow.vue';
export default {
name: 'TopHead',
props: {
......@@ -39,9 +37,6 @@ export default {
default: '广联数科运营看板'
}
},
components:{
FixedArrow
},
data() {
return {
month: '',
......@@ -65,7 +60,7 @@ export default {
this.month = m.getMonth() + 1
this.day = m.getDate()
this.week = weekList[m.getDay()]
this.initTime();
this.initTime()
},
methods: {
// 定时获取时间
......
......@@ -6,8 +6,8 @@
* @LastEditTime: 2024-01-26 16:22:53
-->
<template>
<div class="layout">
<Head title="广联新能源车主行业大模型"></Head>
<div class="">
<!-- <Head title="广联新能源车主行业大模型"></Head> -->
<Architecture></Architecture>
<Model></Model>
<FixedArrow></FixedArrow>
......@@ -20,7 +20,7 @@ import Architecture from './Architecture'
import Head from '@/components/Head'
import FixedArrow from '@/components/Arrow.vue'
export default {
name: 'energyCar',
name: 'EnergyCar',
components: {
Model,
Architecture,
......
......@@ -6,31 +6,45 @@
* @LastEditTime: 2024-01-26 11:42:10
-->
<template>
<div class="layout">
<view-container>
<template #title>
<!-- <view-title>
</view-title> -->
<Head></Head>
</template>
<template #content>
<!-- <view-content></view-content> -->
<!-- <components :is="tabName"></components> -->
<view-life-scene-data></view-life-scene-data>
</template>
</view-container>
<div class="page_layout">
<!-- 顶部 开始 -->
<div class="head">
<top-head :title="titleList[current]" />
</div>
<!-- 顶部 end -->
<!-- 内容区域 开始 -->
<div class="content">
<view-life-scene-data v-show="current == 2" />
<energy-car v-show="current == 1" />
<view-operational v-show="current == 3" />
<view-entire-lifecycleOf-car v-show="current == 0" />
</div>
<!-- 内容区域 end -->
<!-- 左右箭头 开始 -->
<fixed-arrow @prev="prevClick" @next="nextClick" />
<!-- 左右箭头 end -->
</div>
</template>
<script>
import './pages'
import Head from '@/components/Head.vue'
import TopHead from '@/components/Head.vue'
import ViewLifeSceneData from './pages/ViewLifeSceneData.vue'
import FixedArrow from '@/components/Arrow.vue'
import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue'
//energyCar ViewEntireLifecycleOfCar
import EnergyCar from '@/views/energyCar/index.vue'
export default {
name: '',
components: {
Head,
ViewLifeSceneData
TopHead,
ViewLifeSceneData,
FixedArrow,
ViewEntireLifecycleOfCar,
EnergyCar
},
computed: {
tabName() {
......@@ -67,7 +81,14 @@ export default {
},
data() {
return {
activeName: ''
activeName: '',
current: 0,
titleList: {
0: '汽车全生命周期场景图',
1: '广联新能源车主行业大模型',
2: '汽车全生命周期场景图',
3: '广联数科运营看板'
}
}
},
created() {
......@@ -79,9 +100,44 @@ export default {
// selectVal(val) {
// console.log(val)
// }
// 前一页
prevClick() {
let index = this.current
if (index == 0) {
return false
}
this.current = index - 1
},
// 下一页
nextClick() {
let index = this.current
if (index == 3) {
return false
}
this.current = index + 1
}
}
}
</script>
<style lang="scss" scoped></style>
<style lang="scss">
body,
html {
background: #061422;
}
</style>
<style lang="scss" scoped>
.page_layout {
display: flex;
height: 100vh;
flex-direction: column;
.head {
flex-shrink: 0;
}
.content {
flex: 1;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!