no message

master
jscyl13849007907 1 month ago
parent f5737bb0a6
commit 36c18f0560

@ -419,6 +419,7 @@ export default {
.select("#tttop") .select("#tttop")
.boundingClientRect((data) => { .boundingClientRect((data) => {
console.log("data", data); console.log("data", data);
if(data){
if (data.top <= 0) { if (data.top <= 0) {
that.toTop = true; that.toTop = true;
that.showToTop = true; that.showToTop = true;
@ -426,6 +427,7 @@ export default {
that.toTop = false; that.toTop = false;
that.showToTop = false; that.showToTop = false;
} }
}
// domTopInfo.value[id] = data.top; // domTopInfo.value[id] = data.top;
// scrollTop.value = data.top - 200; // scrollTop.value = data.top - 200;
}) })
@ -443,9 +445,7 @@ export default {
reachBottom() { reachBottom() {
let that = this; let that = this;
console.log("onReachBottom", that.query.isFinish); console.log("onReachBottom", that.query.isFinish);
this.G.isLogin(); if(uni.getStorageSync("apply-token")){
if (this.G.isLogin()) {
console.log("that.query.size", that.query.size);
if (that.query.isFinish == -1 || that.query.isFinish == that.query.size) { if (that.query.isFinish == -1 || that.query.isFinish == that.query.size) {
that.query.page++; that.query.page++;
that.getList("concat"); that.getList("concat");

Loading…
Cancel
Save