| | |
| | | code: this.currentId,
|
| | | roleName: uni.getStorageSync('activeRole').roleName,
|
| | | name: this.addressType == 1 ? "" : this.neiCode,
|
| | | buildingName:this.addressType == 4 ?this.buildingName: "",
|
| | | buildingName: this.addressType == 4 ? this.buildingName : "",
|
| | | addressType: this.addressType
|
| | | }
|
| | | const res = await getHouseList(param)
|
| | | const aoiList = res.data.aoiList
|
| | | const shopList = res.data.shopList
|
| | | if (aoiList.length > 0) {
|
| | | this.isShowBuild = true
|
| | | // 正常展示户室数据
|
| | | aoiList.forEach(item => {
|
| | | item.children && item.children.sort((a, b) => a.floor - b.floor)
|
| | | if (res.code == 200) {
|
| | | const {
|
| | | aoiList,
|
| | | shopList
|
| | | } = res.data;
|
| | | if (aoiList.length) {
|
| | | this.isShowBuild = true
|
| | | // 正常展示户室数据
|
| | | aoiList.forEach(item => {
|
| | | item.children && item.children.sort((a, b) => a.floor - b.floor)
|
| | | })
|
| | | this.buildingList = aoiList || []
|
| | | }
|
| | | if (shopList.length) {
|
| | | this.isShowShop = true
|
| | | this.shopList = shopList || []
|
| | | }
|
| | | this.$nextTick(() => {
|
| | | this.$refs.uToast.isShow = false
|
| | | })
|
| | | this.buildingList = aoiList || []
|
| | | }
|
| | | if (shopList.length > 0) {
|
| | | this.isShowShop = true
|
| | | this.shopList = shopList || []
|
| | | }
|
| | | this.$nextTick(() => {
|
| | | this.$refs.uToast.isShow = false
|
| | | })
|
| | | },
|
| | | pushPage(name, scItem) {
|
| | | const {
|
| | |
| | | // 跳转到商铺页面
|
| | | pushShopPage(name, item) {
|
| | | const {
|
| | | addressCode,addressType
|
| | | addressCode,
|
| | | addressType
|
| | | } = item
|
| | | let url = `/subPackage/house/houseNumber/index?stdId=${addressCode}&addressType=${addressType}`
|
| | | this.$u.func.globalNavigator(url, "navTo")
|
| | |
| | | .content {
|
| | | margin-top: 20rpx;
|
| | | background-color: #fff;
|
| | |
|
| | | .floor-info-box {
|
| | | margin-top: 30rpx;
|
| | | justify-content: space-between;
|
| | |
|
| | | .proprietor-box {
|
| | | color: #333333;
|
| | | }
|
| | |
|
| | | .floor-box {
|
| | | color: #017BFC;
|
| | | font-weight: 700;
|
| | |
| | | padding: 0 !important;
|
| | | }
|
| | | }
|
| | | .floor-content:last-child{
|
| | | border:none;
|
| | |
|
| | | .floor-content:last-child {
|
| | | border: none;
|
| | | }
|
| | |
|
| | | /deep/ .floor-content {
|
| | | // border-bottom: 1rpx solid #f5f5f5;
|
| | | // border-bottom:2px solid #F9F9FA;
|
| | | border-bottom:1px solid #999;
|
| | | border-bottom: 1px solid #999;
|
| | |
|
| | | .floor-num-box {
|
| | | width: 50rpx;
|
| | | padding: 0 20rpx !important;
|
| | | // background: #FAFBFE;
|
| | | background-color:#F5F5F5;
|
| | | background-color: #F5F5F5;
|
| | | }
|
| | |
|
| | | .room-content {
|
| | | width: 0;
|
| | | flex: 1;
|
| | | padding: 6rpx;
|
| | |
|
| | | .room-box {
|
| | | padding: 10rpx;
|
| | | justify-content: center;
|
| | |
| | | min-height: 110rpx;
|
| | | box-sizing: border-box;
|
| | | // background-color: #FAFBFE;
|
| | | background-color: rgb(236,244,255);
|
| | | // margin:2rpx;
|
| | | background-color: rgb(236, 244, 255);
|
| | |
|
| | | // margin:2rpx;
|
| | | &>view {
|
| | | margin: auto;
|
| | | width: 100%;
|
| | |
| | | flex-direction: row;
|
| | | flex-wrap: wrap;
|
| | | }
|
| | | |
| | | /deep/ .u-cell__body{
|
| | | background-color: rgb(236,244,255);
|
| | |
|
| | | /deep/ .u-cell__body {
|
| | | background-color: rgb(236, 244, 255);
|
| | | }
|
| | | </style> |