Commit 4417c16b by 匡雅琴

提交

1 parent 7d011225
<template> <template>
<div class="center"> <div class="center">
<div class="center-top"></div> <BoxTitle :title="'智能维保'" :textAlign="'center'"></BoxTitle>
<BoxTitle :title="'智能维保'" :textAlign="'center'" class="top-title"></BoxTitle> <div class="center-top">
<StatisticBox :list="maintenanceStatisData"></StatisticBox> <StatisticBox :list="maintenanceStatisData"></StatisticBox>
</div>
<NearThread /> <NearThread />
<div class="center-bottom"> <div class="center-bottom">
<Maintenance></Maintenance> <Maintenance></Maintenance>
...@@ -38,20 +39,10 @@ export default { ...@@ -38,20 +39,10 @@ export default {
.center { .center {
width: 31.67vw; width: 31.67vw;
&-top { &-top {
display: flex; margin: 1.48vh 0 0.74vh;
justify-content: space-between;
margin-bottom: 1.78vh;
} }
&-bottom { &-bottom {
box-sizing: border-box; margin-top: 0.74vh;
padding: 2.59vh 1.04vw;
width: 100%;
height: 38.52vh;
border: 1px solid;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
.top-title {
margin-bottom: 1.48vh;
}
} }
} }
</style> </style>
<template> <template>
<div class="left"> <div class="left">
<BoxTitle :title="'智能知识库'" :textAlign="'center'"></BoxTitle> <BoxTitle :title="'智能知识库'" :textAlign="'center'"></BoxTitle>
<div class="left-top"> <div class="left-top">
<KnownlageBase :title="'权益知识库'" :dataObj="equityDataObj" :data="'knownledge1'" /> <KnownlageBase :title="'权益知识库'" :dataObj="equityDataObj" :data="'knownledge1'" />
<KnownlageBase :title="'轻改知识库'" :dataObj="equityDataObj" :data="'knownledge2'" /> <KnownlageBase :title="'轻改知识库'" :dataObj="equityDataObj" :data="'knownledge2'" />
...@@ -11,60 +11,58 @@ ...@@ -11,60 +11,58 @@
<HotWords /> <HotWords />
</div> </div>
<div class="left-bottom"> <div class="left-bottom">
<MarketingQuestion> <MarketingQuestion></MarketingQuestion>
</MarketingQuestion>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import AIMerchant from './components/AIMerchant.vue'; import AIMerchant from './components/AIMerchant.vue'
import MarketingQuestion from './components/MarketingQuestion.vue' import MarketingQuestion from './components/MarketingQuestion.vue'
import KnownlageBase from './components/KnownlageBase.vue'; import KnownlageBase from './components/KnownlageBase.vue'
import HotWords from './components/HotWords.vue'; import HotWords from './components/HotWords.vue'
import { equityData, equityDataObj } from './const/index' import { equityData, equityDataObj } from './const/index'
export default { export default {
name: 'LifeSceneLeft', name: 'LifeSceneLeft',
components: { components: {
AIMerchant, AIMerchant,
HotWords, HotWords,
KnownlageBase, KnownlageBase,
MarketingQuestion MarketingQuestion
}, },
data() { data() {
return { return {
equityData, equityData,
equityDataObj equityDataObj
}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
} }
&-center { },
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 1.78vh; margin: 1.48vh 0 0.74vh 0;
} }
&-bottom { &-center {
box-sizing: border-box; display: flex;
padding: 2.59vh 1.04vw; justify-content: space-between;
width: 100%; margin-bottom: 0.74vh;
height: 38.52vh;
border: 1px solid;
border-image: linear-gradient(to right, #1F5387,#73EAFF, #275FCA) 1;
} }
&-bottom {
// box-sizing: border-box;
// padding: 2.59vh 1.04vw;
// width: 100%;
// height: 38.52vh;
// border: 1px solid;
// border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
} }
</style>
\ No newline at end of file \ No newline at end of file
}
</style>
...@@ -30,6 +30,9 @@ export default { ...@@ -30,6 +30,9 @@ export default {
width: 21.04vw; width: 21.04vw;
height: 23.8vh; height: 23.8vh;
padding: 1.85vh; padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/AI-bg.png);
background-size: 100% 100%;
.bottom-line { .bottom-line {
width: 16.28vw; width: 16.28vw;
height: 0.23vh; height: 0.23vh;
......
...@@ -49,13 +49,13 @@ export default { ...@@ -49,13 +49,13 @@ export default {
.hot-box { .hot-box {
width: 10.31vw; width: 10.31vw;
height: 23.8vh; height: 23.8vh;
background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100% 100%;
} }
.tagcloud { .tagcloud {
width: 8.85vw !important; width: 8.85vw !important;
height: 8.85vw !important; height: 8.85vw !important;
background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100% 100%;
span { span {
color: #5894FF; color: #5894FF;
......
...@@ -42,8 +42,9 @@ export default { ...@@ -42,8 +42,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.knownledge-box { .knownledge-box {
width: 10.31vw; width: 10.31vw;
// height: 19.72vh; height: 19.72vh;
padding: 1.85vh; padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/knownledge-bg.png); background-image: url(../../../assets/images/knownledge-bg.png);
background-size: 100% 100%; background-size: 100% 100%;
.trend-img { .trend-img {
......
...@@ -39,6 +39,8 @@ export default { ...@@ -39,6 +39,8 @@ export default {
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 100%;
} }
.dialogue-content { .dialogue-content {
padding-top: 3.98vh; padding-top: 3.98vh;
......
...@@ -37,8 +37,13 @@ export default { ...@@ -37,8 +37,13 @@ export default {
.markeing-box { .markeing-box {
display: flex; display: flex;
align-items: center; align-items: center;
box-sizing: border-box;
padding: 2.59vh 1.04vw;
width: 100%; width: 100%;
height: 100%; height: 38.52vh;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 100%;
} }
.dialogue-content { .dialogue-content {
padding-top: 3.98vh; padding-top: 3.98vh;
......
...@@ -31,6 +31,9 @@ export default { ...@@ -31,6 +31,9 @@ export default {
width: 31.67vw; width: 31.67vw;
height: 35.37vh; height: 35.37vh;
padding: 1.85vh; padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/near-bg.png);
background-size: 100% 100%;
.bottom-line { .bottom-line {
width: 16.28vw; width: 16.28vw;
height: 0.23vh; height: 0.23vh;
......
<template> <template>
<div class="statistics"> <div class="statistics">
<div class="statistics-item" v-for="(item, index) in list" :key="index" :style="{'width': 100 / list.length + '%'}"> <div class="statistics-item" v-for="(item, index) in list" :key="index" :style="{ width: 100 / list.length + '%' }">
<div class="statistics-top"> <div class="statistics-top">
<div class="statistics-name">{{item.name}}</div> <div class="statistics-name">{{ item.name }}</div>
<div class="statistic-text">{{numAddSymbol(item.value)}}{{ item.unit }}</div> <div class="statistics-text">{{ numAddSymbol(item.value) }}{{ item.unit }}</div>
</div>
</div>
</div> </div>
</template> </div>
</div>
<script> </template>
export default {
name: 'StatisticsBox', <script>
props: { export default {
list: { name: 'StatisticsBox',
type: Array props: {
} list: {
// bottomType: { type: Array
// type: String, }
// default: 'default' // bottomType: {
// } // type: String,
}, // default: 'default'
data() { // }
return { },
} data() {
}, return {}
},
mounted() {},
mounted() {},
methods: {}
} methods: {}
</script> }
</script>
<style lang="scss" scoped>
.statistics { <style lang="scss" scoped>
display: flex; .statistics {
height: 8.15vh; display: flex;
color: #E8E8E8; height: 8.15vh;
&-item { &-item {
width: 10.26vw; width: 10.26vw;
padding: 1.48vh 1.04vw; padding: 1.48vh 1.04vw;
margin-right: 0.42vw; box-sizing: border-box;
background-image: url(../../../assets/images/statistic-bg.png); margin-right: 0.42vw;
background-size: 100% 100%; background-image: url(../../../assets/images/statistic-bg.png);
&:last-child { background-size: 100% 100%;
margin-right: 0; &:last-child {
} margin-right: 0;
} }
} }
</style>
\ No newline at end of file \ No newline at end of file
&-name {
font-weight: 500;
font-size: 14px;
color: #e8e8e8;
}
&-text {
font-weight: 600;
font-size: 18px;
background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
margin-top: 1.1vh;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!