dialog.wxml
443 Bytes
<!--src/components/dialog/dialog.wxml-->
<view class='wx_dialog_container' hidden="{{!isShow}}">
<view class='wx-mask'></view>
<view class='wx-dialog'>
<view class='wx-dialog-content'>{{ content }}</view>
<view class='wx-dialog-footer'>
<view class='wx-dialog-btn' bindtap="_cancelEvent">{{ cancelText }}</view>
<view class='wx-dialog-btn' bindtap="_confirmEvent">{{ confirmText }}</view>
</view>
</view>
</view>