From f08b12e7d8c4b4d965702f3bd950aa2b56fae94a Mon Sep 17 00:00:00 2001 From: chenrui <1950717904@qq.com> Date: Sun, 3 Nov 2024 16:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/css/stat1.css | 38 +++++++------- .../code/registration/staticRegistration.html | 24 ++++++--- .../code/statistical/staticProgram.html | 49 +++++++++++-------- .../code/statistical/statisticalPanel.html | 11 +++-- .../statisticsEnterprise.html | 10 ++-- 5 files changed, 78 insertions(+), 54 deletions(-) diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/css/stat1.css b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/css/stat1.css index 828f4a79..7611078b 100755 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/css/stat1.css +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/css/stat1.css @@ -208,11 +208,22 @@ body { .chart-box { float: left; - margin: 1% 5%; + margin: 1% 2%; width: 45%; height: 45%; } +.chart-box h3 { + position: relative; + color: #333; + font-size: 1.5rem; +} + +.chart-box .echarts { + width: 100%; + height: 80%; +} + .static-content { float: left; clear: both; @@ -229,7 +240,7 @@ body { padding-left: 20px; } -.static-content li label:before { +.static-content li label:before, .chart-box h3::before { position: absolute; top: 20%; left: -5px; @@ -240,11 +251,15 @@ body { font-family: 'FontAwesome'; } +.chart-box h3::before { + top: 25%; + left: -25px; +} + .static-content li span { margin: 0 5px 0 10px; } - .static-content li b { color: #136efb; font-size: 1.5rem; @@ -275,20 +290,3 @@ h1.page-title { background-color: #ccc; } -.tab_item2 { - /*position: absolute;*/ - z-index: -9999; - width: 100%; - height: 100%; - display: flex; - flex-wrap: wrap; - align-content: space-around; - justify-content: center - -} - -.tab_item2 .echarts { - width: 45%; - height: 45%; -} - diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html index 27e26b2a..360faea9 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html @@ -8,9 +8,12 @@ position: absolute; top: 27%; left: 30%; + padding: 2%; width: 40%; - height: 25%; - background-color: azure; + min-height: 25%; + background-color: #fff; + border-radius: 5px; + box-shadow: 0 0 10px #ddd; } #showDetail table { border-collapse: separate; @@ -41,12 +44,21 @@ } #detail-close{ position: absolute; - color: red; - width: 10px; - top: -4%; + top: -5%; right: -1%; + width: 30px; + height: 30px; + background-color: #fff; + color: #999; cursor: pointer; + font-size: 24px; + font-family: sans-serif; + border-radius: 50%; + box-shadow: 0 0 5px #999; + text-align: center; + line-height: 25px; } +
@@ -132,7 +144,7 @@