riku
2024-07-26 c827d70bd16535e103f4bcdd9f3ed53a5fd324e8
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
<view
  class="patrol-record-wrap {{item.ledgerFinished ? 'patrol-finished' : 'patrol-unfinished'}}"
>
  <view class="patrol-record-text-wrap">
    <view> {{indexText}} </view>
    <view style="display: flex;flex-direction: column;justify-content: space-between;">
      <view class="patrol-record-text">{{item.ledgerName}}</view>
      <view class="patrol-record-tag"
        >{{item.updateDate ? item.updateDate : '未提交'}}</view
      >
    </view>
  </view>
  <view class="patrol-record-img-wrap">
    <t-image
      wx:if="{{item.path1 == null}}"
      t-class="t-class-image"
      src="{{null}}"
      mode="aspectFill"
      width="80rpx"
      height="80rpx"
      shape="round"
    >
      <text  slot="error">未提交</text>
    </t-image>
    <block wx:else>
      <t-image
        wx:for="{{item.path1}}"
        wx:key="index"
        wx:for-item="urlItem"
        t-class="t-class-image"
        src="{{urlItem}}"
        mode="aspectFill"
        width="80rpx"
        height="80rpx"
        shape="round"
        aria-label="{{item.ledgerName}}"
      />
    </block>
  </view>
</view>