修改样式
This commit is contained in:
parent
2abc0f76a4
commit
860a3132ff
|
|
@ -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线',
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ export default {
|
|||
|
||||
setInterval(() => {
|
||||
this.switchType = this.switchType == 1 ? 2 : 1
|
||||
}, 10000); // 10000 毫秒 = 10 秒
|
||||
}, 15000); // 10000 毫秒 = 10 秒
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue