From c6b6a34891c0177de71bb950a1246ca23376342a Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 20 Feb 2023 17:10:05 +0800
Subject: [PATCH] 洪水淹没-表格柱状图改为绝对定位
---
corelib/common/popup/evaluateAnalysis.html | 17 ++++++++---------
corelib/common/popup/css/style.css | 5 ++++-
corelib/common/popup/js/evaluateAnalysis.js | 3 +--
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/corelib/common/popup/css/style.css b/corelib/common/popup/css/style.css
index 2a9f52d..ddbc312 100644
--- a/corelib/common/popup/css/style.css
+++ b/corelib/common/popup/css/style.css
@@ -857,6 +857,9 @@
text-align: center;
display: flex;
flex-direction: row-reverse;
+ position: absolute;
+ right: 19px;
+ z-index: 2;
}
.list-echarts-button input{
@@ -892,7 +895,7 @@
.table-label{
width: 145%;
font-size: 19px;
- text-align: right;
+ text-align: center;
font-weight: bold;
}
diff --git a/corelib/common/popup/evaluateAnalysis.html b/corelib/common/popup/evaluateAnalysis.html
index 6c28f2b..31a9671 100644
--- a/corelib/common/popup/evaluateAnalysis.html
+++ b/corelib/common/popup/evaluateAnalysis.html
@@ -43,20 +43,19 @@
<!-- </div>-->
</div>
<div class="evaluate-middle-second">
+ <div class="list-echarts-button">
+ <label>
+ <input id="echarts" class="echarts" type="button" value="图表"/>
+ </label>
+ <label>
+ <input id="list" class="list" type="button" value="列表"/>
+ </label>
+ </div>
<div class="evaluate-table">
<table>
<!-- <caption class="evaluate-table-caption table-caption">洪水淹没统计</caption>-->
<div class="table-title">
<div class="table-label">洪水淹没统计</div>
- <div class="list-echarts-button">
- <label>
- <input id="echarts" class="echarts" type="button" value="图表"/>
- </label>
- <label>
- <input id="list" class="list" type="button" value="列表"/>
- </label>
-
- </div>
</div>
<thead class="evaluate-table-thead table-thead">
<tr>
diff --git a/corelib/common/popup/js/evaluateAnalysis.js b/corelib/common/popup/js/evaluateAnalysis.js
index 6569b9e..760ea97 100644
--- a/corelib/common/popup/js/evaluateAnalysis.js
+++ b/corelib/common/popup/js/evaluateAnalysis.js
@@ -254,7 +254,6 @@
$('.echarts').removeClass('choose-button')
loadPagination()
loadSumData()
-
}
function loadTable(listData) {
@@ -309,7 +308,7 @@
// $(".area").html(area + 'km²')
// $(".money").html(money + '万元')
- $('.description').html("该站位于" + hd.riverway + ",靠近"+hd.stnm.trim()+"水文站,起始距为"+hd.gl_qdj+"m,河段长" + hd.river_length + "m,预计会造成受灾户数" + house + "户,受灾人口" + people + "人,受灾面积" + area + "km²,房屋价值" + money + "万元")
+ $('.description').html("  该站位于" + hd.riverway + ",靠近"+hd.stnm.trim()+"水文站,起始距为"+hd.gl_qdj+"m,河段长" + hd.river_length + "m,预计会造成受灾户数" + house + "户,受灾人口" + people + "人,受灾面积" + area + "km²,房屋价值" + money + "万元")
}
function loadPagination() {
--
Gitblit v1.9.3