diff --git a/src/pages/workbench/fwgl/fwglList.vue b/src/pages/workbench/fwgl/fwglList.vue index 8335a6f6be29b225d628ab159bbcde5feee07325..04b24c96dcfaa9be41cc785b5fa7646f6212864b 100644 --- a/src/pages/workbench/fwgl/fwglList.vue +++ b/src/pages/workbench/fwgl/fwglList.vue @@ -1525,23 +1525,28 @@ export default { } return { - title: { - text: percent + "%", - subtext: item.name, - x: "center", - y: "center", - textVerticalAlign: "auto", - textStyle: { - fontSize: 34, - fontWeight: "100", - color: ["#0d1847"], - }, - subtextStyle: { - fontSize: 12, - fontWeight: "100", - color: "#707693", + title: [ + { + text: percent + "%", + x: "center", + y: "28%", + textStyle: { + fontSize: 34, + fontWeight: "100", + color: ["#0d1847"], + }, }, - }, + { + text: item.name, + x: "center", + y: "55%", + textStyle: { + fontSize: 12, + fontWeight: "100", + color: "#707693", + }, + }, + ], angleAxis: { axisLine: { show: false, diff --git a/src/pages/workbench/fwgl/organizationCloudResource.vue b/src/pages/workbench/fwgl/organizationCloudResource.vue index 738a0abbc6af1f65442fb1166b8dfe2bfdf82cb5..0312d99b744ec7477dc0a42c0a28aa197ac26c7d 100644 --- a/src/pages/workbench/fwgl/organizationCloudResource.vue +++ b/src/pages/workbench/fwgl/organizationCloudResource.vue @@ -170,23 +170,28 @@ export default { } return { - title: { - text: percent + "%", - subtext: item.name, - x: "center", - y: "center", - textVerticalAlign: "auto", - textStyle: { - fontSize: 34, - fontWeight: "100", - color: ["#0d1847"], + title: [ + { + text: percent + "%", + x: "center", + y: "28%", + textStyle: { + fontSize: 34, + fontWeight: "100", + color: ["#0d1847"], + }, }, - subtextStyle: { - fontSize: 12, - fontWeight: "100", - color: "#707693", + { + text: item.name, + x: "center", + y: "55%", + textStyle: { + fontSize: 12, + fontWeight: "100", + color: "#707693", + }, }, - }, + ], angleAxis: { axisLine: { show: false,