| | |
| | | <u-grid class="flex flex-wrap" col="2" :border="true">
|
| | | <u-grid-item v-for="(scItem, scIndex) in cItem.children" :key="scItem.id" @click.native="pushPage(scItem)">
|
| | | <view class="room-box flex f-d-c">
|
| | | <view class="flex a-i-c j-c-s-b" v-show="scItem.resideStatus"> |
| | | <view class="flex a-i-c j-c-s-b" v-show="scItem.residentialStatus"> |
| | | <view class="l">{{scItem.realName}}</view>
|
| | | <view class="r flex">
|
| | | <view v-show="scItem.resideStatus">
|
| | | <view v-show="scItem.residentialStatus">
|
| | | <u-icon name="photo"></u-icon>
|
| | | </view>
|
| | |
|
| | |
| | | },
|
| | | methods: {
|
| | | async getBuildingList() { |
| | | const res = await getHouseInfoList(3, '9cedfffba380fc19f88ede2323aca651') |
| | | const res = await getHouseInfoList(3, this.currentId) |
| | | res.data.forEach(item => { |
| | | item.children && item.children.sort((a, b) => a.floor - b.floor) |
| | | }) |