ZhangXianQiang
2024-03-07 38a50cb176a78aa5bf5b9f550eb1aab520b402a6
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<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 { require } from '@/utils/require.js';
 
import Test1 from '@/assets/img/test_img/test1.jpg';
import Test2 from '@/assets/img/test_img/test2.jpg';
import Test3 from '@/assets/img/test_img/test3.jpg';
import Test4 from '@/assets/img/test_img/test4.jpg';
import Test5 from '@/assets/img/test_img/test5.jpg';
import Test6 from '@/assets/img/test_img/test6.png';
import Test7 from '@/assets/img/test_img/test7.jpg';
import Test8 from '@/assets/img/test_img/test8.png';
import Test9 from '@/assets/img/test_img/test9.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: [
      Test1,
      Test2,
      Test3,
      Test4,
      Test5,
      Test6,
      Test7,
      Test8,
      Test9,
    ]
  },
  {
    itemIndex: 2,
    time: '2023 12-12',
    type: '道路隐患',
    unit: '都江堰市公安局',
    rectTime: '2023-13-23',
    state: '抢修中',
    images: [
      Test3,
      Test1,
      Test8,
      Test2,
      Test9,
      Test6,
      Test4,
      Test5,
      Test7,
    ]
  },
  {
    itemIndex: 3,
    time: '2023 12-12',
    type: '道路隐患',
    unit: '都江堰市公安局',
    rectTime: '2023-13-23',
    state: '抢修中',
    images: [
      Test7,
      Test3,
      Test1,
      Test2,
      Test6,
      Test8,
      Test4,
      Test9,
      Test5,
    ]
  }
]);
</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;
  font-family: 'PingFang SC';
 
  .info-label {
    color: #5b83bd;
  }
}
</style>