吉安感知网项目-前端
张含笑
2026-01-30 c90acb19a8b71c336156283fecf13072ecb07f69
feat:为0也显示徽标
1 files modified
6 ■■■■ changed files
uniapps/work-app/src/pages/work/index.vue 6 ●●●● patch | view | raw | blame | history
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;
    }
  }