1 line
2.0 KiB
Plaintext
1 line
2.0 KiB
Plaintext
<block wx:if="{{visibleSync}}"><view class="tn-popup-class tn-popup data-v-01456b9c" style="{{$root.s0}}" hover-stop-propagation="{{true}}"><view class="{{['tn-popup__mask','data-v-01456b9c',[(showPopup&&mask)?'tn-popup__mask--show':'']]}}" style="{{'z-index:'+(elZIndex-2)+';'}}" hover-stop-propagation="{{true}}" data-event-opts="{{[['tap',[['maskClick',['$event']]]],['touchmove',[['e0',['$event']]]]]}}" bindtap="__e" catchtouchmove="__e"></view><view data-event-opts="{{[['tap',[['modeCenterClose',['$event']],['',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="{{['tn-popup__content','data-v-01456b9c',mode!=='center'?backgroundColorClass:'',safeAreaInsetBottom?'tn-safe-area-inset-bottom':'','tn-popup--'+mode,showPopup?'tn-popup__content--visible':'',zoom&&mode==='center'?'tn-popup__content__center--animation-zoom':'']}}" style="{{$root.s1}}" catchtap="__e" catchtouchmove="__e"><block wx:if="{{mode==='center'}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['',['$event']]]]]}}" class="{{['tn-popup__content__center_box','data-v-01456b9c',backgroundColorClass]}}" style="{{$root.s2}}" catchtouchmove="__e" catchtap="__e"><block wx:if="{{closeBtn}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['tn-popup__close','data-v-01456b9c','tn-icon-'+closeBtnIcon,'tn-popup__close--'+closeBtnPosition]}}" style="{{$root.s3}}" bindtap="__e"></view></block><scroll-view class="tn-popup__content__scroll-view data-v-01456b9c" scroll-y="{{true}}"><slot></slot></scroll-view></view></block><block wx:else><scroll-view class="tn-popup__content__scroll-view data-v-01456b9c" scroll-y="{{true}}"><slot></slot></scroll-view></block><block wx:if="{{mode!=='center'&&closeBtn}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['tn-popup__close','data-v-01456b9c','tn-popup__close--'+closeBtnPosition]}}" style="{{'z-index:'+(elZIndex)+';'}}" bindtap="__e"><view class="{{['data-v-01456b9c','tn-icon-'+closeBtnIcon]}}" style="{{$root.s4}}"></view></view></block></view></view></block> |