fix: 大屏功能优化。
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user