1 |
- <view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="{{['tui-modal__container','data-v-6ccfff18',show?'tui-modal-show':'']}}" style="{{'z-index:'+(zIndex)+';'}}" catchtouchmove="__e"><view class="{{['tui-modal-box','data-v-6ccfff18',fadeIn||show?'tui-modal-normal':'tui-modal-scale',show?'tui-modal-show':'']}}" style="{{'width:'+(width)+';'+('padding:'+(padding)+';')+('border-radius:'+(radius)+';')+('background-color:'+(backgroundColor)+';')+('z-index:'+(zIndex+1)+';')}}"><block wx:if="{{!custom}}"><view class="data-v-6ccfff18"><block wx:if="{{title}}"><view class="tui-modal-title data-v-6ccfff18">{{title}}</view></block><view class="{{['tui-modal-content','data-v-6ccfff18',title?'':'tui-mtop']}}" style="{{'color:'+(color)+';'+('font-size:'+(size+'rpx')+';')}}">{{content}}</view><view class="{{['tui-modalBtn-box','data-v-6ccfff18',$root.g0!=2?'tui-flex-column':'']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-6ccfff18"><button class="{{['tui-modal-btn','data-v-6ccfff18','tui-'+(item.$orig.type||'primary')+(item.$orig.plain?'-outline':''),item.g1!=2?'tui-btn-width':'',item.g2>2?'tui-mbtm':'',shape=='circle'?'tui-circle-btn':'']}}" hover-class="{{'tui-'+(item.$orig.plain?'outline':item.$orig.type||'primary')+'-hover'}}" data-index="{{index}}" data-event-opts="{{[['tap',[['handleClick',['$event']]]]]}}" bindtap="__e">{{''+(item.$orig.text||'确定')+''}}</button></block></block></view></view></block><block wx:else><view class="data-v-6ccfff18"><slot></slot></view></block></view><view data-event-opts="{{[['tap',[['handleClickCancel',['$event']]]]]}}" class="{{['tui-modal-mask','data-v-6ccfff18',show?'tui-mask-show':'']}}" style="{{'z-index:'+(maskZIndex)+';'}}" bindtap="__e"></view></view>
|