| | |
| | | <div class="progress"></div> |
| | | </div> |
| | | <div class="housing-bg"> |
| | | <!-- <img style="height: 100%;" :src="villageInfo.pic_url" alt /> --> |
| | | <el-image |
| | | style=" height: 100%" |
| | | :src="villageInfo.pic_url" |
| | | :preview-src-list="villageInfo.pic_url_list" |
| | | ></el-image> |
| | | <div class="block"> |
| | | <el-carousel height="150px"> |
| | | <el-carousel-item |
| | | v-for="item in villageInfo.pic_url_list" |
| | | :key="item" |
| | | > |
| | | <el-image |
| | | style=" height: 100%" |
| | | :src="item" |
| | | :preview-src-list="villageInfo.pic_url_list" |
| | | ></el-image> |
| | | </el-carousel-item> |
| | | </el-carousel> |
| | | </div> |
| | | </div> |
| | | <div class="housing-introduce"> |
| | | <div> |
| | |
| | | |
| | | <script> |
| | | import { listQuery, accurateSearch } from "@/utils/search.js" |
| | | import { getSearchExtensively, getHouses, getSearchExtensivelyBgAoiDeepdata, getPoliceStationTrees, getVillageInfo, getVillagePersonStatisticInfoByBuildId, getVillagePersonInfo } from '@/api/dept/index.js' |
| | | import { getSearchExtensively, getHouses, getSearchExtensivelyBgAoiDeepdata, getPoliceStationTrees, getVillageInfo, getVillagePersonStatisticInfoByBuildId, getVillagePersonInfo, getResidentialQuartersInfo } from '@/api/dept/index.js' |
| | | import { getAlarmList } from "@/api/home/index.js" |
| | | |
| | | |
| | |
| | | }, |
| | | }, |
| | | created () { |
| | | this.getResidentialQuartersInfo() |
| | | // 首页跳转社区包含参数 |
| | | if (this.$route.query.id) { |
| | | this.getVillageInfo(this.$route.query.id) |
| | |
| | | this.villageInfo.pic_url_list.push(pic_url_item) |
| | | }) |
| | | // 停车场出入口商场 |
| | | let deepData = res.data.result[0].deep_infos.deep_info |
| | | this.parkingLotData = [] |
| | | this.comeOutData = [] |
| | | this.businessData = [] |
| | | deepData.forEach(item => { |
| | | if (item.pc_type == 1) { |
| | | this.comeOutData.push(item) |
| | | } else if (item.pc_type == 2) { |
| | | this.parkingLotData.push(item) |
| | | } else if (item.pc_type == 4) { |
| | | this.businessData.push(item) |
| | | } |
| | | }) |
| | | // let deepData = res.data.result[0].deep_infos.deep_info |
| | | // this.parkingLotData = [] |
| | | // this.comeOutData = [] |
| | | // this.businessData = [] |
| | | // deepData.forEach(item => { |
| | | // if (item.pc_type == 1) { |
| | | // this.comeOutData.push(item) |
| | | // } else if (item.pc_type == 2) { |
| | | // this.parkingLotData.push(item) |
| | | // } else if (item.pc_type == 4) { |
| | | // this.businessData.push(item) |
| | | // } |
| | | // }) |
| | | // 小区楼栋数据 |
| | | let buildData = res.data.result[0].children_infos |
| | | this.buildingList = [] |
| | |
| | | this.getVillagePersonInfo('', this.choosedBuildId, this.keyPeopleType == 1 ? '' : this.keyPeopleType, this.peoplePage.currentPage, this.peopleName, this.callPhone) |
| | | }, |
| | | |
| | | getResidentialQuartersInfo () { |
| | | getResidentialQuartersInfo('6E513C5E5D1611EAB6183C15FB00027B', '361102').then(res => { |
| | | console.log(res, 111221) |
| | | // 停车场出入口商场 |
| | | // let deepData = res.data.result[0].deep_infos.deep_info |
| | | // this.parkingLotData = [] |
| | | // this.comeOutData = [] |
| | | // this.businessData = [] |
| | | // deepData.forEach(item => { |
| | | // if (item.pc_type == 1) { |
| | | // this.comeOutData.push(item) |
| | | // } else if (item.pc_type == 2) { |
| | | // this.parkingLotData.push(item) |
| | | // } else if (item.pc_type == 4) { |
| | | // this.businessData.push(item) |
| | | // } |
| | | // }) |
| | | }) |
| | | }, |
| | | |
| | | }, |
| | | |
| | | destroyed () { |