From e3d8742e37ad5c9905c8ffbcc15fbfff0f0ece4f Mon Sep 17 00:00:00 2001 From: LiuY <1622779752@qq.com> Date: Fri, 12 Jan 2024 15:47:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?1=E3=80=81=E9=A6=96=E9=A1=B5=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1-=E5=A2=9E=E5=8A=A0=E6=88=BF=E5=B1=8B=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=BB=9F=E8=AE=A1=202=E3=80=81=E6=A5=BC=E5=AE=87?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1-=E5=A2=9E=E5=8A=A0=E6=88=BF=E5=B1=8B?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/assets/home/css/index4.css | 2 +- src/main/resources/static/default.html | 114 ++++++++++++++++-- .../templates/home/building-details.html | 85 +++++++++---- 3 files changed, 165 insertions(+), 36 deletions(-) diff --git a/src/main/resources/static/assets/home/css/index4.css b/src/main/resources/static/assets/home/css/index4.css index d79b27c..d1cf88c 100644 --- a/src/main/resources/static/assets/home/css/index4.css +++ b/src/main/resources/static/assets/home/css/index4.css @@ -135,7 +135,7 @@ body { background-color: rgba(255, 255, 255, .2); } -.cell_box span { +.top_box span { /* display: flex; */ position: absolute; top: 50%; diff --git a/src/main/resources/static/default.html b/src/main/resources/static/default.html index de6025e..bde6c3a 100644 --- a/src/main/resources/static/default.html +++ b/src/main/resources/static/default.html @@ -45,13 +45,11 @@
-
稀土路街道
- {{ xiTupersonCount }} @@ -64,13 +62,11 @@
-
民馨路街道
- {{ mingXinpersonCount }} @@ -83,13 +79,11 @@
-
万水泉镇
- {{ wanShuiQuanpersonCount }} @@ -133,7 +127,7 @@
-
+
@@ -145,7 +139,7 @@
-
+
@@ -187,8 +181,22 @@
+ +
+
+
+ +

房屋类型

+
+
+
+
+
+
+ + -
+ + + + + - {{ house.houseNum }} + +
+ {{ house.houseNum }} +
+ + + + +
+
+ - {{ unit.unit }} 单元 + {{ unit.unit }} 单元 @@ -103,9 +138,9 @@
- -

网格员

-
+ +

网格员

+
@@ -128,7 +163,6 @@
-
@@ -323,6 +357,7 @@ dataType: 'JSON', headers: self.headers, success: function(data) { + console.log(data) self.buildingData = data.data; } }); From c951098a4a0ba63400815acd042653630ff7085a Mon Sep 17 00:00:00 2001 From: LiuY <1622779752@qq.com> Date: Fri, 12 Jan 2024 16:16:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?1=E3=80=81=E9=A6=96=E9=A1=B5=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1-=E5=A2=9E=E5=8A=A0=E6=88=BF=E5=B1=8B=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/default.html b/src/main/resources/static/default.html index bde6c3a..17e9919 100644 --- a/src/main/resources/static/default.html +++ b/src/main/resources/static/default.html @@ -767,7 +767,7 @@ initHouseTyoeChart: function(){ var self = this; var option = { - color: ["#5189FF", "#FF9C3D", "#00FFBC", "#FFB200"], + color: ["#5189FF", "#FF9C3D", "#00FFBC", "#ff55fd"], tooltip: { trigger: 'item', // 格式化提示内容: