Commit 7adde82e by 匡雅琴

提交

1 parent 3f514a39
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
* @LastEditTime: 2023-07-07 18:01:41 * @LastEditTime: 2023-07-07 18:01:41
--> -->
<template> <template>
<div class="main-box"> <div class="text-box" :style="{'font-size': fontSize + 'px'}">{{ title }}</div>
<div class="trapezoid"> <div class="text-box">{{title}}</div></div>
</div>
</template> </template>
<script> <script>
...@@ -19,6 +17,10 @@ export default { ...@@ -19,6 +17,10 @@ export default {
title: { title: {
type: String, type: String,
default: '标题' default: '标题'
},
fontSize: {
type: Number,
default: 24
} }
}, },
...@@ -33,24 +35,12 @@ export default { ...@@ -33,24 +35,12 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main-box { .text-box {
position: relative; font-family: SourceHanSansCN-Bold;
background-image: url('../assets/images/title-bg.png'); font-weight: 700;
background-repeat: no-repeat; letter-spacing: 0;
background-size: 9.04vw 3.33vh; text-align: center;
border-image: linear-gradient(90deg, #074989, #30dcff, #074989) 1;
background-image: linear-gradient(180deg, #001948 0%, #00223c 99%);
} }
.trapezoid {
height: 3.33vh;
.text-box {
// width: 126px;
height: 3.33vh;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 14px;
color: #FFFFFF;
line-height: 3.33vh;
margin-left: 1.67vw;
}
}
</style> </style>
...@@ -28,6 +28,13 @@ const pages = [ ...@@ -28,6 +28,13 @@ const pages = [
isTab: true, isTab: true,
backgroundColor: '#F7F7F7' backgroundColor: '#F7F7F7'
} }
},
{
name: 'lifeSceneDataPage',
meta: {
isTab: true,
backgroundColor: '#F7F7F7'
}
} }
] ]
const keepAlives = [] const keepAlives = []
......
<!--
* @Description: 汽车全生命周期场景图数据页
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-08-22 17:31:50
-->
<template>
<div class="view-content">
<div class="content">
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneCenter></LifeSceneCenter>
<LifeSceneRight></LifeSceneRight>
</div>
</div>
</template>
<script>
import LifeSceneLeft from "../../lifeSceneDataPage/LifeSceneLeft.vue"
import LifeSceneCenter from "../../lifeSceneDataPage/LifeSceneCenter.vue"
import LifeSceneRight from "../../lifeSceneDataPage/LifeSceneRight.vue"
export default {
name: 'ViewLifeSceneData',
components: {
LifeSceneLeft,
LifeSceneCenter,
LifeSceneRight
},
data() {
return {
}
},
created() {
},
mounted() { },
methods: {
}
}
</script>
<style lang="scss" scoped>
.view-content {
width: 100%;
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 24px;
gap: 0 16px;
}
.content {
display: flex;
justify-content: space-between;
// padding: 1.78vh 0 0;
// margin-top: 1.78vh;
}
</style>
\ No newline at end of file \ No newline at end of file
<template>
<div class="center">
<div class="center-top">
</div>
</div>
</template>
<script>
export default {
name: 'LifeSceneCenter',
components: {
},
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.center {
width: 47.78vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
}
}
</style>
\ No newline at end of file \ No newline at end of file
<template>
<div class="left">
<div class="left-top">
</div>
</div>
</template>
<script>
export default {
name: 'LifeSceneLeft',
components: {
},
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 47.78vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
}
}
</style>
\ No newline at end of file \ No newline at end of file
<template>
<div class="right">
<div class="right-top">
</div>
</div>
</template>
<script>
export default {
name: 'LifeSceneRight',
components: {
},
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.right {
width: 47.78vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
}
}
</style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!