搜索页新增求房源判断

This commit is contained in:
2023-07-21 11:49:34 +08:00
parent 1559002cd5
commit e0f1eddfe0
9 changed files with 100 additions and 37 deletions

View File

@@ -44,8 +44,11 @@
</div>
</div>
</div>
<div>
<div class="image-box">
<div class="dis-f al-item">
</div>
<div></div>
</div>
</div>
<div>
@@ -185,6 +188,31 @@ img {
}
}
}
.image-box {
margin-top: 35px;
.img-video {
width: 26px;
height: 26px;
}
.img-icon {
width: 22px;
height: 22px;
}
.num-box {
width: 20px;
height: 20px;
border-radius: 50%;
color: #333333;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
}
}
}
</style>

View File

@@ -181,7 +181,7 @@ onMounted(() => {
routeQuery.data = route.currentRoute.value.query
console.log(routeQuery)
if(routeQuery.data.keyword){
inputModuleInfo.value.searchInit(routeQuery.data.keyword)
inputModuleInfo.value.searchInit(routeQuery.data.keyword)//调用搜索组件的搜索功能
route.currentRoute.value.query={}
}else{
getDataList()