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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
| <template>
| <div class="content-container flex flex-col justify-between">
| <div class="content-item" v-for="item in contentList" :key="item.itemIndex">
| <div class="content-wrapper flex justify-between">
|
| <!-- 信息面板 -->
| <div class="info-content flex flex-col justify-between">
| <div class="info-item">
| <span class="info-label">通择时问:</span>
| <span class="info-value">{{ item.time }}</span>
| </div>
| <div class="info-item">
| <span class="info-label">隐患类型:</span>
| <span class="info-value">{{ item.type }}</span>
| </div>
| <div class="info-item">
| <span class="info-label">责任单位:</span>
| <span class="info-value">{{ item.unit }}</span>
| </div>
| <div class="info-item">
| <span class="info-label">鄂改时限:</span>
| <span class="info-value">{{ item.rectTime }}</span>
| </div>
| <div class="info-item">
| <span class="info-label">完成情况:</span>
| <span class="info-value">{{ item.state }}</span>
| </div>
| </div>
|
| <!-- 图片列表 -->
| <div class="image-content flex justify-between items-center">
| <ImageSwiper :imageList="item.images"></ImageSwiper>
| </div>
| </div>
| </div>
| </div>
| </template>
|
| <script setup>
| import testImage from '@/assets/img/test_img/道安办.png';
|
| import ImageSwiper from './imageSwiper.vue';
| import { ref } from 'vue';
|
| const contentList = ref([
| {
| itemIndex: 1,
| time: '2023 12-12',
| type: '道路隐患',
| unit: '都江堰市公安局',
| rectTime: '2023-13-23',
| state: '抢修中',
| images: [
| testImage,
| testImage,
| testImage,
| testImage,
| testImage,
| ]
| },
| {
| itemIndex: 2,
| time: '2023 12-12',
| type: '道路隐患',
| unit: '都江堰市公安局',
| rectTime: '2023-13-23',
| state: '抢修中',
| images: [
| testImage,
| testImage,
| testImage,
| testImage,
| testImage,
| ]
| },
| {
| itemIndex: 3,
| time: '2023 12-12',
| type: '道路隐患',
| unit: '都江堰市公安局',
| rectTime: '2023-13-23',
| state: '抢修中',
| images: [
| testImage,
| testImage,
| testImage,
| testImage,
| testImage,
| ]
| }
| ]);
| </script>
|
| <style lang="scss" scoped>
| .content-container {
| height: 510px;
| }
|
| .content-item {
| background-color: rgba(17, 34, 58, 0.6);
| padding: 18px 7px 18px 23px;
| border: 1px solid #29466A;
| }
|
| .content-item:last-child {
| margin-bottom: 0px;
| }
|
| .info-item {
| font-size: 12px;
|
| .info-label {
| color: rgba(91, 131, 189, 1);
| }
| }
| </style>
|
|