From 46583d49e6044900e55d723f76bca7c020516c47 Mon Sep 17 00:00:00 2001
From: 63f1bb74d2451104dc7d8b9f <63f1bb74d2451104dc7d8b9f@devide>
Date: Sat, 22 Jul 2023 18:17:00 +0800
Subject: [PATCH] Sat Jul 22 18:17:00 CST 2023 inscode
---
index.html | 4 ++--
src/components/GameChart.vue | 21 ++++++++++++++-------
2 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/index.html b/index.html
index 8ac62d5..141e9f2 100644
--- a/index.html
+++ b/index.html
@@ -9,12 +9,12 @@
csdn 用户快捷查分改文
-
+ -->
diff --git a/src/components/GameChart.vue b/src/components/GameChart.vue
index 5fa5bc9..a22b7d0 100644
--- a/src/components/GameChart.vue
+++ b/src/components/GameChart.vue
@@ -16,18 +16,22 @@
- 参赛报名人数:{{ state.totlaNum }}
+
+ 参赛报名总人数:{{ state.totlaNum }}
+
+
+ 参赛报名有效人数:{{ state.totalRealNum }}
+
-
-
+
+
-
-
+
@@ -54,6 +58,7 @@ const state = reactive({
title: 'vue3 ts antd 参赛选手所在城市',
clickCity: '全国',
maxCityNum: 0,
+ totalRealNum:0,
totlaNum: '',
linesCoord: [],
focusCity: '广东省',
@@ -212,9 +217,11 @@ function renderEchartBar() {
}
const myChart = echarts.init(domInstance);
const option = {
+ backgroundColor: 'rgba(0,0,0,0)',//背景色
title: {
text: '中国地图',
- subtext: 'chinaJson'
+ subtext: 'chinaJson',
+ color:'#fff'
},
visualMap: { // 设置视觉映射
min: 0,
--
GitLab