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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
| <template>
| <div class="contents">
| <!-- 一单元 -->
| <div class="cen_div">
| <centerLeft1index :dataList="dataList[0]" :plcList_one="plcList_one" />
| </div>
| <!-- 一单元 -->
|
|
| <!-- 二单元 -->
| <div class="cen_div">
| <centerLeft2index :dataList="dataList[1]" :plcList_one="plcList_two" />
| </div>
| <!-- 二单元 -->
|
|
| <!-- 三单元 -->
| <div class="cen_div" >
| <centerLeft3index :dataList="dataList" :plcList_one="plcList_three" />
| </div>
| <!-- 三单元 -->
| <!-- 三单元 -->
| <div class="cen_div" style="margin-left: 80px;">
| <centerLeft4index :dataList="dataList" :plcList_one="plcList_three" />
| </div>
| <!-- 三单元 -->
| </div>
| </template>
|
| <script>
| import axios from 'axios';
| import centerLeft1index from '@/views/Homes/Homest/centerLeft1index.vue';
| import centerLeft2index from '@/views/Homes/Homest/centerLeft2index.vue';
| import centerLeft3index from '@/views/Homes/Homest/centerLeft3index.vue';
| import centerLeft4index from '@/views/Homes/Homest/centerLeft4index.vue';
|
| export default {
| props: {
| dataList: {
| type: Array,
| required: true
| },
| plcList_one:{
| type: Array,
| required: true
| },
| plcList_two:{
| type: Array,
| required: true
| },
| plcList_three:{
| type: Array,
| required: true
| }
| },
| data() {
| return {
| };
| },
| components: {
| centerLeft1index,
| centerLeft2index,
| centerLeft3index,
| centerLeft4index,
| },
| mounted() {
| },
| methods: {
| }
| }
| </script>
|
| <style >
|
| .contents {
| display: flex;
| align-items: flex-end;
| }
| .cen_div{
| display: flex;
| margin-top: 20px;
| }
|
|
| </style>
|
|