首页跳转个人房源

This commit is contained in:
2023-07-19 19:24:09 +08:00
parent 54e699f776
commit e625743205
9 changed files with 99 additions and 42 deletions

View File

@@ -64,12 +64,12 @@
</div>
</div>
<div class="seach-info-box dis-f" v-if="routePath === '/'">
<seachInfo title="学校附近" :btn="seachSchoolBtn.data" seachType="1" v-if="seachSchoolBtn.data.length">
<seachInfo title="学校附近" :btn="seachSchoolBtn.data" seachType="1" v-if="seachSchoolBtn.data.length" :checkBtn="checkBtn">
</seachInfo>
<seachInfo title="合租" seachType="2" :btn="hireType.data" v-if="hireType.data.length"></seachInfo>
<seachInfo title="区域找房" seachType="3" style="margin-top:30px;" :btn="seachArea.data"
<seachInfo title="合租" seachType="2" :btn="hireType.data" v-if="hireType.data.length" :checkBtn="checkBtn"></seachInfo>
<seachInfo title="区域找房" seachType="3" style="margin-top:30px;" :btn="seachArea.data" :checkBtn="checkBtn"
v-if="seachArea.data.length"></seachInfo>
<seachInfo title="整租" seachType="2" style="margin-top:30px;" :btn="allHireType.data"
<seachInfo title="整租" seachType="2" style="margin-top:30px;" :btn="allHireType.data" :checkBtn="checkBtn"
v-if="allHireType.data.length"></seachInfo>
</div>
<!-- -->
@@ -197,6 +197,12 @@ let setHotSeach=(item)=>{
getDataList(seachAllType)
}
//点击选项
let checkBtn=(data,type)=>{
console.log(data,type)
getDataList(type,data)
}
defineExpose({
historyShow