| | |
| | | <el-tooltip :popper-class="'map-tooltip'" effect="dark" :content="item.name" placement="left"> |
| | | <li style=" "> |
| | | <!-- <span>{{item.name}}</span>--> |
| | | |
| | | <!-- <div >--> |
| | | <img src="../../assets/images/map-pages/icon/sl.png" class="icon"> |
| | | <!-- </div>--> |
| | |
| | | |
| | | <div :class="'search-container map-background'"> |
| | | <div class="el-message-box__content" style="padding:6px;font-size: 13px;"> |
| | | <div class="search-title"> |
| | | 污雨水 |
| | | </div> |
| | | <component :title="title" :is="gcComp"></component> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import EnvProtectSearch from './topicSearch/EnvProtectSearch' |
| | | import EnvRiskSearch from './topicSearch/EnvRiskSearch' |
| | | import DischargeSearch from './topicSearch/DischargeSearch' |
| | | import { TopicList } from '../../conf/Topic' |
| | | |
| | | import GasWasteSearch from '@components/panel/topicSearch/GasWasteSearch' |
| | | import WaterWasteSearch from '@components/panel/topicSearch/WaterWasteSearch' |
| | | import SolidWasteSearch from '@components/panel/topicSearch/SolidWasteSearch' |
| | | import SewersSearch from '@components/panel/topicSearch/SewersSearch' |
| | | import SoilGroundWaterSearch from '@components/panel/topicSearch/SoilGroundWaterSearch.vue' |
| | | export default { |
| | | name: 'MonitorPanel', |
| | | components: { EnvProtectSearch, DischargeSearch }, |
| | | components: { GasWasteSearch, WaterWasteSearch, SolidWasteSearch, EnvRiskSearch, DischargeSearch }, |
| | | data () { |
| | | return { |
| | | isShow: true, |
| | |
| | | console.log(done) |
| | | }, |
| | | selected (val) { |
| | | console.log(val) |
| | | // console.log(val) |
| | | this.title = val.name + '(检索)' |
| | | this.topicList.forEach((itm) => { |
| | | itm.checked = val.name === itm.name |
| | | }) |
| | | switch (val.name) { |
| | | case '污染源': |
| | | this.gcComp = DischargeSearch |
| | | break |
| | | case '废水监测': |
| | | this.gcComp = WaterWasteSearch |
| | | break |
| | | case '废气监测': |
| | | this.gcComp = GasWasteSearch |
| | | break |
| | | case '固废管理': |
| | | this.gcComp = SolidWasteSearch |
| | | break |
| | | case '环境风险': |
| | | this.gcComp = EnvRiskSearch |
| | | break |
| | | case '土壤及地下水': |
| | | this.gcComp = SoilGroundWaterSearch |
| | | break |
| | | case '污雨水管网': |
| | | this.gcComp = SewersSearch |
| | | break |
| | | } |
| | | }, |
| | | handlePage (page) { |
| | | }, |
| | |
| | | .search-container { |
| | | position: relative; |
| | | width: 1.79167rem; |
| | | height: 3.4375rem; |
| | | /*height: 5.6475rem;*/ |
| | | min-height: 80vh; |
| | | max-height: 90vh; |
| | | overflow: hidden; |
| | | } |
| | | .module-wrap{ |
| | |
| | | |
| | | .search-form .el-icon-search { |
| | | display: grid; |
| | | line-height: 30px; |
| | | font-size: 18px; |
| | | } |
| | | /*input 点击搜索样式*/ |
| | | .rightButtonSearch{ |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .el-input{margin-right: 10px} |
| | | .el-icon-search{ |
| | | width: 40px; |
| | | border:1px solid @color; |
| | | height: 26px; |
| | | line-height: 26px; |
| | | text-align: center; |
| | | color:#fff; |
| | | border-radius: 2px; |
| | | cursor:pointer; |
| | | background: rgba(0,16,30,.5); |
| | | } |
| | | } |
| | | /*单选按钮样式*/ |
| | | .levelOfRisk{padding-left:20px} |
| | | .levelOfRisk .el-radio{padding-bottom:6px} |
| | | |
| | | .levelOfRisk-type{ |
| | | display: inline-block; |
| | | position: relative; |
| | | padding-right: 5px; |
| | | color:#f5f5f5; |
| | | i{ |
| | | display: block; |
| | | width: 15px; |
| | | height: 10px; |
| | | position: absolute; |
| | | top:50%; |
| | | right: -15px; |
| | | margin-top: -5px; |
| | | } |
| | | } |
| | | .el-radio.is-checked .levelOfRisk-type{color:#409EFF} |
| | | |
| | | .environmental-risk-list{ |
| | | border:1px solid @color; |
| | | margin-right: 10px; |
| | | margin-bottom: 15px; |
| | | position: relative; |
| | | padding-left:50px; |
| | | padding-top:3px; |
| | | padding-bottom:3px; |
| | | color: #f5f5f5; |
| | | .state{ |
| | | width: 30px; |
| | | height: 30px; |
| | | position: absolute; |
| | | top:50%; |
| | | left:10px; |
| | | margin-top: -15px; |
| | | border-radius: 50%; |
| | | box-shadow: 0 0 3px #000; |
| | | background: #0B3B6D; |
| | | } |
| | | } |
| | | //.search-panel { |
| | | // border: #07325B; |
| | | // background-color: #07325B !important; |
| | |
| | | transform: translateX(0px); |
| | | transition: transform 0.5s linear; |
| | | } |
| | | /******************以下公共部分**********/ |
| | | .sewers-search{ |
| | | position: relative; |
| | | overflow: hidden; |
| | | .search-panel{ |
| | | background-color: transparent; |
| | | border: 1px solid @background-color-split; |
| | | padding: 10px 0; |
| | | // .el-input{width:calc(100% - 40px);position: relative} |
| | | /deep/ input { |
| | | border-radius: 0; |
| | | background-color: @background-color-split ; |
| | | border: solid 1px @color ; |
| | | color: @color-gray; |
| | | font-size: 0.01rem; |
| | | padding:0 15px; |
| | | .el-select .el-input.is-focus .el-input__inner{ |
| | | border-color: @color; |
| | | } |
| | | } |
| | | .el-input__inner{background: none;color:#fff;font-size: 14px;border-radius: 0; border-color: @color;background: rgba(0,16,30,.5);} |
| | | } |
| | | .search-btn{ |
| | | |
| | | } |
| | | //location-btn{ |
| | | // |
| | | //} |
| | | .location-btn:hover,.el-input__icon:hover{ |
| | | color: @color; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |