搜索筛选组件同步 品牌公寓添加searchID

This commit is contained in:
luJianJun 2023-08-01 15:21:53 +08:00
parent 486f69d346
commit 60c3110bea
3 changed files with 5 additions and 2 deletions

View File

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

View File

@ -314,9 +314,11 @@ let setSeachConditions = (type, data) => {
} else {
seachAllType = {
tabType:'apartment',
searchid:setPageKey(),
...type.value
}
}
if(!seachAllType['tabType'])seachAllType['tabType']=tabType.value
if (!seachVal.value) {
seachAllType.searchid = ''
}
@ -415,7 +417,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()
}