+
+
更新 :  
{{ housingInfo['data'] && housingInfo['data'].info.updatetime }}
@@ -1332,7 +1334,7 @@ const onPageSrcoll = (e) => {
if (loadMore.value) {
loadMore.value = false
pages.value += 1
- if (housingInfo['data'].isintermediary) {
+ if (housingInfo['data']&&housingInfo['data'].isintermediary) {
getPublisherList()
} else {
recommendList()
@@ -1359,6 +1361,7 @@ let recommendList = () => {
}).then(res => {
console.log(res)
if (res.code === 200) {
+ console.log(res.data.data && res.data.data.length >= 30)
if (res.data.data && res.data.data.length >= 30) {
loadMore.value = true
loadText.value = '下拉加载更多'
@@ -1400,6 +1403,7 @@ let getPublisherList = () => {
}).then(res => {
console.log(res)
if (res.code === 200) {
+ console.log(res.data.length >= 30)
if (res.data.length >= 30) {
loadMore.value = true
} else {
@@ -1441,10 +1445,8 @@ onMounted(() => {
gutter: 10
});
if (pageType.value != 3) {
- setTimeout(() => {
- window.addEventListener('scroll', onPageSrcoll);
- document.body.scrollTop = 0
- }, 1000)
+ window.addEventListener('scroll', onPageSrcoll);
+ document.body.scrollTop = 0
}
})
@@ -2041,6 +2043,7 @@ img {
margin-top: 30px;
box-sizing: border-box;
line-height: 20px;
+ word-wrap: break-word;
.business-card-btn {
width: 100px;
@@ -2539,7 +2542,7 @@ img {
border-color: rgba(235, 235, 235, 1);
border-radius: 10px;
margin-top: 45px;
- padding: 10px 0px;
+ padding: 10px 15px;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-weight: 400;
font-style: normal;
@@ -2547,12 +2550,13 @@ img {
font-size: 13px;
.houseing-info-box-s {
- padding: 0 15px;
+ height: 17px;
+ width:1px;
border-right: 1px dashed #d7d7d7;
}
.browse-box {
- margin-left: 160px;
+ margin-left: 130px;
.text {
margin-left: 10px;