LifeSceneCenter.vue
931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<template>
<div class="center">
<BoxTitle :title="'智能维保'" :textAlign="'center'"></BoxTitle>
<div class="center-top">
<StatisticBox :list="maintenanceStatisData"></StatisticBox>
</div>
<NearThread />
<div class="center-bottom">
<Maintenance></Maintenance>
</div>
</div>
</template>
<script>
import StatisticBox from './components/StatisticBox.vue'
import NearThread from './components/NearThread.vue'
import Maintenance from './components/Maintenance.vue'
import { maintenanceStatisData } from './const/index'
export default {
name: 'LifeSceneCenter',
components: {
StatisticBox,
NearThread,
Maintenance
},
data() {
return {
maintenanceStatisData
}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.center {
width: 31.67vw;
&-top {
margin: 1.48vh 0 0.74vh;
}
&-bottom {
margin-top: 0.74vh;
}
}
</style>