修改样式

This commit is contained in:
ljx 2025-03-10 16:26:04 +08:00
parent 2abc0f76a4
commit 860a3132ff
3 changed files with 29 additions and 3 deletions

View File

@ -52,6 +52,8 @@ export default {
title: {
text: '近一周产量趋势',
textStyle: {
fontSize:25,
fontWight:'bold',
color: '#fff'
}
},
@ -61,7 +63,9 @@ export default {
legend: {
data: this.dataType == '整机' ? ['整机线'] : ['机芯1线', '机芯2线', '盖板线'],
textStyle: {
color: '#fff'
color: '#fff',
fontSize:25,
fontWight:'bold'
}
},
grid: {
@ -78,6 +82,11 @@ export default {
color: '#fff'
}
},
axisLabel: {
fontSize: 20, // Y
color: '#fff' //
},
data: getRecentWeekDates()
},
yAxis: {
@ -87,6 +96,10 @@ export default {
color: '#fff'
}
},
axisLabel: {
fontSize: 20, // Y
color: '#fff' //
},
},
series:
this.dataType == '整机' ?
@ -104,7 +117,7 @@ export default {
name: '机芯1线',
type: 'line',
stack: 'Total',
data: [120, 132, 101, 134, 90, 230, 210]
data: [120, 132, 101, 134, 90, 230, 210],
},
{
name: '机芯2线',

View File

@ -50,9 +50,13 @@ export default {
text: '月生产情况',
subtext: '完成率',
subtextStyle:{
fontSize:20,
fontWight:'bold',
color:'#fff'
},
textStyle:{
fontSize:25,
fontWight:'bold',
color:'#fff'
}
},
@ -62,6 +66,7 @@ export default {
legend: {
data: this.dataType == '整机' ?['机芯1线', '机芯2线', '盖板线'] : ['整机线'],
textStyle:{
fontSize:25,
color:'#fff'
}
},
@ -75,6 +80,10 @@ export default {
lineStyle:{
color:'#fff'
}
},
axisLabel: {
fontSize: 20, // Y
color: '#fff' //
},
// prettier-ignore
data:getRecentSixMonths(),
@ -88,6 +97,10 @@ export default {
color:'#fff'
}
},
axisLabel: {
fontSize: 20, // Y
color: '#fff' //
},
}
],
series:

View File

@ -74,7 +74,7 @@ export default {
setInterval(() => {
this.switchType = this.switchType == 1 ? 2 : 1
}, 10000); // 10000 = 10
}, 15000); // 10000 = 10
},
data() {
return {