From 88f943e0c4faac39372f658910e6ceb7aadb0e4f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 29 May 2025 15:03:14 +0800
Subject: [PATCH] feat:消息过多展示99+

---
 src/views/wel/components/backlog.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/wel/components/backlog.vue b/src/views/wel/components/backlog.vue
index acf9ae5..aeb56d9 100644
--- a/src/views/wel/components/backlog.vue
+++ b/src/views/wel/components/backlog.vue
@@ -13,7 +13,7 @@
           >
             <div>
               {{ item.name }}
-              <div class="dots">{{ item.number }}</div>
+              <div class="dots">{{ item.number >=100 ?'99+' : item.number}}</div>
             </div>
           </div>
         </div>
@@ -278,16 +278,17 @@
         border-bottom: 2px solid #1c5cff;
       }
       .dots {
-        width: 23px;
-        height: 13px;
+        width: 17px;
+        height: 17px;
         border-radius: 50%;
         background: #366fff;
         color: #fff;
-        font-size: 10px;
+        font-size: 9px;
         position: absolute;
         top: -10px;
-        right: -9px;
+        right: -13px;
         padding: 1px;
+        line-height: 17px;
       }
     }
     .todo-items {

--
Gitblit v1.9.3