Files
2025-05-02 17:03:32 +08:00

1 line
2.7 KiB
XML

<view class="mescroll-uni-warp"><scroll-view class="{{(('mescroll-uni')+' '+((isFixed)?'mescroll-uni-fixed':''))}}" style="{{'height:'+(scrollHeight)+';'+('padding-top:'+(padTop)+';')+('padding-bottom:'+(padBottom)+';')+('top:'+(fixedTop)+';')+('bottom:'+(fixedBottom)+';')}}" id="{{viewId}}" scroll-top="{{scrollTop}}" scroll-with-animation="{{scrollAnim}}" scroll-y="{{scrollable}}" enable-back-to-top="{{true}}" throttle="{{false}}" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" onScroll="__e"><view class="mescroll-uni-content mescroll-render-touch" change:prop="{{wxsBiz.propObserver}}" prop="{{wxsProp}}" data-event-opts="{{[['touchStart',[['e0',['$event']]]],['touchMove',[['e1',['$event']]]],['touchEnd',[['e2',['$event']]]],['touchCancel',[['e3',['$event']]]]]}}" onTouchStart="__e" onTouchMove="__e" onTouchEnd="__e" onTouchCancel="__e"><block a:if="{{topbar&&statusBarHeight}}"><view class="mescroll-topbar" style="{{'height:'+(statusBarHeight+'px')+';'+('background:'+(topbar)+';')}}"></view></block><view class="mescroll-wxs-content" style="{{'transform:'+(translateY)+';'+('transition:'+(transition)+';')}}" change:prop="{{wxsBiz.callObserver}}" prop="{{callProp}}"><block a:if="{{mescroll.optDown.use}}"><view class="mescroll-downwarp" style="{{'background:'+(mescroll.optDown.bgColor)+';'+('color:'+(mescroll.optDown.textColor)+';')}}"><view class="downwarp-content"><view class="{{((('downwarp-progress')+' '+'mescroll-wxs-progress')+' '+((isDownLoading)?'mescroll-rotate':''))}}" style="{{'border-color:'+(mescroll.optDown.textColor)+';'+('transform:'+(downRotate)+';')}}"></view><view class="downwarp-tip">{{downText}}</view></view></view></block><slot></slot><block a:if="{{isShowEmpty}}"><mescroll-empty vue-id="55f446d8-1" option="{{mescroll.optUp.empty}}" data-event-opts="{{[['^emptyclick',[['emptyClick']]]]}}" onEmptyclick="__e" onVueInit="__l"></mescroll-empty></block><block a:if="{{mescroll.optUp.use&&!isDownLoading&&upLoadType!==3}}"><view class="mescroll-upwarp" style="{{'background:'+(mescroll.optUp.bgColor)+';'+('color:'+(mescroll.optUp.textColor)+';')}}"><view hidden="{{!(upLoadType===1)}}"><view class="upwarp-progress mescroll-rotate" style="{{'border-color:'+(mescroll.optUp.textColor)+';'}}"></view><view class="upwarp-tip">{{mescroll.optUp.textLoading}}</view></view><block a:if="{{upLoadType===2}}"><view class="upwarp-nodata">{{mescroll.optUp.textNoMore}}</view></block></view></block></view><block a:if="{{safearea}}"><view class="mescroll-safearea"></view></block></view></scroll-view><mescroll-top vue-id="55f446d8-2" option="{{mescroll.optUp.toTop}}" value="{{isShowToTop}}" data-event-opts="{{[['^click',[['toTopClick']]],['^input',[['__set_model',['','isShowToTop','$event',[]]]]]]}}" onClick="__e" onInput="__e" onVueInit="__l"></mescroll-top></view>