首页添加底部导航 修改区域选项设置
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<pageTopBar :bannerList="bannerList.data"></pageTopBar>
|
||||
<!-- <headerNavigation></headerNavigation> -->
|
||||
<!-- 搜索模块 -->
|
||||
<seachModule></seachModule>
|
||||
<!-- 房源展示 -->
|
||||
@@ -178,8 +177,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="dis-f jus-x bottom-tps">
|
||||
- 到底了 -
|
||||
- {{loadText}} -
|
||||
</div>
|
||||
<footerTool></footerTool>
|
||||
<indexRegularBox></indexRegularBox>
|
||||
</div>
|
||||
</template>
|
||||
@@ -192,7 +192,7 @@ import indexWaterfallBox from "../components/indexWaterfallBox/indexWaterfallBox
|
||||
import seachModule from "../components/seachModule/seachModule.vue";
|
||||
import indexRegularBox from '../components/indexRegularBox/indexRegularBox.vue';
|
||||
import skeletonBox from '../components/skeletonBox/skeletonBox.vue'
|
||||
import headerNavigation from '../components/public/head.vue';
|
||||
import footerTool from '@/components/footer/footer.vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import store from '../store/index';
|
||||
import api from "../utils/api";
|
||||
@@ -286,6 +286,7 @@ let addListData = (data) => {
|
||||
}
|
||||
//开关
|
||||
let loadMore = ref(true)
|
||||
let loadText=ref('加载中.....')
|
||||
//瀑布流数据
|
||||
let getRecommendList = () => {
|
||||
api.recommendList({
|
||||
@@ -304,6 +305,7 @@ let getRecommendList = () => {
|
||||
loadMore.value = true
|
||||
} else {
|
||||
loadMore.value = false
|
||||
loadText.value='到底了'
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -325,7 +327,7 @@ let listDataTypeChange = (item) => {
|
||||
|
||||
//监听滚动条
|
||||
const onPageSrcoll = (e) => {
|
||||
if (!loadMore.value) return
|
||||
if (!loadMore.value||waterfallList['4'].length===0) return
|
||||
let body = document.documentElement ? document.documentElement : document.body ?
|
||||
document.body :
|
||||
document.querySelector('.element');
|
||||
@@ -412,6 +414,7 @@ img {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
text-align: center;
|
||||
padding:30px 0;
|
||||
}
|
||||
|
||||
.information-box {
|
||||
|
||||
Reference in New Issue
Block a user