| | |
| | | </el-image> |
| | | </div> |
| | | </div> |
| | | <!-- 点击展开 --> |
| | | <div class="house-shrink-unfold-btn" @click="unfoldHouseBox('down')" v-show="!isShowHouseInfoBox"><i |
| | | class="el-icon-arrow-down"></i> |
| | | </div> |
| | | <!-- 点击收缩 --> |
| | | <div class="house-shrink-unfold-btn" @click="unfoldHouseBox('up')" v-show="isShowHouseInfoBox"><i |
| | | class="el-icon-arrow-up"></i></div> |
| | | </div> |
| | | </el-main> |
| | | |
| | |
| | | |
| | | data () { |
| | | return { |
| | | isShowHouseInfoBox: true, |
| | | typeValue: '', |
| | | jqType: 0, |
| | | policeInforOptions: [ |
| | |
| | | updated () { }, |
| | | |
| | | methods: { |
| | | // 收缩或展开小区信息 |
| | | unfoldHouseBox (type) { |
| | | if (type == 'up') { |
| | | // 收缩 |
| | | this.isShowHouseInfoBox = false |
| | | document.querySelector('.housing-introduce').classList.add('shrink-house') |
| | | document.querySelector('.housing-bg').classList.add('shrink-house') |
| | | } else { |
| | | // 展开 |
| | | this.isShowHouseInfoBox = true |
| | | document.querySelector('.housing-introduce').classList.remove('shrink-house') |
| | | document.querySelector('.housing-bg').classList.remove('shrink-house') |
| | | } |
| | | }, |
| | | |
| | | // 警情统计 |
| | | getAlarmStatistics () { |
| | | getAlarmStatistics({ |
| | |
| | | |
| | | buildingClick (item, aoiArr) { |
| | | if (this.buildingChoosed.name == item.name && !aoiArr) return |
| | | this.unfoldHouseBox('up') |
| | | this.isBuildHighLightchecked = true |
| | | this.unitHouseChoosed = [] |
| | | this.unitChoosedArr = [] |
| | |
| | | top: 0; |
| | | } |
| | | } |
| | | |
| | | .shrink-house { |
| | | height: 0 !important; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .house-shrink-unfold-btn { |
| | | font-size: 20px; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .house-shrink-unfold-btn:hover { |
| | | color: #2c75f1; |
| | | } |
| | | } |
| | | |
| | | .nav-tab { |