加上下拉刷新
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user