详情发布房源列表
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user