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
| <template>
| <div>
| <statistics-box v-for="(item, index) in params" :key="index" :params="item"></statistics-box>
| </div>
| </template>
|
| <script>
| import statisticsBox from './echarts/statisticsBox.vue'
|
| export default {
| components: { statisticsBox },
|
| data () {
| return {
| params: [
| {
| color: 'red',
| imgUrl: '/images/水质监测站.png',
| typeNum: '安全',
| title: '大坝安全监测'
| },
| {
| color: 'skyblue',
| imgUrl: '/images/水质监测站.png',
| typeNum: '87',
| unit: '%',
| title: '责任人落实'
| },
| {
| color: 'pink',
| imgUrl: '/images/水质监测站.png',
| typeNum: '239',
| unit: '座',
| title: '超汛水库'
| },
| ]
| }
| },
| }
| </script>
|
| <style lang="scss" scoped></style>
|
|