fix: 大屏功能优化。
This commit is contained in:
@@ -488,16 +488,18 @@ const assetChartOpts = computed(() => ({
|
||||
legend: {
|
||||
show: true,
|
||||
position: 'bottom',
|
||||
lineHeight: 25
|
||||
fontSize: 10,
|
||||
lineHeight: 18,
|
||||
itemGap: 8
|
||||
},
|
||||
title: {
|
||||
name: `资产总计`,
|
||||
fontSize: 15,
|
||||
fontSize: 10,
|
||||
color: '#666666'
|
||||
},
|
||||
subtitle: {
|
||||
name: `${totalAsset.value.toFixed(2)}元`,
|
||||
fontSize: 12,
|
||||
fontSize: 8,
|
||||
color: '#10b981'
|
||||
},
|
||||
extra: {
|
||||
@@ -536,16 +538,18 @@ const debtChartOpts = computed(() => ({
|
||||
legend: {
|
||||
show: true,
|
||||
position: 'bottom',
|
||||
lineHeight: 25
|
||||
fontSize: 10,
|
||||
lineHeight: 18,
|
||||
itemGap: 8
|
||||
},
|
||||
title: {
|
||||
name: `负债总计`,
|
||||
fontSize: 15,
|
||||
fontSize: 10,
|
||||
color: '#666666'
|
||||
},
|
||||
subtitle: {
|
||||
name: `${totalDebt.value.toFixed(2)}元`,
|
||||
fontSize: 12,
|
||||
fontSize: 8,
|
||||
color: '#ef4444'
|
||||
},
|
||||
extra: {
|
||||
|
||||
Reference in New Issue
Block a user