详情发布房源列表

This commit is contained in:
2023-08-01 14:50:08 +08:00
parent 54bc83080d
commit 486f69d346
7 changed files with 18 additions and 14 deletions

View File

@@ -1140,7 +1140,7 @@ let setShowDistance = () => {
let titleType = ref(false)
//标题
let changeTitleType = () => {
console.log(1)
// console.log(1)
titleType.value = !titleType.value
}
@@ -1388,7 +1388,7 @@ let recommendList = () => {
}).then(res => {
console.log(res)
if (res.code === 200) {
console.log(res.data.data && res.data.data.length >= 30)
// console.log(res.data.data && res.data.data.length >= 30)
if (res.data.data && res.data.data.length >= 30) {
loadMore.value = true
loadText.value = '下拉加载更多'
@@ -1430,7 +1430,7 @@ let getPublisherList = () => {
}).then(res => {
console.log(res)
if (res.code === 200) {
console.log(res.data.length >= 30)
// console.log(res.data.length >= 30)
if (res.data.length >= 30) {
loadMore.value = true
} else {
@@ -1457,7 +1457,7 @@ watch(route, () => {
let { id } = router.currentRoute.value.query
uniqid.value = id
pageType.value = housingInfo['data']['info'].intermediary === 1 ? 2 : housingInfo['data']['info'].intermediary === 6 ? 3 : 1 //1个人 2中介 3求房源
console.log('pageType', pageType.value)
// console.log('pageType', pageType.value)
publisherList.value = []
recommendListData.value = []
getHousingInfo()