refactor: 手机端-国内/海外/企标重构-增加下拉加载功能
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user