zhongrj
2023-11-03 27355aa36b7f8b0e2e9681c4f907aef0a5e961a7
楼盘表下转逻辑调整
2 files modified
27 ■■■■ changed files
subPackage/house/family/index.vue 21 ●●●● patch | view | raw | blame | history
subPackage/house/list/index.vue 6 ●●●●● patch | view | raw | blame | history
subPackage/house/family/index.vue
@@ -47,13 +47,13 @@
                            </view>
                        </view>
                    </u-collapse-item>
                    <u-collapse-item v-show="isShowShop" style="border: none;" title="商铺"
                    <u-collapse-item class="sp-list" v-show="isShowShop" style="border: none;" title="商铺"
                        >
                        <view class="house-list-box" v-for="(item, index) in shopList" :name="index" :key="index" @click.native="pushShopPage(item)">
                        <view class="house-list-box flex" v-for="(item, index) in shopList" :name="index" :key="index" @click.native="pushShopPage(item)">
                            <view class="l">
                                <u-icon name="home" color="#fff"></u-icon>
                            </view>
                            <view class="r">
                            <view class="r nowrap-ellipsis-hidden">
                                {{item.floor}}
                            </view>
                        </view>
@@ -105,7 +105,7 @@
                    type:3,
                    code:this.currentId,
                    name: this.addressType==1?"":this.neiCode,
                    addressType :this.addressType
                    addressType :this.addressType==3?2:1
                }
                const res = await getHouseList(param)
                const aoiList = res.data.aoiList
@@ -219,7 +219,20 @@
                color: #fff;
                background: linear-gradient(to right, #417BE9, #6D9FFB);
                box-sizing: border-box;
                .r {
                    width: 0;
                    flex: 1;
                }
            }
        }
    }
    .sp-list {
        /deep/ .u-collapse-item__content__text {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
        }
    }
</style>
subPackage/house/list/index.vue
@@ -92,14 +92,16 @@
            },
            pushPage(value) {
                const { id, title,addressType } = value
                if(addressType == 1){
                // addressType == 3 街路巷
                if(addressType == 1 || addressType == 3){
                    if (id !== void 0) {
                        let url = `/subPackage/house/family/index?id=${id}&housingName=${this.curHouseTitle}
                        &buildingName=${title}&addressType=${addressType}&neiCode=${this.currentId}`
                        this.$u.func.globalNavigator(url, "navTo")
                    }
                }else{
                    // 跳转场所页面
                    // 跳转场所页面 addressType == 2
                }
            }
        }