<scroll-view class='{{["mescroll-uni",(fixed)?"mescroll-uni-fixed":""]}}' style='{{'padding-top:'+(padTop)+';'+('padding-bottom:'+(padBottom)+';')+('top:'+(fixedTop)+';')+('bottom:'+(fixedBottom)+';')}}' id='{{viewId}}' scroll-top='{{scrollTop}}' scroll-with-animation='{{scrollAnim}}' scroll-y='{{scrollAble}}' throttle='{{mescroll.optUp.onScroll==null}}' enable-back-to-top='{{true}}' data-event-opts='{{[['scroll',[['scroll',['$event']]]],['touchstart',[['touchstartEvent',['$event']]]],['touchmove',[['touchmoveEvent',['$event']]]],['touchend',[['touchendEvent',['$event']]]],['touchcancel',[['touchendEvent',['$event']]]]]}}' bindscroll='__e' bindtouchstart='__e' bindtouchmove='__e' bindtouchend='__e' bindtouchcancel='__e'><view style='{{'transform:'+(translateY)+';'+('transition:'+(transition)+';')}}'><view class='{{["downwarp-progress",(isDownLoading)?"mescroll-rotate":""]}}' style='{{'transform:'+(downRotate)+';'}}'>{{downText}}<view class='{{["mescroll-empty",(optEmpty.fixed)?"empty-fixed":""]}}' style='{{'z-index:'+(optEmpty.zIndex)+';'+('top:'+(optEmpty.top)+';')}}'>{{optEmpty.tip}}<view data-event-opts='{{[['tap',[['emptyClick',['$event']]]]]}}' class='empty-btn' bindtap='__e'>{{optEmpty.btnText}}{{mescroll.optUp.textNoMore}}<image class='{{["mescroll-totop",(isShowToTop)?"mescroll-fade-in":""]}}' src='{{mescroll.optUp.toTop.src}}' mode='widthFix' data-event-opts='{{[['tap',[['toTopClick',['$event']]]]]}}' bindtap='__e'>

小程序滚动组件 Mescroll-uni:下拉刷新、上拉加载更多、回到顶部

原文地址: http://www.cveoy.top/t/topic/kxTL 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录