From c90acb19a8b71c336156283fecf13072ecb07f69 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 30 Jan 2026 16:37:46 +0800
Subject: [PATCH] feat:为0也显示徽标

---
 uniapps/work-app/src/pages/work/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/uniapps/work-app/src/pages/work/index.vue b/uniapps/work-app/src/pages/work/index.vue
index 7cccdb0..d0a0221 100644
--- a/uniapps/work-app/src/pages/work/index.vue
+++ b/uniapps/work-app/src/pages/work/index.vue
@@ -122,11 +122,11 @@
 		tabList.value.forEach(tab=>{
 
 			if(tab.key === 'all'){
-				tab.badge.value = totalCount || 0
+        tab.badge.value = (totalCount || 0).toString()
         tab.badge.showZero = true
 
 			}else if(tab.key === 'myTickets'){
-				tab.badge.value = myCount || 0
+				tab.badge.value = (myCount || 0).toString()
         tab.badge.showZero = true
 			}
 		})
@@ -214,7 +214,7 @@
     }
     .u-badge {
       background-color: #1d6fe9 !important;
-      margin-top: -17px !important;
+      margin-top: -14px !important;
       margin-left: -5px !important;
     }
   }

--
Gitblit v1.9.3