Browse Source

会员和非会员加黑;

songjie/feature-20260120101758-dc后台
songjie 4 weeks ago
parent
commit
9f905ba341
  1. 2
      src/views/PlatformData/UserOverview.vue

2
src/views/PlatformData/UserOverview.vue

@ -121,6 +121,7 @@
<template #default="scope"> <template #default="scope">
<span :class="{ <span :class="{
'text-red': scope.row.type === '用户总数', 'text-red': scope.row.type === '用户总数',
'text-black-bold': ['会员总数', '非会员总数'].includes(scope.row.type),
'sub-item-text': ['新非网总数', '老非网总数'].includes(scope.row.type) 'sub-item-text': ['新非网总数', '老非网总数'].includes(scope.row.type)
}">{{ scope.row.type }}</span> }">{{ scope.row.type }}</span>
</template> </template>
@ -828,6 +829,7 @@ onMounted(() => {
.text-red { color: #ff4d4f; font-weight: bold; } .text-red { color: #ff4d4f; font-weight: bold; }
.text-green { color: #52c41a; font-weight: bold; } .text-green { color: #52c41a; font-weight: bold; }
.text-black-bold { color: #333; font-weight: bold; }
.sub-item-text { .sub-item-text {
font-size: 12px; font-size: 12px;

Loading…
Cancel
Save