riku
2024-08-12 65124213af664a68ad88ce7f6dcb133116d7702f
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
<view wx:for="{{problemList}}" class="problem-wrap">
  <view>
    <text class="text-index">{{index + 1}}</text>
    <text class="text-1">{{item.problemname}}</text>
  </view>
  <view class="text-2">位置:{{item.location}}</view>
  <block wx:if="{{item.proPics.length > 0}}">
    <t-divider content="问题图片" align="left" />
    <view class="img-group">
      <view wx:for="{{item.proPics}}" wx:for-index="index2" wx:key="index2" wx:for-item="m">
        <t-image
          src="{{m}}"
          t-class="img-group_img"
          shape="round"
          aria-label="{{item.problemname}}"
          bindtap="previewImage"
          data-type="pro"
          data-index="{{[index, index2]}}"
        />
      </view>
    </view>
  </block>
  <block wx:if="{{item.changePics.length > 0}}">
    <t-divider content="整改图片" align="left" />
    <view class="img-group">
      <view wx:for="{{item.changePics}}" wx:for-index="index2" wx:key="index2" wx:for-item="m">
        <t-image
          src="{{m}}"
          t-class="img-group_img"
          shape="round"
          aria-label="{{item.problemname}}"
          bindtap="previewImage"
          data-type="change"
          data-index="{{[index, index2]}}"
        />
      </view>
    </view>
  </block>
  <t-divider />
</view>
<my-gallery
  hide-on-click="{{true}}"
  show-delete="{{false}}"
  show="{{showPreview}}"
  img-urls="{{previewImageUrls}}"
  current="{{previewCurrent}}"
  title="{{previewTitle}}"
  remark="{{previewRemark}}"
></my-gallery>