|
@@ -48,7 +48,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="padding-bottom: 65px;">
|
|
|
+ <div id="tshezi" style="padding-bottom: 65px;">
|
|
|
<div v-if="zwgd" class="expenseMobile-zwgd">暂无更多</div>
|
|
|
<div v-if="!zwgd" class="expenseMobile-zwgd">加载中!</div>
|
|
|
</div>
|
|
@@ -250,13 +250,15 @@ export default {
|
|
|
// let scrollHeight=document.documentElement.scrollHeight || document.body.scrollHeight;
|
|
|
let scrollHeight=document.getElementById('scroll-div').offsetHeight;
|
|
|
|
|
|
- // console.log(scrollHeight);
|
|
|
+ // console.log(document.getElementById("tshezi").getBoundingClientRect().top);
|
|
|
// console.log(scrollTop);
|
|
|
// console.log(clientHeight);
|
|
|
-
|
|
|
- if (scrollTop + clientHeight > scrollHeight+83&&this.loadflag) {
|
|
|
+ if(document.getElementById("tshezi").getBoundingClientRect().top==clientHeight-84&&this.loadflag){
|
|
|
this.PageTurning()
|
|
|
}
|
|
|
+ // if (scrollTop + clientHeight > scrollHeight+83&&this.loadflag) {
|
|
|
+ // this.PageTurning()
|
|
|
+ // }
|
|
|
},
|
|
|
//日常切换
|
|
|
rcbtn(){
|