From a421fb717abfd3e68443bfa3ac14072d2b4c2be1 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Tue, 12 May 2026 16:21:42 +0800 Subject: [PATCH] =?UTF-8?q?empty=20=E6=A0=B7=E5=BC=8F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 4 ++-- pages/home/home.vue | 15 ++------------- pages/lendCar/lendCar.vue | 7 +------ pages/search/search.vue | 12 ++++-------- styles/global.scss | 1 + subpkg/pages/activity-list/activity-list.vue | 10 ++-------- subpkg/pages/collect-list/collect-list.vue | 3 --- subpkg/pages/feedback-list/feedback-list.vue | 10 ++-------- subpkg/pages/ranking/ranking.vue | 14 ++++---------- subpkg/pages/reader-card/reader-card.vue | 6 +++--- 10 files changed, 21 insertions(+), 61 deletions(-) diff --git a/pages.json b/pages.json index 037717d..0624d10 100644 --- a/pages.json +++ b/pages.json @@ -3,7 +3,7 @@ { "path": "pages/home/home", "style": { - "navigationBarTitleText": "图书馆" + "navigationBarTitleText": "葛店经济技术开发区图书馆" } }, { @@ -21,7 +21,7 @@ { "path": "pages/login/login", "style": { - "navigationBarTitleText": "登录" + "navigationBarTitleText": "绑定读者证" } }, { diff --git a/pages/home/home.vue b/pages/home/home.vue index 32a09b9..31d78d8 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -114,7 +114,7 @@ :circular="false" > - + 读者证号 @@ -179,7 +179,7 @@ {{item.name}} - + 暂无推荐书籍~ @@ -721,15 +721,4 @@ swiper.menu-swiper{ color: #999 !important; } } - -/* 空状态 */ -.empty-box { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - color: #999; - font-size: 15px; - padding: 20px; -} \ No newline at end of file diff --git a/pages/lendCar/lendCar.vue b/pages/lendCar/lendCar.vue index 33bc9e3..cad1d93 100644 --- a/pages/lendCar/lendCar.vue +++ b/pages/lendCar/lendCar.vue @@ -38,7 +38,7 @@ - + 暂无借阅图书 @@ -434,17 +434,12 @@ export default { /* 空状态 */ .empty { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; height: calc(100vh - 140px); } .empty-text { margin-top: 20px; font-size: 14px; - color: #999; } /* 底部占位 */ diff --git a/pages/search/search.vue b/pages/search/search.vue index 58fc093..43b352c 100644 --- a/pages/search/search.vue +++ b/pages/search/search.vue @@ -68,8 +68,9 @@ - - 没有检索到相关数据 + + + 没有检索到相关数据 @@ -321,13 +322,8 @@ export default { font-weight: 400; } -.empty-box { - display: flex; - justify-content: center; - align-items: center; +.empty { height: 50vh; - font-size: 14px; - color: #999; padding-top: 100px; } \ No newline at end of file diff --git a/styles/global.scss b/styles/global.scss index d701aed..c960318 100644 --- a/styles/global.scss +++ b/styles/global.scss @@ -243,6 +243,7 @@ align-items: center; padding: 20px; color: #999; + font-size: 15px; } // 覆盖 uni-popup 层级 diff --git a/subpkg/pages/activity-list/activity-list.vue b/subpkg/pages/activity-list/activity-list.vue index b6b6f84..7875aca 100644 --- a/subpkg/pages/activity-list/activity-list.vue +++ b/subpkg/pages/activity-list/activity-list.vue @@ -45,7 +45,7 @@ - + 暂无{{ currentTab === 0 ? '进行中的活动' : '往期活动' }}~ @@ -304,14 +304,8 @@ scroll-view { height: calc(100vh - 120px); } -.empty-box { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; +.empty { height: calc(100vh - 200px); - color: #999; - font-size: 15px; } .activity-item { diff --git a/subpkg/pages/collect-list/collect-list.vue b/subpkg/pages/collect-list/collect-list.vue index 89a27f6..ff877e3 100644 --- a/subpkg/pages/collect-list/collect-list.vue +++ b/subpkg/pages/collect-list/collect-list.vue @@ -95,10 +95,7 @@ export default { } .empty { - text-align: center; padding: 60px 0; - color: #999; - font-size: 14px; } .no-more { text-align: center; diff --git a/subpkg/pages/feedback-list/feedback-list.vue b/subpkg/pages/feedback-list/feedback-list.vue index 928ef1c..9f1edbd 100644 --- a/subpkg/pages/feedback-list/feedback-list.vue +++ b/subpkg/pages/feedback-list/feedback-list.vue @@ -1,7 +1,7 @@