From 45237a5746e794060e48bd172161c08660621d5c Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Tue, 08 Aug 2023 17:21:18 +0800
Subject: [PATCH] 登陆缓存 样式调整
---
pages/tabBar/response/response.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/pages/tabBar/response/response.vue b/pages/tabBar/response/response.vue
index cd8a87f..2823ae1 100644
--- a/pages/tabBar/response/response.vue
+++ b/pages/tabBar/response/response.vue
@@ -13,7 +13,7 @@
<u-loading-icon></u-loading-icon>
</div>
<!-- 页面内容 -->
-<!-- <view class="responseList" v-if="responseList.length > 0">-->
+
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="responseList" @scrolltoupper="upper" v-if="responseList.length > 0"
@scrolltolower="lower" @scroll="scroll" lower-threshold="50">
<view v-for="(item, index) in responseList" :key="index" class="itemContent" @click="toDetail(item)">
@@ -27,8 +27,6 @@
</view>
</view>
</scroll-view>
-<!-- </view>-->
-
<view v-else>
<u-empty
mode="data"
@@ -122,7 +120,7 @@
},
lower: function(e) {
if (this.data.pageIndex * this.data.pageSize >= this.total){
- uni.$u.toast('已加载全部数据')
+ // uni.$u.toast('已加载全部数据')
return
}
//并且让页码+1,调用获取数据的方法获取第二页数据
@@ -175,6 +173,7 @@
background: #fff;
border-radius: 5px;
box-shadow: 0 3px 12px rgba(0,0,0,0.05);
+
}
.itemContent{
color: #333;
--
Gitblit v1.9.2