| | |
| | | mapStyle: 'amap://styles/normal' |
| | | }) |
| | | |
| | | this.map.on('click', () => { |
| | | this.markers = this.currentMakers |
| | | this.$nextTick(() => { |
| | | this.map.clearMap() |
| | | this.addMapMarkers() |
| | | }) |
| | | }) |
| | | |
| | | this.addMapMarkers() |
| | | }, |
| | | addMapMarkers() { |
| | |
| | | <span class="action-btn" :style="{ backgroundColor: item.leaseStatus == 2 ? '#FFB822' : item.leaseStatus == 1 ? '#66BAF8' : '#FF6B6B' }">{{ ['待出租', '已出租', '维修中'][item.leaseStatus - 1] }}</span> |
| | | </div> |
| | | </div> |
| | | <div v-for="(item, index) in realTimeRentData" :key="'duplicate-' + index" class="status-item"> |
| | | <div v-for="(item, index) in realTimeRentData" v-if="realTimeRentData.length>10" :key="'duplicate-' + index" class="status-item"> |
| | | <span class="area-name">{{ item.streetName }}</span> |
| | | <span class="area-name">{{ item.roomName }}</span> |
| | | <div class="status-actions"> |