fix: 大屏功能优化。

This commit is contained in:
tianyongbao
2026-02-20 22:58:34 +08:00
parent 9ce370d484
commit 8134bfeeba

View File

@@ -488,16 +488,18 @@ const assetChartOpts = computed(() => ({
legend: { legend: {
show: true, show: true,
position: 'bottom', position: 'bottom',
lineHeight: 25 fontSize: 10,
lineHeight: 18,
itemGap: 8
}, },
title: { title: {
name: `资产总计`, name: `资产总计`,
fontSize: 15, fontSize: 10,
color: '#666666' color: '#666666'
}, },
subtitle: { subtitle: {
name: `${totalAsset.value.toFixed(2)}`, name: `${totalAsset.value.toFixed(2)}`,
fontSize: 12, fontSize: 8,
color: '#10b981' color: '#10b981'
}, },
extra: { extra: {
@@ -536,16 +538,18 @@ const debtChartOpts = computed(() => ({
legend: { legend: {
show: true, show: true,
position: 'bottom', position: 'bottom',
lineHeight: 25 fontSize: 10,
lineHeight: 18,
itemGap: 8
}, },
title: { title: {
name: `负债总计`, name: `负债总计`,
fontSize: 15, fontSize: 10,
color: '#666666' color: '#666666'
}, },
subtitle: { subtitle: {
name: `${totalDebt.value.toFixed(2)}`, name: `${totalDebt.value.toFixed(2)}`,
fontSize: 12, fontSize: 8,
color: '#ef4444' color: '#ef4444'
}, },
extra: { extra: {