From 490d8e907759eb84c6bd8109bf21ce11f931b09f Mon Sep 17 00:00:00 2001 From: HHS <133908443@qq.com> Date: Tue, 3 Jun 2025 10:47:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/BeeTabbar.vue | 6 +++--- pages/adoptionRecords/adoptionRecords.vue | 8 ++------ pages/deviceManagement/deviceManagement.vue | 8 ++------ pages/homePage/homePage.vue | 2 +- pages/messagePage/messagePage.vue | 8 ++------ pages/orderList/orderList.vue | 8 ++------ pages/shoppingCart/shoppingCart.vue | 6 +----- pages/shoppingMall/shoppingMall.vue | 2 +- pages/smartBee/smartBee.vue | 9 ++------- pages/surveyList/surveyList.vue | 8 +------- 10 files changed, 17 insertions(+), 48 deletions(-) diff --git a/components/BeeTabbar.vue b/components/BeeTabbar.vue index d9946b2..dd4213b 100644 --- a/components/BeeTabbar.vue +++ b/components/BeeTabbar.vue @@ -72,15 +72,15 @@ const switchTab = (url) => { width: 104rpx; height: 104rpx; } - text { + .tab-text { // 修改前可能是直接用的 text 选择器 font-size: 22rpx; color: #a1a1a1; } &.active { .icon, - text { - color: #07c160; // 激活状态的颜色 + .tab-text { // 修改前可能是直接用的 text 选择器 + color: #07c160; } } } diff --git a/pages/adoptionRecords/adoptionRecords.vue b/pages/adoptionRecords/adoptionRecords.vue index 81f1f16..171bf45 100644 --- a/pages/adoptionRecords/adoptionRecords.vue +++ b/pages/adoptionRecords/adoptionRecords.vue @@ -35,7 +35,7 @@ - + 暂无认养记录 @@ -227,11 +227,7 @@ const formatDateTime = (dateString) => { justify-content: center; padding: 100rpx 0; - .empty-image { - width: 200rpx; - height: 200rpx; - margin-bottom: 30rpx; - } + .empty-text { font-size: 28rpx; diff --git a/pages/deviceManagement/deviceManagement.vue b/pages/deviceManagement/deviceManagement.vue index 89462cb..8763a7d 100644 --- a/pages/deviceManagement/deviceManagement.vue +++ b/pages/deviceManagement/deviceManagement.vue @@ -7,7 +7,7 @@ - + 暂无设备数据 { justify-content: center; height: 60vh; - .empty-image { - width: 300rpx; - height: 300rpx; - margin-bottom: 40rpx; - } + .empty-text { font-size: 28rpx; diff --git a/pages/homePage/homePage.vue b/pages/homePage/homePage.vue index 0272b93..62a73fe 100644 --- a/pages/homePage/homePage.vue +++ b/pages/homePage/homePage.vue @@ -10,7 +10,7 @@ - + diff --git a/pages/messagePage/messagePage.vue b/pages/messagePage/messagePage.vue index 6ab9252..961d6e1 100644 --- a/pages/messagePage/messagePage.vue +++ b/pages/messagePage/messagePage.vue @@ -11,7 +11,7 @@ - + 暂无消息数据 { justify-content: center; height: 500rpx; - image { - width: 200rpx; - height: 200rpx; - margin-bottom: 30rpx; - } + text { font-size: 28rpx; diff --git a/pages/orderList/orderList.vue b/pages/orderList/orderList.vue index 92e9a4a..367a739 100644 --- a/pages/orderList/orderList.vue +++ b/pages/orderList/orderList.vue @@ -35,7 +35,7 @@ - + 暂无订单记录 @@ -230,11 +230,7 @@ const formatDateTime = (dateString) => { justify-content: center; padding: 100rpx 0; - .empty-image { - width: 200rpx; - height: 200rpx; - margin-bottom: 30rpx; - } + .empty-text { font-size: 28rpx; diff --git a/pages/shoppingCart/shoppingCart.vue b/pages/shoppingCart/shoppingCart.vue index af3f1a6..5ac25e3 100644 --- a/pages/shoppingCart/shoppingCart.vue +++ b/pages/shoppingCart/shoppingCart.vue @@ -476,11 +476,7 @@ const deleteItem = async (item) => { justify-content: center; height: 60vh; - .empty-image { - width: 300rpx; - height: 300rpx; - margin-bottom: 40rpx; - } + .empty-text { font-size: 28rpx; diff --git a/pages/shoppingMall/shoppingMall.vue b/pages/shoppingMall/shoppingMall.vue index f1dd3ac..10189e2 100644 --- a/pages/shoppingMall/shoppingMall.vue +++ b/pages/shoppingMall/shoppingMall.vue @@ -9,7 +9,7 @@ - + {{item.name}} diff --git a/pages/smartBee/smartBee.vue b/pages/smartBee/smartBee.vue index 05e2d47..9afc92d 100644 --- a/pages/smartBee/smartBee.vue +++ b/pages/smartBee/smartBee.vue @@ -16,7 +16,7 @@ - + 暂无相关内容 @@ -102,12 +102,7 @@ const getSmartBeeList= async () => { justify-content: center; padding: 100rpx 0; - .empty-image { - width: 200rpx; - height: 200rpx; - margin-bottom: 30rpx; - } - + .empty-text { font-size: 28rpx; color: #999; diff --git a/pages/surveyList/surveyList.vue b/pages/surveyList/surveyList.vue index 9e300a9..8288ecc 100644 --- a/pages/surveyList/surveyList.vue +++ b/pages/surveyList/surveyList.vue @@ -21,7 +21,7 @@ - + 暂无问卷调查 @@ -141,12 +141,6 @@ const getQuestionList = async () => { justify-content: center; padding: 100rpx 0; - .empty-image { - width: 200rpx; - height: 200rpx; - margin-bottom: 30rpx; - } - .empty-text { font-size: 28rpx; color: #999;