<view class="dialog-wrap" style="{{('z-index:'+zIndex)}}"><view data-event-opts="{{[['tap',[['tapDialogShow',['$event']]]]]}}" class="{{['mask',(visible)?'show':'']}}" bindtap="__e"></view><view class="{{['content-mn',(direction=='bottom')?'bottom':'',(direction=='top')?'top':'',(direction=='right')?'right':'',(direction=='left')?'left':'',(direction=='center')?'center':'',(visible)?'show':'',(isRadius)?'isRadius':'']}}" style="{{'background-color:'+(conf.mainBgColor)+';'}}"><block wx:if="{{isTitle}}"><view class="head-wrap"><view class="{{['title '+titleClass]}}">{{title}}</view><block wx:if="{{isCloseBtn}}"><image class="close" src="http://139.9.103.171:1888/img/image/close.png" mode="widthFix" data-event-opts="{{[['tap',[['tapDialogShow',['$event']]]]]}}" bindtap="__e"></image></block></view></block><view class="main-wrap"><slot name="main"></slot></view></view></view>