From 068be2757aa2d51e3f6604dae54287683160ad0e Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 19 一月 2026 17:29:48 +0800
Subject: [PATCH] 2026.1.19
---
pages/mSelfPatrol/components/self-patrol/index.wxml | 73 +++++++++++++++++-------------------
1 files changed, 35 insertions(+), 38 deletions(-)
diff --git a/pages/mSelfPatrol/components/self-patrol/index.wxml b/pages/mSelfPatrol/components/self-patrol/index.wxml
index 9af9f77..2f71c5d 100644
--- a/pages/mSelfPatrol/components/self-patrol/index.wxml
+++ b/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">
- <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>
--
Gitblit v1.9.3