From 220203c4152b504b40aa4d0f9904a0deaf28137f Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Thu, 16 Jul 2020 18:12:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=86=E6=9E=90=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/e-charts/multiple_circle.vue | 2 +- src/components/e-charts/single_circle.vue | 11 +++--- src/pages/data-analysis/my-application.vue | 18 +++++++-- src/pages/data-analysis/my-service.vue | 43 ++++++++++++++++----- 4 files changed, 54 insertions(+), 20 deletions(-) diff --git a/src/components/e-charts/multiple_circle.vue b/src/components/e-charts/multiple_circle.vue index c111349..9475a7d 100644 --- a/src/components/e-charts/multiple_circle.vue +++ b/src/components/e-charts/multiple_circle.vue @@ -72,7 +72,7 @@ export default { }, }, { - value: temp2_data / 20, + value: temp2_data / 30, name: "", itemStyle: placeHolderStyle, } diff --git a/src/components/e-charts/single_circle.vue b/src/components/e-charts/single_circle.vue index 02ed4ec..cea0bb7 100644 --- a/src/components/e-charts/single_circle.vue +++ b/src/components/e-charts/single_circle.vue @@ -26,14 +26,15 @@ export default { text: num + "%", textStyle: { color: "#000", - fontSize: 40, + fontSize: 26, fontWeight: 200, }, subtext: text, subtextStyle: { - color: "#c9cedd", + color: "#707693", + fontSize: 12, }, - itemGap: -10, // 主副标题距离 + itemGap: 0, // 主副标题距离 left: "center", top: "center", }, @@ -94,7 +95,7 @@ export default { ], coordinateSystem: "polar", roundCap: true, - barWidth: 10, + barWidth: 8, barGap: "-100%", // 两环重叠 z: 2, @@ -115,7 +116,7 @@ export default { ], coordinateSystem: "polar", roundCap: true, - barWidth: 10, + barWidth: 8, barGap: "-100%", // 两环重叠 z: 1, }, diff --git a/src/pages/data-analysis/my-application.vue b/src/pages/data-analysis/my-application.vue index ce85f13..81b05ca 100644 --- a/src/pages/data-analysis/my-application.vue +++ b/src/pages/data-analysis/my-application.vue @@ -174,7 +174,8 @@ - + + @@ -232,9 +233,14 @@ export default { ], text: "应用总数", single_data: { - num: 12, - color: "#515fe7", - text: "共享" + num: 60, + color: "#274fee", + text: "平台应用" + }, + single_data1: { + num: 40, + color: "#e56600", + text: "开发者应用" }, line_data: { xaxis: [ @@ -639,6 +645,10 @@ export default { height: calc(100% - 36px); background-color: pink; } +.single-charts{ + float: left; + width: 50%; +} -- 2.26.0