我的页面的跳转
This commit is contained in:
@@ -8,16 +8,17 @@
|
||||
<img src="../../assets/homeImage/seachIcon.svg" class="icon" alt="" @click="seachList">
|
||||
</template>
|
||||
</el-input>
|
||||
<div class="map-box dis-f jus-x al-item">
|
||||
<!-- 地图找房的入口 暂时隐藏 -->
|
||||
<!-- <div class="map-box dis-f jus-x al-item">
|
||||
<img src="../../assets/homeImage/mapImg.png" class="img" alt="">
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="dis-f al-item">
|
||||
<div class="tool-btn dis-f al-item jus-x">
|
||||
<div class="tool-btn dis-f al-item jus-x" @click="gouser('fav')">
|
||||
<img src="../../assets/homeImage/Mycollect.png" class="img" alt="">
|
||||
我的收藏
|
||||
</div>
|
||||
<div class="tool-btn dis-f al-item jus-x mg-l-10">
|
||||
<div class="tool-btn dis-f al-item jus-x mg-l-10" @click="gouser('fav')">
|
||||
<img src="../../assets/homeImage/informationO.png" class="img" alt="">
|
||||
我的发布
|
||||
</div>
|
||||
@@ -46,8 +47,8 @@
|
||||
</div>
|
||||
求房源
|
||||
</div>
|
||||
<div class="top-btn dis-f jus-x al-item second" v-if="isNeedHousing"
|
||||
@click="selectPage('intermediary')" :class="{ 'select-top-btn-bg': tabType === 'intermediary' }">
|
||||
<div class="top-btn dis-f jus-x al-item second" v-if="isNeedHousing" @click="selectPage('intermediary')"
|
||||
:class="{ 'select-top-btn-bg': tabType === 'intermediary' }">
|
||||
<div class="first-select">
|
||||
<div class="box">
|
||||
|
||||
@@ -175,7 +176,7 @@ import selectTabBox from "../selectTabBox/selectTabBox.vue";
|
||||
import apartmentSelect from '../apartment/seachModule.vue'
|
||||
import store from '../../store/index';
|
||||
import api from '@/utils/api';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
//路由
|
||||
@@ -407,6 +408,9 @@ defineExpose({
|
||||
checkPageType
|
||||
})
|
||||
|
||||
// 跳转我的页面
|
||||
const gouser = tab => route.push(`/user?tab=${tab}`)
|
||||
|
||||
</script>
|
||||
<style scoped>
|
||||
img {
|
||||
@@ -657,7 +661,7 @@ img {
|
||||
}
|
||||
|
||||
.four {
|
||||
left:600px;
|
||||
left: 600px;
|
||||
bottom: 0;
|
||||
background: #62b1ff;
|
||||
|
||||
@@ -676,7 +680,7 @@ img {
|
||||
height: 45px;
|
||||
width: 30px;
|
||||
position: absolute;
|
||||
left:0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user