搜索页筛选-搜索内容优化
This commit is contained in:
parent
ba6f0d7812
commit
2a62def415
@ -78,7 +78,7 @@ let imageTab = ref(0)
|
||||
let prev = () => carousel.value.prev()
|
||||
|
||||
// 轮播图滚动后事件
|
||||
const carouselChange = value => imageTab.value = value
|
||||
const carouselChange = value =>{ imageTab.value = value;console.log(value)}
|
||||
|
||||
//下一张
|
||||
let next = () => carousel.value.next()
|
||||
@ -99,10 +99,8 @@ onMounted(() => {
|
||||
})
|
||||
|
||||
watch(() => props.index, (newValue, oldValue) => {
|
||||
console.log(props.index,newValue)
|
||||
imageTab.value = newValue;
|
||||
console.log(carousel.value)
|
||||
// watchSet(imageTab.value)
|
||||
watchSet(imageTab.value)
|
||||
});
|
||||
|
||||
</script>
|
||||
|
@ -232,6 +232,7 @@ let selectPage = (type) => {
|
||||
seachAllType['isverified'] = 0
|
||||
seachAllType['isintermediary'] = 0
|
||||
}
|
||||
if ((seachVal.value && !setPageKey()))return
|
||||
getDataList(seachAllType)
|
||||
}
|
||||
|
||||
@ -320,12 +321,12 @@ let setSeachConditions = (type, data) => {
|
||||
}
|
||||
} else {
|
||||
seachAllType = {
|
||||
tabType:'apartment',
|
||||
searchid:setPageKey(),
|
||||
tabType: 'apartment',
|
||||
searchid: setPageKey(),
|
||||
...type.value
|
||||
}
|
||||
}
|
||||
if(!seachAllType['tabType'])seachAllType['tabType']=tabType.value
|
||||
if (!seachAllType['tabType']) seachAllType['tabType'] = tabType.value
|
||||
if (!seachVal.value) {
|
||||
seachAllType.searchid = ''
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user