搜索筛选组件同步 品牌公寓添加searchID
This commit is contained in:
parent
486f69d346
commit
60c3110bea
@ -85,6 +85,7 @@ let next = () => carousel.value.next()
|
||||
|
||||
//点击预览图
|
||||
let watchSet = (num) => {
|
||||
console.log(num)
|
||||
carousel.value.setActiveItem(num)
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user