Compare commits

...

2 Commits

Author SHA1 Message Date
2eaa6a6b9c 公寓搜索 2023-08-01 15:23:18 +08:00
60c3110bea 搜索筛选组件同步 品牌公寓添加searchID 2023-08-01 15:21:53 +08:00
3 changed files with 6 additions and 3 deletions

View File

@@ -85,6 +85,7 @@ let next = () => carousel.value.next()
//点击预览图
let watchSet = (num) => {
console.log(num)
carousel.value.setActiveItem(num)
}

View File

@@ -315,10 +315,12 @@ let setSeachConditions = (type, data) => {
}
} else {
seachAllType = {
tabType: 'apartment',
tabType:'apartment',
searchid:setPageKey(),
...type.value
}
}
if(!seachAllType['tabType'])seachAllType['tabType']=tabType.value
if (!seachVal.value) {
seachAllType.searchid = ''
}
@@ -417,7 +419,7 @@ let getLocationData = (data) => {
//更新当前数据数量
let setListCount = (item, num) => {
// console.log(item, num)
console.log(item, num)
// console.log(seachKey.key)
if (item.tabType === "intermediary") {
seachKey.key['intermediary']['count'] = num

View File

@@ -182,7 +182,7 @@ onMounted(() => {
routeQuery.data = route.currentRoute.value.query
if (routeQuery.data.keyword && routeQuery.data.keyword.replace(/\s/g, "") && routeQuery.data.houseingPageType != 6) {
inputModuleInfo.value.searchInit(routeQuery.data.keyword)//调用搜索组件的搜索功能
route.currentRoute.value.query.keyword = ''
// route.currentRoute.value.query.keyword = ''
} else {
inputModuleInfo.value.checkPageType()
}