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