加上下拉刷新

This commit is contained in:
zhouyanli
2026-08-20 09:17:05 +08:00
parent c39f995bd1
commit 62437fec8c
7 changed files with 84 additions and 69 deletions

View File

@@ -352,7 +352,7 @@ const getInspectionData = () => {
// 获取消息通知
const getNoticeData = () => {
getNewNoticeData().then(res => {
const notice = res.code === 200 && res.data ? (res.data.problem || res.data.notice) : '暂无公告'
const notice = res.code === 200 && res.data ? `${res.data.notice || ''} : ${res.data.item || ''}` : '暂无公告'
// 仅在内容真正变化时才更新
if (noticeText.value !== notice) {
noticeText.value = notice
@@ -716,12 +716,6 @@ onPullDownRefresh(async () => {
width: calc(100% - 30rpx) !important;
}
/* 固定滚动速度 */
:deep(.uni-noticebar__content-text--scrollable) {
animation-duration: 4s !important;
animation-delay: 0s !important;
}
/* 统计区布局 */
.statistics-wrap {
display: flex;