From 5b29289d508e4272c368cf39d9c95717e3a17df1 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 06 Feb 2023 14:52:11 +0800
Subject: [PATCH] 水文水环境分析-洪水淹没:表格添加分页,修正小数相加,结果数据有误差的问题
---
corelib/common/popup/css/style.css | 173 +++++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 136 insertions(+), 37 deletions(-)
diff --git a/corelib/common/popup/css/style.css b/corelib/common/popup/css/style.css
index c7016c9..eea4ff8 100644
--- a/corelib/common/popup/css/style.css
+++ b/corelib/common/popup/css/style.css
@@ -116,12 +116,12 @@
height: 420px;
}
-.rain-box{
+.rain-box {
width: 100%;
height: 420px;
}
-.reser-box{
+.reser-box {
width: 100%;
height: 420px;
}
@@ -151,6 +151,7 @@
width: 666px;
height: 220px;
}
+
.river-course .reser-box .river-fou .river-fou-box {
position: absolute;
top: 0;
@@ -169,6 +170,7 @@
width: 666px;
height: 220px;
}
+
.river-course .rain-box .river-fou .river-fou-box {
position: absolute;
top: 0;
@@ -187,7 +189,6 @@
width: 666px;
height: 220px;
}
-
.river-one,
@@ -307,7 +308,7 @@
padding-left: 3px;
}
-.river-thead tr th{
+.river-thead tr th {
text-align: center;
}
@@ -368,9 +369,6 @@
}
-
-
-
/*降雨*/
.rain-pei {
width: 53%;
@@ -384,7 +382,7 @@
float: left;
}
-.rain-thead tr th{
+.rain-thead tr th {
text-align: center;
}
@@ -403,7 +401,8 @@
.rain-thead tr th:nth-child(4) div {
width: 14px;
}
-.rain-thead tr th:nth-child(4){
+
+.rain-thead tr th:nth-child(4) {
width: 17px;
}
@@ -532,7 +531,7 @@
width: 14px;
}
-.rser-thead tr th:nth-child(4){
+.rser-thead tr th:nth-child(4) {
width: 17px;
}
@@ -586,8 +585,7 @@
cursor: pointer;
padding-left: 10px;
color: #6d6d6d;
- background: url("../img/sel.png")
- no-repeat 175px;
+ background: url("../img/sel.png") no-repeat 175px;
}
.selectsd .input_insd input {
@@ -598,8 +596,7 @@
cursor: pointer;
padding-left: 10px;
color: #6d6d6d;
- background: url("../img/sel.png")
- no-repeat 40px;
+ background: url("../img/sel.png") no-repeat 40px;
}
.select .city {
@@ -676,13 +673,11 @@
}
.wicon {
- background: url("../img/data.png")
- no-repeat 120px;
+ background: url("../img/data.png") no-repeat 120px;
}
.time-icon {
- background: url("../img/sel.png")
- no-repeat 128px;
+ background: url("../img/sel.png") no-repeat 128px;
}
.river-btn {
@@ -694,6 +689,7 @@
color: #6d6d6d;
float: left;
}
+
.loc-btn {
width: 80px;
height: 30px;
@@ -780,100 +776,203 @@
bottom: 0px;
top: 95px;
}
+
/**洪水淹没分析弹窗**/
-.flood-box{
+.flood-box {
margin: 20px;
}
-.flood-box-left{
+.flood-box-left {
width: 80%;
}
-.flood-box-left img{
+.flood-box-left img {
width: 100%;
height: 100%;
}
-.flood-box-top{
+.flood-box-top {
display: flex;
width: 100%;
height: 475px;
border: 1px solid black;
}
-.flood-box-bottom{
+.flood-box-bottom {
text-align: right;
margin-top: 15px;
}
/**损失分析**/
-.evaluate-analysis{
+.evaluate-analysis {
margin: 15px;
}
-.evaluate-box-top{
+.evaluate-box-top {
width: 100%;
height: 60px;
}
-.evaluate-box-middle{
+.evaluate-box-middle {
width: 96%;
height: 650px;
border: 1px solid black;
padding: 0px 10px 0px 10px;
}
-.evaluate-box-top-left{
+.evaluate-box-top-left {
display: flex;
font-size: 17px;
}
-.evaluate-box-top-right{
+.evaluate-box-top-right {
margin-left: 70px;
}
-.evaluate-box-top{
+.evaluate-box-top {
display: flex;
}
-.evaluate-box-middle table{
+.evaluate-box-middle table {
width: 100%;
}
-.evaluate-table-caption{
+.evaluate-table-caption {
font-size: 20px;
margin: 15px 0 15px 0;
}
-.evaluate-table-thead tr th{
+.evaluate-table-thead tr th {
text-align: center;
border-right: 1px solid #CFCFCF;
border-bottom: 1px solid #CFCFCF;
color: #404040;
}
-.evaluate-tbody tr td{
+.evaluate-tbody tr td {
text-align: center;
border-right: 1px solid #CFCFCF;
border-bottom: 1px solid #CFCFCF;
color: #404040;
}
-.column-2{
+/**分页器**/
+
+.flood-analysis-pagination {
+ position: relative;
+ text-align: center;
+ zoom: 1;
+ display: flex;
+ width: 92%;
+ justify-content: flex-end;
+}
+
+.flood-analysis-pagination:before,
+.flood-analysis-pagination:after {
+ content: "";
+ display: table;
+}
+
+.flood-analysis-pagination:after {
+ clear: both;
+ overflow: hidden;
+}
+
+.flood-analysis-pagination span {
+ float: left;
+ margin: 0 5px;
+ width: 25px;
+ height: 25px;
+ line-height: 25px;
+ color: #bdbdbd;
+ font-size: 14px;
+}
+
+.flood-analysis-pagination .active {
+ float: left;
+ margin: 3px 5px;
+ width: 25px;
+ height: 25px;
+ line-height: 25px !important;
+ background: #e91e63;
+ color: #fff;
+ font-size: 14px;
+ border: 1px solid #e91e63;
+}
+
+.flood-analysis-pagination a {
+ float: left;
+ margin: 3px 5px;
+ width: 25px;
+ height: 25px;
+ line-height: 25px !important;
+ background: #fff;
+ border: 1px solid #ebebeb;
+ color: #bdbdbd;
+ font-size: 14px;
+}
+
+.flood-analysis-pagination a:hover {
+ color: #fff;
+ background: #e91e63;
+}
+
+.flood-analysis-pagination .next,
+.flood-analysis-pagination .prev {
+ font-family: "Simsun";
+ font-size: 16px;
+ font-weight: bold;
+}
+
+.now,
+.count {
+ padding: 0 5px;
+ color: #f00;
+}
+
+.eg img {
+ max-width: 800px;
+ min-height: 500px;
+}
+
+.flood-analysis-pagination input {
+ float: left;
+ margin: 3px 5px;
+ width: 25px;
+ height: 25px;
+ line-height: 25px !important;
+ text-align: center;
+ background: #fff;
+ border: 1px solid #ebebeb;
+ outline: none;
+ color: #bdbdbd;
+ font-size: 14px;
+}
+
+#pagination {
+ position: absolute;
+ margin-top: 5px;
+}
+
+.flood-analysis-pagination .jump-btn {
+ width: 38px !important;
+}
+
+.column-2 {
margin-left: 20px;
}
-.evaluate-echarts{
+.evaluate-echarts {
width: 100%;
display: none;
}
/**淹没图**/
-.flood-image-top img{
+.flood-image-top img {
width: 100%;
}
-.flood-image-bottom{
+.flood-image-bottom {
width: 96%;
text-align: right;
}
--
Gitblit v1.9.3