<view a:if="{{visible}}" class="dialog-overlay" onTap="cancel">
  <view class="dialog">
    <view class="dialog-body flex">
      <text>{{ content }}</text>
    </view>
    <view class="dialog-footer">
      <view class="dialog-footer-btn flex cancel magnify" a:if="{{ showCancelBtn }}" onTap="cancel">{{cancelText}}</view>
      <view class="dialog-footer-btn flex confirm magnify" a:if="{{ showOkBtn }}" onTap="confirm">{{okText}}</view>
    </view>
  </view>
</view>
