From 4d8c6dd77427e8e581fda17b6b65ba86bfb7a815 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 27 Feb 2023 14:30:01 +0800
Subject: [PATCH] 洪水淹没

---
 widgets/FloodAnalysis/css/style.css |  610 +++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 431 insertions(+), 179 deletions(-)

diff --git a/widgets/FloodAnalysis/css/style.css b/widgets/FloodAnalysis/css/style.css
index 36287e4..00b2da6 100644
--- a/widgets/FloodAnalysis/css/style.css
+++ b/widgets/FloodAnalysis/css/style.css
@@ -1,269 +1,521 @@
 .jimu-widget-FloodAnalysis {
-	width: 60% !important;
-	height: 100%;
-	position: fixed !important;
-	left: 30px !important;
-	top: 75px !important;
-	border: 1px solid rgb(69, 154, 251);
-	border-radius: 5px;
-	background: rgba(31, 39, 48, .7);
-	z-index: 41 !important;
-	color: rgb(255, 255, 255);
-	font-size: 22px;
+    width: 100%;
+    height: 100%;
+    overflow: hidden;
+    background: #fff;
 }
 
-.jimu-widget-FloodAnalysis div,
-.jimu-widget-FloodAnalysis i,
 .jimu-widget-FloodAnalysis ul,
 .jimu-widget-FloodAnalysis li,
-.jimu-widget-FloodAnalysis span,
+.jimu-widget-FloodAnalysis div,
 .jimu-widget-FloodAnalysis input,
-.jimu-widget-FloodAnalysis h2 {
-	margin: 0;
-	padding: 0;
+.jimu-widget-FloodAnalysis img,
+.jimu-widget-FloodAnalysis table,
+.jimu-widget-FloodAnalysis tr,
+.jimu-widget-FloodAnalysis td,
+.jimu-widget-FloodAnalysis th,
+.jimu-widget-FloodAnalysis tbody,
+.jimu-widget-FloodAnalysis thead{
+    margin: 0;
+    padding: 0;
 }
 
-.flood-top{
-	text-align: center;
-	display: inline-flex;
-	margin-left: 41% !important;
+.jimu-widget-FloodAnalysis a {
+    text-decoration: none;
+    color: black;
 }
 
-.flood-middle .select-box{
-	display: flex;
-	margin: 1% 0 0 1%;
+.jimu-widget-FloodAnalysis a:hover {
+    text-decoration: none;
+    color: #336699;
 }
 
-.select-box>div{
-	display: flex;
-	margin-right: 3%;
+.jimu-widget-FloodAnalysis #tab {
+    position: absolute;
+    width: 100%;
+    top: 0px;
+    left: 0px;
+    right: 0px;
+    height: 100%;
+    /*margin: 1px 3px 1px 3px;*/
+    /*z-index: 9;*/
 }
 
-.flood-top input{
-	width: 100px;
-	height: 25px;
-	cursor: pointer;
+.jimu-widget-FloodAnalysis #tab .tabul {
+    height: 30px;
+    line-height: 30px;
 }
 
-.flood-top .choose-button{
-	background-color: #1f81e0;
-	border: none;
-	color: white;
+.jimu-widget-FloodAnalysis #tab ul {
+    list-style: none;
+    line-height: 30px;
+    height: 30px;
 }
 
-.flood-top .unchoose-button{
-	background-color: white;
-	border: none;
-	color: #1f81e0;
+.jimu-widget-FloodAnalysis #tab .tabul ul li {
+    cursor: pointer;
+    float: left;
+    list-style: none;
+    text-align: center;
+    padding: 0px 5px;
+    margin-right: 4px;
+    width: 90px;
+    height: 30px;
+    line-height: 30px;
+    background: rgb(187, 186, 186);
+    border-radius: 4px;
+    color: #fff;
 }
 
-.search-button{
-	width: 50px;
-	height: 28px;
-	background-color: white;
-	border: none;
-	cursor: pointer;
+.jimu-widget-FloodAnalysis #tab ul li.on {
+    /*border-top: 2px solid Saddlebrown;*/
+    background: #094895;
 }
 
-.flood-middle .select-box select,.flood-middle .select-box input,.search-name-input{
-	height: 30px;
-	width: 260px;
+.jimu-widget-FloodAnalysis #tab div {
+    /*width: 100%;*/
+    line-height: 24px;
+    /*border-top: none;*/
+    /*border: 1px solid #336699;*/
 }
 
-.flood-middle .radio-box{
-	text-align: center;
-	margin-top: -1%;
+.choose-button {
+    background: #094895 !important;
+    border: none;
+    color: white;
 }
 
-.flood-middle .tip{
-	font-size: 1px;
-	color: #ff3737;
+.unchoose-button {
+    background: rgb(187, 186, 186) !important;
+    border: none;
+    color: white;
 }
 
-.select-box label{
-	display: inline-block;
-	/*width: 80px;*/
-	height: 30px;
-	line-height: 30px;
-	vertical-align: middle;
-	text-align: justify;
-	text-align-last: justify;
+#tablist{
+    margin-top: 10px;
 }
 
-/**表格**/
-.flood-middle .table-box{
-	margin-top: 1%;
+.select-box{
+    border: 1px solid #d2d2d0;
+    padding: 5px !important;
 }
 
-.flood-middle .table-box table{
-	width: 100%;
+.search-box{
+    border: 1px solid #d2d2d0;
+    padding: 5px !important;
+    margin-bottom: 1% !important;
 }
 
-.flood-table-thead tr th {
-	text-align: center;
-	border-top: 1px solid #CFCFCF;
-	border-right: 1px solid #CFCFCF;
-	border-bottom: 1px solid #CFCFCF;
-	color: #ffffff;
-	background: rgb(39, 118, 172);
+/**河段选择框**/
+.hd {
+    position: relative;
+    margin-bottom: 1% !important;
 }
 
-.flood-tbody tr td {
-	text-align: center;
-	border-right: 1px solid #CFCFCF;
-	border-bottom: 1px solid #CFCFCF;
-	color: #ffffff;
+.hd input {
+    width: 260px;
+    outline: none;
+    border: 0pt;
+    line-height: 30px;
+    height: 26px;
+    border: 1px solid rgba(160, 160, 156, 1);
+    margin-left: 12px;
 }
 
-.flood-history .search-box{
-	text-align: center;
-	margin-top: 1%;
+.hd select {
+    position: absolute;
+    left: 51px;
+    top: -6px;
+    width: 260px;
+    height: 106px !important;
+    outline: none;
+    border: 1px solid rgba(160, 160, 156, 1);
+    margin-top: 31px;
 }
 
+.hd select option:hover {
+    background: #1388ff;
+    color: white;
+}
 
+.smx{
+    margin-bottom: 1% !important;
+}
 
+/**水面线选择框**/
+.smx-select{
+    width: 260px;
+    height: 26px;
+    border: 1px solid rgba(160, 160, 156, 1);
+}
 
+/**水位输入框**/
+.sw-input{
+    width: 201px;
+    height: 26px;
+    margin-left: 1px !important;
+    border: 1px solid rgba(160, 160, 156, 1);
+}
 
+/**开始分析按钮、搜索按钮**/
+.start-analysis-btn , .search-button{
+    height: 26px;
+    border: none;
+    cursor: pointer;
+    margin-left: 1% !important;
+}
 
+/**水位提示**/
+.flood-middle .tip {
+    font-size: 1px;
+    color: #ff3737;
+    margin-left: 7px;
+}
 
-/**模糊查询**/
-/*.hd {*/
-/*	position: relative;*/
-/*}*/
+/**历史风险搜索框**/
+.search-name-input{
+    width: 230px;
+    height: 26px;
+    border: 1px solid rgba(160, 160, 156, 1);
+}
 
-/*.hd input {*/
-/*	width: 167px;*/
-/*	!* top: 9px; *!*/
-/*	outline: none;*/
-/*	border: 0pt;*/
-/*	!* position: absolute; *!*/
-/*	line-height: 30px;*/
-/*	!* left: 8px; *!*/
-/*	height: 30px;*/
-/*	border: 1px solid #999;*/
-/*}*/
+/**淹没分析表格**/
+.analysis-box-list{
+    /*margin-left: 1%;*/
+    height: calc(100% - 194px);
+    top:3px;
+    overflow-y: auto;
+    background-color: #fff;
+    position: relative;
+}
 
-/*.hd select {*/
-/*	position: absolute;*/
-/*	left: 0;*/
-/*	width: 167px;*/
-/*	height: 106px !important;*/
-/*	margin-left: 86px;*/
-/*	outline: none;*/
-/*	border: 1px solid #999;*/
-/*	margin-top: 31px;*/
-/*}*/
-
-/*.hd select option:hover {*/
-/*	background: #1388ff;*/
-/*	color: white;*/
-/*}*/
-
-
-
-
-
-
-
+/**历史表格**/
+.history-box-list{
+    /*margin-left: 1%;*/
+    height: calc(100% - 86px);
+    top:3px;
+    overflow-y: auto;
+    background-color: #fff;
+    position: relative;
+}
 
 /**分页器**/
 .flood-analysis-pagination {
-	position: relative;
-	text-align: center;
-	zoom: 1;
-	display: flex;
-	width: 92%;
-	justify-content: flex-end;
+    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;
+    content: "";
+    display: table;
 }
 
 .flood-analysis-pagination:after {
-	clear: both;
-	overflow: hidden;
+    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;
+    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;
+    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: rgb(39, 118, 172);
-	border: 1px solid #ebebeb;
-	color: #ffffff;
-	font-size: 14px;
+    float: left;
+    margin: 3px 5px;
+    width: 25px;
+    height: 25px;
+    line-height: 25px !important;
+    background: #ffffff;
+    border: 1px solid #ebebeb;
+    color: #bdbdbd;
+    font-size: 14px;
 }
 
 .flood-analysis-pagination a:hover {
-	color: #fff;
-	background: #e91e63;
+    color: #fff;
+    background: #e91e63;
 }
 
 .flood-analysis-pagination .next,
 .flood-analysis-pagination .prev {
-	font-family: "Simsun";
-	font-size: 16px;
-	font-weight: bold;
+    font-family: "Simsun";
+    font-size: 16px;
+    font-weight: bold;
 }
 
 .now,
 .count {
-	padding: 0 5px;
-	color: #f00;
+    padding: 0 5px;
+    color: #f00;
 }
 
 .eg img {
-	max-width: 800px;
-	min-height: 500px;
+    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;
+    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;
 }
 
-#analysis-pagination,#history-pagination {
-	/*position: absolute;*/
-	margin-top: 5px;
-	margin-bottom: 5px;
+#analysis-pagination, #history-pagination {
+    /*position: absolute;*/
+    margin-top: 5px;
+    margin-bottom: 5px;
 }
 
 .flood-analysis-pagination .jump-btn {
-	width: 38px !important;
+    width: 38px !important;
+}
+
+/**洪水淹没分析表格**/
+#analysis-tab1-grid .dgrid-cell_200 {
+    width: 160px; /* force all columns to have SOME width */
+    text-align: left;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
+}
+#analysis-tab1-grid .dgrid-cell_80 {
+    width: 80px; /* force all columns to have SOME width */
+    text-align: center;
+}
+#analysis-tab1-grid .dgrid-cell_60 {
+    width: 60px; /* force all columns to have SOME width */
+    text-align: center;
+}
+#analysis-tab1-grid .dgrid-cell_40 {
+    width: 40px; /* force all columns to have SOME width */
+    text-align: center;
+}
+#analysis-tab1-grid .field-col1 {
+    width: 500px;
+}
+#analysis-tab1-grid .field-col4 {
+    width: 300px;
+}
+
+/**历史风险图表格**/
+#history-tab2-grid .dgrid-cell {
+    text-align: center;
+}
+
+/**进度条**/
+.jimu-widget-FloodAnalysis .dong-progress {
+    display: none;
+    position: fixed;
+    top: 0;
+    left: 0;
+    right: 0;
+    bottom: 0;
+    margin: auto;
+    width: 500px;
+    height: 0px;
+    z-index: 33;
+    background: rgba(59, 59, 59, 0.7);
+
+}
+
+.jimu-widget-FloodAnalysis .dong-progress h2 {
+    margin: 10px 0;
+    text-align: center;
+    font-size: 16px;
+    font-weight: 400;
+    color: white;
+}
+
+.jimu-widget-FloodAnalysis .dong-progress .container {
+    display: inline-block;
+    width: 100%;
+    height: 20px;
+    padding-right: 10px;
+    border: 1px solid #999;
+    border-radius: 5px;
+}
+
+.jimu-widget-FloodAnalysis .dong-progress .container .h-100P {
+    height: 100%;
+}
+
+.jimu-widget-FloodAnalysis .dong-progress .container .bar {
+    display: inline-block;
+    background: linear-gradient(to right, #ff4343, #48adff);
+    color: white;
+    font-weight: bold;
+    padding: 0 5px;
+    text-align: right;
+    border-radius: 5px;
+    border-right: 1px solid #999;
+}
+
+/**放大按钮**/
+.restore-icon{
+    width: 32px;
+    height: 32px;
+    background: rgb(0, 73, 135);
+    position: fixed;
+    right: 16px;
+    top: 90.5px;
+    background-image: url(../images/fold_down.png);
+    background-position: center;
+    background-repeat: no-repeat;
+    cursor: pointer;
+}
+
+/**图片放大**/
+/* 触发弹窗图片的样式 */
+#myImg {
+    border-radius: 5px;
+    cursor: pointer;
+    transition: 0.3s;
+}
+
+#myImg:hover {
+    opacity: 0.7;
+}
+
+/* 弹窗背景 */
+.modal {
+    display: none;
+    /* Hidden by default */
+    position: fixed;
+    /* Stay in place */
+    z-index: 9999;
+    /* Sit on top */
+    padding-top: 100px;
+    /* Location of the box */
+    left: 0;
+    top: 0;
+    width: 100%;
+    /* Full width */
+    height: 100%;
+    /* Full height */
+    overflow: auto;
+    /* Enable scroll if needed */
+    background-color:#2f353cc9;
+    /* Fallback color */
+    background-color: rgba(0, 0, 0, 0.9);
+    /* Black w/ opacity */
+}
+
+/* 图片 */
+.modal-content {
+    margin: 0 auto !important;
+    display: block;
+    /*width: 80%;*/
+    /*max-width: 700px;*/
+}
+
+/* 文本内容 */
+#caption {
+    margin: auto;
+    display: block;
+    width: 80%;
+    max-width: 700px;
+    text-align: center;
+    color: #ccc;
+    padding: 10px 0;
+    height: 150px;
+}
+
+/* 添加动画 */
+.modal-content,
+#caption {
+    -webkit-animation-name: zoom;
+    -webkit-animation-duration: 0.6s;
+    animation-name: zoom;
+    animation-duration: 0.6s;
+}
+
+@-webkit-keyframes zoom {
+    from {
+        -webkit-transform: scale(0)
+    }
+
+    to {
+        -webkit-transform: scale(1)
+    }
+}
+
+@keyframes zoom {
+    from {
+        transform: scale(0)
+    }
+
+    to {
+        transform: scale(1)
+    }
+}
+
+/* 关闭按钮 */
+.close {
+    position: absolute;
+    top: 15px;
+    right: 35px;
+    color: #f1f1f1;
+    font-size: 40px;
+    font-weight: bold;
+    transition: 0.3s;
+}
+
+.close:hover,
+.close:focus {
+    color: #bbb;
+    text-decoration: none;
+    cursor: pointer;
+}
+
+/* 小屏幕中图片宽度为 100% */
+@media only screen and (max-width: 700px) {
+    .modal-content {
+        width: 100%;
+    }
+}
+
+/**提示**/
+.tableTip {
+    display: none;
+    background-color: rgb(0 0 0 / 61%);
+    padding: 5px;
+    border: 1px solid #000;
+    position: absolute;
+    z-index: 10 !important;
+    border-radius: 5px;
+    height: 25px;
+    color: white;
+    font-size: 16px;
+    line-height: 25px;
 }

--
Gitblit v1.9.3