Commit 8e0959d3 authored by 徐一鸣's avatar 徐一鸣

云资源超管列表页仪表图样式优化

parent 8201c646
...@@ -1525,23 +1525,28 @@ export default { ...@@ -1525,23 +1525,28 @@ export default {
} }
return { return {
title: { title: [
{
text: percent + "%", text: percent + "%",
subtext: item.name,
x: "center", x: "center",
y: "center", y: "28%",
textVerticalAlign: "auto",
textStyle: { textStyle: {
fontSize: 34, fontSize: 34,
fontWeight: "100", fontWeight: "100",
color: ["#0d1847"], color: ["#0d1847"],
}, },
subtextStyle: { },
{
text: item.name,
x: "center",
y: "55%",
textStyle: {
fontSize: 12, fontSize: 12,
fontWeight: "100", fontWeight: "100",
color: "#707693", color: "#707693",
}, },
}, },
],
angleAxis: { angleAxis: {
axisLine: { axisLine: {
show: false, show: false,
......
...@@ -170,23 +170,28 @@ export default { ...@@ -170,23 +170,28 @@ export default {
} }
return { return {
title: { title: [
{
text: percent + "%", text: percent + "%",
subtext: item.name,
x: "center", x: "center",
y: "center", y: "28%",
textVerticalAlign: "auto",
textStyle: { textStyle: {
fontSize: 34, fontSize: 34,
fontWeight: "100", fontWeight: "100",
color: ["#0d1847"], color: ["#0d1847"],
}, },
subtextStyle: { },
{
text: item.name,
x: "center",
y: "55%",
textStyle: {
fontSize: 12, fontSize: 12,
fontWeight: "100", fontWeight: "100",
color: "#707693", color: "#707693",
}, },
}, },
],
angleAxis: { angleAxis: {
axisLine: { axisLine: {
show: false, show: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment