riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
pages/selfpatrol/components/patrol-record/index.wxml
@@ -1,29 +1,25 @@
<view
  class="patrol-record-wrap {{item.ledgerFinished ? 'patrol-finished' : 'patrol-unfinished'}}"
>
<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 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 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"
      src="{{'/res/nodata.png'}}"
      mode="aspectFit"
      width="80rpx"
      height="80rpx"
      shape="round"
    >
      <text  slot="error">未提交</text>
      <text slot="error">未提交</text>
    </t-image>
    <block wx:else>
      <t-image
      <!-- <t-image
        wx:for="{{item.path1}}"
        wx:key="index"
        wx:for-item="urlItem"
@@ -34,7 +30,17 @@
        height="80rpx"
        shape="round"
        aria-label="{{item.ledgerName}}"
      /> -->
      <t-image
        t-class="t-class-image"
        src="{{picPath}}"
        mode="aspectFill"
        width="80rpx"
        height="80rpx"
        shape="round"
        aria-label="{{item.ledgerName}}"
      />
      <view wx:if="{{leftPic > 0}}" class="left-pic">+{{leftPic}}</view>
    </block>
  </view>
</view>