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>
...@@ -11,19 +11,18 @@ ...@@ -11,19 +11,18 @@
<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,
...@@ -41,30 +40,29 @@ import { equityData, equityDataObj } from './const/index' ...@@ -41,30 +40,29 @@ import { equityData, equityDataObj } from './const/index'
mounted() {}, mounted() {},
methods: {} methods: {}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.left { .left {
width: 31.67vw; width: 31.67vw;
&-top { &-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 1.78vh; margin: 1.48vh 0 0.74vh 0;
} }
&-center { &-center {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 1.78vh; margin-bottom: 0.74vh;
} }
&-bottom { &-bottom {
box-sizing: border-box; // box-sizing: border-box;
padding: 2.59vh 1.04vw; // padding: 2.59vh 1.04vw;
width: 100%; // width: 100%;
height: 38.52vh; // height: 38.52vh;
border: 1px solid; // border: 1px solid;
border-image: linear-gradient(to right, #1F5387,#73EAFF, #275FCA) 1; // 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>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'StatisticsBox', name: 'StatisticsBox',
props: { props: {
list: { list: {
...@@ -22,24 +22,23 @@ ...@@ -22,24 +22,23 @@
// } // }
}, },
data() { data() {
return { return {}
}
}, },
mounted() {}, mounted() {},
methods: {} methods: {}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.statistics { .statistics {
display: flex; display: flex;
height: 8.15vh; height: 8.15vh;
color: #E8E8E8;
&-item { &-item {
width: 10.26vw; width: 10.26vw;
padding: 1.48vh 1.04vw; padding: 1.48vh 1.04vw;
box-sizing: border-box;
margin-right: 0.42vw; margin-right: 0.42vw;
background-image: url(../../../assets/images/statistic-bg.png); background-image: url(../../../assets/images/statistic-bg.png);
background-size: 100% 100%; background-size: 100% 100%;
...@@ -47,6 +46,18 @@ ...@@ -47,6 +46,18 @@
margin-right: 0; margin-right: 0;
} }
} }
&-name {
font-weight: 500;
font-size: 14px;
color: #e8e8e8;
} }
</style>
\ No newline at end of file \ No newline at end of file
&-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!