修改app部分样式异常

This commit is contained in:
Zy
2026-05-22 14:39:25 +08:00
parent f3f499dd4b
commit d0e1f8ea02
15 changed files with 245 additions and 147 deletions

View File

@@ -117,10 +117,7 @@ function getlist() {
if (isLoading.value || !hasMore.value) return
// 2. 开启锁
isLoading.value = true
uni.showLoading({
title: '加载中',
mask: true
})
getVillageHouseList_keyword(queryParmas.value, queryParmas.value.searchValue)
.then(res => {
// 追加数据(正确方式)
@@ -137,7 +134,6 @@ function getlist() {
})
.finally(() => {
isLoading.value = false
uni.hideLoading()
})
}

View File

@@ -116,10 +116,6 @@ function getlist() {
if (isLoading.value || !hasMore.value) return
// 2. 开启锁
isLoading.value = true
uni.showLoading({
title: '加载中',
mask: true
})
const { pageNum, pageSize, deviceType } = queryParmas.value
getReplaceMainList({
pageNum,
@@ -131,9 +127,14 @@ function getlist() {
total.value = res.total
hasMore.value = infolist.value.length < total.value
})
.catch(() => {
uni.showToast({
icon: 'error',
title: '网络异常'
})
})
.finally(() => {
isLoading.value = false
uni.hideLoading()
})
}
onShow(() => {