|
|
@@ -45,7 +45,7 @@ export default { |
|
|
|
title: { |
|
|
|
text: "78%", |
|
|
|
left: "48%", |
|
|
|
top: "35%", |
|
|
|
top: "40%", |
|
|
|
textAlign: "center", |
|
|
|
textStyle: { |
|
|
|
fontWeight: 600, |
|
|
@@ -165,7 +165,7 @@ export default { |
|
|
|
watch: { |
|
|
|
/** 全屏状态切换时,对柱子粗细和字体大小进行相应调整 */ |
|
|
|
isFullscreen(val) { |
|
|
|
this.options.title.top = val ? "40%" : "35%"; |
|
|
|
// this.options.title.top = val ? "40%" : "37%"; |
|
|
|
this.options.title.textStyle.fontSize = val ? 48 : 32; |
|
|
|
this.options.title.subtextStyle.fontSize = val ? 18 : 14; |
|
|
|
this.initOptions(this.options); |
|
|
|