3 files modified
2 files added
| | |
| | | <div> |
| | | <div class="fold-btn"></div> |
| | | <div class="content"> |
| | | <div class="flood-top"> |
| | | <input class="analysis-button" type="button" value="洪水淹没分析"/> |
| | | <input class="history-button" type="button" value="历史风险图"/> |
| | |
| | | </thead> |
| | | <tbody id="flood-tbody" class="table-tbody flood-tbody"></tbody> |
| | | </table> |
| | | <div class="flood-analysis-pagination Pagination" id="analysis-pagination"></div> |
| | | <div class="flood-analysis-pagination" id="analysis-pagination"></div> |
| | | </div> |
| | | </div> |
| | | <div class="flood-history"> |
| | |
| | | </thead> |
| | | <tbody id="flood-history-tbody" class="table-tbody flood-tbody"></tbody> |
| | | </table> |
| | | <div class="flood-analysis-pagination Pagination" id="history-pagination"></div> |
| | | <div class="flood-analysis-pagination" id="history-pagination"></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="flood-bottom"> |
| | | </div> |
| | | </div> |
| | |
| | | analysisTableList: [], |
| | | currentHdId: "", |
| | | currentSmxcode: "", |
| | | isOpen:true, |
| | | //api接口 |
| | | url: { |
| | | riverwaySelectName: "http://192.168.0.200:82/blade-ycreal/riverway/selectName?name=%E6%B0%B4", |
| | |
| | | startup: function startup() { |
| | | var self = this |
| | | this.bindHtmlElement() |
| | | $(".fold-btn").click(function(){ |
| | | if (self.isOpen){ |
| | | $(this).addClass('close') |
| | | $(this).removeClass('open') |
| | | $('.content').hide() |
| | | self.isOpen = false |
| | | }else { |
| | | $(this).addClass('open') |
| | | $(this).removeClass('close') |
| | | $('.content').show() |
| | | self.isOpen = true |
| | | } |
| | | }) |
| | | |
| | | $('input[type=radio][name=middleRadio]').change(function () { |
| | | if (this.value == "realtime") { |
| | | self.divSwInput.css('visibility', 'hidden') |
| | |
| | | destination: Cesium.Cartesian3.fromDegrees(116.016905, 25.884684, 10000), |
| | | }); |
| | | |
| | | $(this).addClass('open') |
| | | $(this).removeClass('close') |
| | | $('.content').show() |
| | | this.isOpen = true |
| | | }, |
| | | |
| | | onClose: function onClose() { |
| | |
| | | top: 75px !important; |
| | | border: 1px solid rgb(69, 154, 251); |
| | | border-radius: 5px; |
| | | background: rgba(35, 36, 58, 1); |
| | | background: rgba(35, 36, 58, .7); |
| | | z-index: 41 !important; |
| | | color: rgb(255, 255, 255); |
| | | font-size: 22px; |
| | |
| | | padding: 0; |
| | | } |
| | | |
| | | .fold-btn{ |
| | | width: 50px; |
| | | height: 30px; |
| | | position: fixed; |
| | | cursor: pointer; |
| | | background-color: rgb(39, 118, 172); |
| | | background-image: url(../images/fold_up.png); |
| | | border-radius: 5px; |
| | | opacity: 1; |
| | | background-position: center; |
| | | background-repeat: no-repeat; |
| | | } |
| | | |
| | | .open{ |
| | | background-image: url(../images/fold_up.png); |
| | | } |
| | | |
| | | .close{ |
| | | background-image: url(../images/fold_down.png); |
| | | } |
| | | |
| | | .flood-top { |
| | | text-align: center; |
| | | display: inline-flex; |