详情增加电梯隐藏条件 学校距离隐藏
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-top-box pos-r" style="z-index:666;">
|
<div class="title-top-box pos-r">
|
||||||
<div class="top-round" v-if="data['data'] && data['data'].info && data['data'].info.verified === 1||data['data'].isintermediary">
|
<div class="top-round" v-if="data['data'] && data['data'].info && data['data'].info.verified === 1||data['data'].isintermediary">
|
||||||
<div class="top-round-s" :class="[pageType==2?'intermediary-bg':'']"></div>
|
<div class="top-round-s" :class="[pageType==2?'intermediary-bg':'']"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
|
|
||||||
<!-- 广告 -->
|
<!-- 广告 -->
|
||||||
</div>
|
</div>
|
||||||
<img :src="itemData.imageLocal || itemData.image" class="live-img" v-if="itemData.type === 'adv'" alt=""
|
<img :src="itemData.imageLocal || itemData.image" class="live-img item" v-if="itemData.type === 'adv'" alt=""
|
||||||
@click="watchAdv">
|
@click="watchAdv">
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -431,6 +431,7 @@ let watchAdv = () => {
|
|||||||
.live-img {
|
.live-img {
|
||||||
width: 285px;
|
width: 285px;
|
||||||
/* height: 349px; */
|
/* height: 349px; */
|
||||||
|
min-height:370px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -256,11 +256,9 @@ let getRecommendList = () => {
|
|||||||
loadText.value = '到底了'
|
loadText.value = '到底了'
|
||||||
}
|
}
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
setTimeout(() => {
|
console.log(listMasonryInstance)
|
||||||
listMasonryInstance.reloadItems();
|
listMasonryInstance.reloadItems();
|
||||||
listMasonryInstance.layout();
|
listMasonryInstance.layout();
|
||||||
})
|
|
||||||
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
@@ -336,8 +334,7 @@ const list = ref(null)
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
listMasonryInstance = new Masonry(list.value, {
|
listMasonryInstance = new Masonry(list.value, {
|
||||||
itemSelector: '.item',
|
itemSelector: '.item',
|
||||||
gutter: 20,
|
gutter: 20
|
||||||
percentPosition: true
|
|
||||||
});
|
});
|
||||||
document.documentElement.scrollTop = 0
|
document.documentElement.scrollTop = 0
|
||||||
currentInstance = getCurrentInstance()
|
currentInstance = getCurrentInstance()
|
||||||
|
|||||||
@@ -359,7 +359,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="text" style="margin-left:0;"
|
<span class="text" style="margin-left:0;"
|
||||||
v-if="housingInfo['data'] && housingInfo['data'].info.elevator">
|
v-if="housingInfo['data'] && housingInfo['data'].info.elevator&&housingInfo['data'].info.elevator!=-1">
|
||||||
<span style="color: #D7D7D7;">|</span>
|
<span style="color: #D7D7D7;">|</span>
|
||||||
{{
|
{{
|
||||||
indexData['data'] &&
|
indexData['data'] &&
|
||||||
@@ -547,30 +547,32 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="houseing-info-box dis-f al-item jus-bet">
|
<div class="houseing-info-box dis-f al-item jus-bet">
|
||||||
<div class="dis-f al-item houseing-info-box-s">
|
<div class="dis-f al-item">
|
||||||
房源ID :  <span class="houseing-id" @click="clone(housingInfo['data'] &&
|
房源ID :  <span class="houseing-id" @click="clone(housingInfo['data'] &&
|
||||||
housingInfo['data'].info.uid)">{{ housingInfo['data'] &&
|
housingInfo['data'].info.uid)">{{ housingInfo['data'] &&housingInfo['data'].info.uid }}</span>
|
||||||
housingInfo['data'].info.uid }}</span>
|
|
||||||
<span class="browse-box">
|
<span class="browse-box">
|
||||||
浏览 : <span class="text">{{ housingInfo['data'] && housingInfo['data'].info.count_view
|
浏览 : <span class="text">{{ housingInfo['data'] && housingInfo['data'].info.count_view
|
||||||
}}</span>
|
}}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dis-f al-item houseing-info-box-s">
|
<div class="houseing-info-box-s"></div>
|
||||||
|
<div class="dis-f al-item">
|
||||||
<span>
|
<span>
|
||||||
收藏 :  <span class="text">
|
收藏 :  <span class="text">
|
||||||
{{ housingInfo['data'] && housingInfo['data'].info.count_fav }}
|
{{ housingInfo['data'] && housingInfo['data'].info.count_fav }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dis-f al-item houseing-info-box-s">
|
<div class="houseing-info-box-s"></div>
|
||||||
|
<div class="dis-f al-item">
|
||||||
<span>
|
<span>
|
||||||
发布 :  <span class="text">
|
发布 :  <span class="text">
|
||||||
{{ housingInfo['data'] && housingInfo['data'].info.timestamp }}
|
{{ housingInfo['data'] && housingInfo['data'].info.timestamp }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dis-f al-item houseing-info-box-s" style="border-right:0px">
|
<div class="houseing-info-box-s"></div>
|
||||||
|
<div class="dis-f al-item" style="border-right:0px">
|
||||||
<span>
|
<span>
|
||||||
更新 :  <span class="text">
|
更新 :  <span class="text">
|
||||||
{{ housingInfo['data'] && housingInfo['data'].info.updatetime }}
|
{{ housingInfo['data'] && housingInfo['data'].info.updatetime }}
|
||||||
@@ -1332,7 +1334,7 @@ const onPageSrcoll = (e) => {
|
|||||||
if (loadMore.value) {
|
if (loadMore.value) {
|
||||||
loadMore.value = false
|
loadMore.value = false
|
||||||
pages.value += 1
|
pages.value += 1
|
||||||
if (housingInfo['data'].isintermediary) {
|
if (housingInfo['data']&&housingInfo['data'].isintermediary) {
|
||||||
getPublisherList()
|
getPublisherList()
|
||||||
} else {
|
} else {
|
||||||
recommendList()
|
recommendList()
|
||||||
@@ -1359,6 +1361,7 @@ let recommendList = () => {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
console.log(res.data.data && res.data.data.length >= 30)
|
||||||
if (res.data.data && res.data.data.length >= 30) {
|
if (res.data.data && res.data.data.length >= 30) {
|
||||||
loadMore.value = true
|
loadMore.value = true
|
||||||
loadText.value = '下拉加载更多'
|
loadText.value = '下拉加载更多'
|
||||||
@@ -1400,6 +1403,7 @@ let getPublisherList = () => {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
console.log(res.data.length >= 30)
|
||||||
if (res.data.length >= 30) {
|
if (res.data.length >= 30) {
|
||||||
loadMore.value = true
|
loadMore.value = true
|
||||||
} else {
|
} else {
|
||||||
@@ -1441,10 +1445,8 @@ onMounted(() => {
|
|||||||
gutter: 10
|
gutter: 10
|
||||||
});
|
});
|
||||||
if (pageType.value != 3) {
|
if (pageType.value != 3) {
|
||||||
setTimeout(() => {
|
window.addEventListener('scroll', onPageSrcoll);
|
||||||
window.addEventListener('scroll', onPageSrcoll);
|
document.body.scrollTop = 0
|
||||||
document.body.scrollTop = 0
|
|
||||||
}, 1000)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -2041,6 +2043,7 @@ img {
|
|||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
|
||||||
.business-card-btn {
|
.business-card-btn {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
@@ -2539,7 +2542,7 @@ img {
|
|||||||
border-color: rgba(235, 235, 235, 1);
|
border-color: rgba(235, 235, 235, 1);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin-top: 45px;
|
margin-top: 45px;
|
||||||
padding: 10px 0px;
|
padding: 10px 15px;
|
||||||
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
|
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@@ -2547,12 +2550,13 @@ img {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
||||||
.houseing-info-box-s {
|
.houseing-info-box-s {
|
||||||
padding: 0 15px;
|
height: 17px;
|
||||||
|
width:1px;
|
||||||
border-right: 1px dashed #d7d7d7;
|
border-right: 1px dashed #d7d7d7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.browse-box {
|
.browse-box {
|
||||||
margin-left: 160px;
|
margin-left: 130px;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user