求房源页面+接口修改

This commit is contained in:
2023-07-28 18:50:22 +08:00
parent 902fd71ce2
commit 088e684466
9 changed files with 4101 additions and 4157 deletions

View File

@@ -185,7 +185,8 @@ let seachList = (item) => {
}
//设置搜索数据
let setSeachConditions = (type, data,second) => {
let setSeachConditions = (type, data,second=null) => {
console.log(type,data,second)
if (type === 'rent') {
seachAllType['rent_min'] = data.min
seachAllType['rent_max'] = data.max
@@ -203,7 +204,11 @@ let setSeachConditions = (type, data,second) => {
if (type === 'location') {
seachAllType.school = ''
}
if(second){
seachAllType[second.type]=second.id
}
// console.log('seachAllType', seachAllType)
// return
getDataList(seachAllType)
}