| | |
| | | <!-- 图片和地图部分 --> |
| | | <div class="media-section"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="1"><div class="leftBtn" @click="leftClick"><</div></el-col> |
| | | <el-col :span="1"><div class="leftBtn" :class="currentIndex ===0 ? 'disableds':''" @click="leftClick"><</div></el-col> |
| | | <el-col :span="11"> |
| | | <div class="media-box"> |
| | | <div class="media-title">事件图片</div> |
| | |
| | | </template> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="1"><div class="leftBtn" @click="rightClick">></div></el-col> |
| | | <el-col :span="1"><div |
| | | :class="currentIndex === tableData.length-1 ? 'disableds':''" class="leftBtn" @click="rightClick">></div> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | |
| | |
| | | this.currentDetail.updatePhotoUrl = this.currentDetail.update_photo_url; |
| | | this.currentDetail.processingDetail = this.currentDetail.content; |
| | | this.handleViewDetail(this.currentDetail) |
| | | console.log('this.currentDetail', this.tableData); |
| | | |
| | | // 如果使用地图组件,需要更新地图标记 |
| | | this.$nextTick(() => { |
| | |
| | | isReview: item.is_review, // 添加复核状态字段映射 |
| | | }; |
| | | }); |
| | | // console.log('this.tableData',this.tableData); |
| | | console.log('this.tableData',this.tableData); |
| | | |
| | | // 更新总数显示 |
| | | this.page.total = total || 0; |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | .tab-content { |
| | | padding: 10px; |
| | | } |
| | |
| | | line-height: 36px; |
| | | color: #fff; |
| | | cursor: pointer; |
| | | opacity: 0.8; |
| | | } |
| | | .disableds { |
| | | background: #999 !important; |
| | | cursor: not-allowed !important; |
| | | pointer-events: none; |
| | | opacity: 0.3 !important; |
| | | } |
| | | .media-box { |
| | | width: 100%; |