修改搜索页面的我的按钮
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<img src="../../assets/homeImage/Mycollect.png" class="img" alt="">
|
<img src="../../assets/homeImage/Mycollect.png" class="img" alt="">
|
||||||
我的收藏
|
我的收藏
|
||||||
</div>
|
</div>
|
||||||
<div class="tool-btn dis-f al-item jus-x mg-l-10" @click="gouser('fav')">
|
<div class="tool-btn dis-f al-item jus-x mg-l-10" @click="gouser('publish')">
|
||||||
<img src="../../assets/homeImage/informationO.png" class="img" alt="">
|
<img src="../../assets/homeImage/informationO.png" class="img" alt="">
|
||||||
我的发布
|
我的发布
|
||||||
</div>
|
</div>
|
||||||
@@ -74,7 +74,8 @@
|
|||||||
中介房源 {{ seachKey.key && seachKey.key.intermediary && seachKey.key.intermediary.count }}
|
中介房源 {{ seachKey.key && seachKey.key.intermediary && seachKey.key.intermediary.count }}
|
||||||
</div>
|
</div>
|
||||||
<div class="top-btn dis-f jus-x al-item third" @click="selectPage('apartment')"
|
<div class="top-btn dis-f jus-x al-item third" @click="selectPage('apartment')"
|
||||||
:class="{ 'select-top-btn-bg': tabType === 'apartment' }" v-if="!isNeedHousing&&houseingPageType!=6">
|
:class="{ 'select-top-btn-bg': tabType === 'apartment' }"
|
||||||
|
v-if="!isNeedHousing && houseingPageType != 6">
|
||||||
<div class="second-select-third-box" v-show="tabType === 'intermediary'">
|
<div class="second-select-third-box" v-show="tabType === 'intermediary'">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|
||||||
@@ -438,7 +439,13 @@ defineExpose({
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 跳转我的页面
|
// 跳转我的页面
|
||||||
const gouser = tab => route.push(`/user?tab=${tab}`)
|
const gouser = tab => {
|
||||||
|
if (!store.state['user']['uid']) {
|
||||||
|
store.state.showloginmodal = true
|
||||||
|
return
|
||||||
|
}
|
||||||
|
route.push(`/user?tab=${tab}`)
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user