refactor: 手机端-国内/海外/企标重构-增加下拉加载功能

This commit is contained in:
zyn
2023-11-27 14:44:55 +08:00
parent 5a99533819
commit dc5fb966be
4 changed files with 355 additions and 2 deletions
@@ -85,18 +85,27 @@ export default {
this.bs.finishPullUp()
})
this.bs.on('scroll', (x, y ,z) => {
console.log(x,y,z)
})
} else {
this.bs.refresh()
}
})
},
scrollTo (x, y ,time, easing) {
if (this.bs) {
this.bs.scrollTo(x, y, time, easing)
}
}
}
}
</script>
<style scoped>
.scroll-wrapper {
height: calc(100vh - 131px);
/*height: calc(100vh - 131px);*/
overflow: hidden;
position: relative;
}