优化内容加修复bug

This commit is contained in:
zhouyanli
2026-08-13 08:03:26 +08:00
parent f793e16263
commit 94146ce27a
23 changed files with 406 additions and 260 deletions

View File

@@ -1,13 +1,5 @@
<template>
<view class="page">
<!-- <view class="status_bar" :style="{ height: statusBarHeight + 'px' }"></view>
<uni-nav-bar
left-icon="left"
title="公区收益"
background-color="#F9F9F9"
@clickLeft="narBack"
/> -->
<!-- 滚动区域 -->
<pull-refresh-scroll
@@ -94,8 +86,11 @@ const loadRevenue = async (isRefresh = false) => {
}
onShow(() =>{
if(isFirstShow.value) return
// loadRevenue(true)
if(isFirstShow.value) {
isFirstShow.value = false
return
}
loadRevenue(true)
})
const onRefresh = () => {
@@ -115,7 +110,6 @@ const narBack = () => {
}
onLoad(() => {
isFirstShow.value = false
uni.$on('noticeRead',updateReadStatus)
loadRevenue(true)
})
@@ -146,7 +140,7 @@ page {
height: 0; /* 让滚动区域生效 */
}
.list-wrap {
padding: 40rpx;
padding: 50rpx 40rpx;
}
.item {
background: #fff;