|
@@ -255,14 +255,14 @@ export default {
|
|
|
// console.log(document.getElementById("tshezi").getBoundingClientRect().top);
|
|
|
// console.log(scrollTop);
|
|
|
// console.log(clientHeight);
|
|
|
- this.a=scrollTop + clientHeight;
|
|
|
+ this.a=Math.floor(scrollTop + clientHeight);
|
|
|
this.b=scrollHeight;
|
|
|
- if(document.getElementById("tshezi").getBoundingClientRect().top==clientHeight-84&&this.loadflag){
|
|
|
- this.PageTurning()
|
|
|
- }
|
|
|
- // if (scrollTop + clientHeight > scrollHeight+83&&this.loadflag) {
|
|
|
+ // if(document.getElementById("tshezi").getBoundingClientRect().top==clientHeight-84&&this.loadflag){
|
|
|
// this.PageTurning()
|
|
|
// }
|
|
|
+ if (Math.floor(scrollTop + clientHeight) == scrollHeight&&this.loadflag) {
|
|
|
+ this.PageTurning()
|
|
|
+ }
|
|
|
},
|
|
|
//日常切换
|
|
|
rcbtn(){
|