fix: 首页图表
This commit is contained in:
@@ -22,7 +22,7 @@ function renderChart() {
|
|||||||
radius: [15, 60],
|
radius: [15, 60],
|
||||||
label: {
|
label: {
|
||||||
show: true,
|
show: true,
|
||||||
fontSize: 14,
|
// fontSize: 14,
|
||||||
formatter: '{b}:{c}',
|
formatter: '{b}:{c}',
|
||||||
},
|
},
|
||||||
data: [
|
data: [
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ onMounted(async () => {
|
|||||||
dashboardValue.value = data;
|
dashboardValue.value = data;
|
||||||
|
|
||||||
overviewItems.value = {
|
overviewItems.value = {
|
||||||
icon: 'icon-[streamline-plump-color--user-pin-flat] size-9 flex-shrink-0',
|
icon: 'icon-[streamline-plump-color--user-pin-flat] size-8 flex-shrink-0',
|
||||||
title: '员工数',
|
title: '员工数',
|
||||||
totalTitle: '总用户量',
|
totalTitle: '总用户量',
|
||||||
totalValue: data.userCount || 0,
|
totalValue: data.userCount || 0,
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ withDefaults(defineProps<Props>(), {
|
|||||||
:end-val="item.value"
|
:end-val="item.value"
|
||||||
:start-val="1"
|
:start-val="1"
|
||||||
:unit="item.title === '签单率' ? '%' : ''"
|
:unit="item.title === '签单率' ? '%' : ''"
|
||||||
class="mt-5 size-12 text-3xl"
|
class="mt-5 size-12 text-2xl"
|
||||||
prefix=""
|
prefix=""
|
||||||
/>
|
/>
|
||||||
<!-- <VbenIcon :icon="item.icon" class="size-8 flex-shrink-0" /> -->
|
<!-- <VbenIcon :icon="item.icon" class="size-8 flex-shrink-0" /> -->
|
||||||
|
|||||||
Reference in New Issue
Block a user