riku
2026-01-19 068be2757aa2d51e3f6604dae54287683160ad0e
pages/mSelfPatrol/components/self-patrol/index.wxml
@@ -1,42 +1,39 @@
<!-- <scroll-view
  bindrefresherrefresh="init"
  refresher-enabled
  refresher-triggered="{{refresh}}"
  scroll-y
  style="height: 90vh;"
> -->
  <view class="self-patrol-static">
    <view> {{thisMonth}} </view>
    <view class="head_row">
      <view class="head_row_item">
        <view class="head_tag">自巡查提交数</view>
        <view class="head_1">{{finished}}</view>
      </view>
      <view class="head_row_item">
        <view class="head_tag">自巡查提交占比</view>
        <view class="head_1"
          >{{progress}}<text class="head_row_item_tag">%</text></view
        >
      </view>
<view class="self-patrol-promise" bindtap="gotoPromise">
  <t-icon name="notification-error" size="32rpx"/>
  <text class="promise-text"></text>
  <text class="promise_btn">去承诺 ></text>
</view>
<view class="self-patrol-static">
  <view class="head_right">
    <view style="font-size: 14px"> {{thisMonth}} </view>
    <text class="head_btn" bindtap="gotoHistory">历史记录 ></text>
  </view>
  <view class="head_row">
    <view class="head_row_item">
      <view class="head_tag">自巡查提交数</view>
      <view class="head_1">{{finished}}</view>
    </view>
    <view class="head_right">
      <text class="head_btn" bindtap="gotoHistory">历史记录 ></text>
    <view class="head_row_item">
      <view class="head_tag">自巡查提交占比</view>
      <view class="head_1"
        >{{progress}}<text class="head_row_item_tag">%</text></view
      >
    </view>
    <!-- <view class="self-patrol-progress">
  </view>
  <!-- <view class="self-patrol-progress">
    <t-progress percentage="{{progress}}" />
  </view> -->
  </view>
  <t-grid column="{{3}}" theme="card" gutter="{{40}}">
    <t-grid-item
      style="opacity: {{item.opacity}};"
      badge-props="{{ item.badge }}"
      wx:for="{{pageList1}}"
      wx:key="index"
      text="{{item.ledgerName}}"
      image="{{item.iconUrl}}"
      data-index="{{index}}"
      bindtap="gotoLedgerDetail"
      t-class-text="grid-item"
    />
  </t-grid>
<!-- </scroll-view> -->
</view>
<t-grid column="{{3}}" theme="card" gutter="{{40}}">
  <t-grid-item
    style="opacity: {{item.opacity}};"
    badge-props="{{ item.badge }}"
    wx:for="{{pageList1}}"
    wx:key="index"
    text="{{item.ledgerName}}"
    image="{{item.iconUrl}}"
    data-index="{{index}}"
    bindtap="gotoLedgerDetail"
    t-class-text="grid-item"
  />
</t-grid>