修改电量单位, 修改标题字体加粗

This commit is contained in:
lixiaoyuan
2026-03-03 15:56:30 +08:00
parent 29f86de821
commit 2c7246ffc1
2 changed files with 3 additions and 7 deletions

View File

@@ -200,6 +200,7 @@ export default {
}
.title{
font-size: 40px;
font-weight: 600;
position: absolute;
left: 50%;
transform: translateX(-50%);

View File

@@ -32,7 +32,7 @@ export default {
dataKey: 'chargeDischarge',
yAxisOption:[
{
name: '电量(kW·h)',
name: '电量(kWh)',
type: 'value',
nameTextStyle: { color: '#fff' },
splitLine: { lineStyle: { type: 'dashed', color: '#435463' } },
@@ -80,7 +80,7 @@ export default {
dataKey: 'chargeDischarge',
yAxisOption:[
{
name: '电量(kW·h)',
name: '电量(kWh)',
type: 'value',
nameTextStyle: { color: '#fff' },
splitLine: { lineStyle: { type: 'dashed', color: '#435463' } },
@@ -101,13 +101,10 @@ export default {
color: '#00FDF9' // 充电电量线条颜色
}
}
},
]
},
{
title: '光伏发电预测',
type: 'line',
smooth:false,
@@ -185,8 +182,6 @@ export default {
xdata:[],
ydata:{}
}
}
},
mounted() {