From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007
---
h5/pages/applicationRecord/applicationRecord.vue | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/h5/pages/applicationRecord/applicationRecord.vue b/h5/pages/applicationRecord/applicationRecord.vue
index 6a17869..5739e07e 100644
--- a/h5/pages/applicationRecord/applicationRecord.vue
+++ b/h5/pages/applicationRecord/applicationRecord.vue
@@ -103,13 +103,21 @@
}
}
},
- onLoad() {
- this.getList()
+ onShow() {
+ this.pagination.page = 0
+ this.list = []
+ this.getList()
},
onReachBottom() {
- if (this.total > 10) {
- this.getList()
- }
+ const {
+ total,
+ list
+ } = this
+ if (list.length < total) {
+ this.getList()
+ } else {
+ this.showToast('鏆傛棤鏇村鏁版嵁')
+ }
},
methods: {
handleDetail(id) {
@@ -171,17 +179,18 @@
align-items: center;
justify-content: space-between;
.active {
- border: 1rpx solid $uni-color-primary !important;
+ border: 2rpx solid $uni-color-primary !important;
color: $uni-color-primary !important;
}
.box_head_item {
width: 156rpx;
text-align: center;
height: 60rpx;
- line-height: 60rpx;
- box-sizing: border-box;
+ display: flex;
+ align-items: center;
+ justify-content: center;
border-radius: 30rpx;
- border: 1rpx solid #999999;
+ border: 2rpx solid #999999;
font-size: 26rpx;
font-weight: 400;
color: #333333;
--
Gitblit v1.9.3