index.axml 470 B

1234567891011
  1. <view a:if="{{visible}}" class="dialog-overlay" onTap="cancel">
  2. <view class="dialog">
  3. <view class="dialog-body flex">
  4. <text>{{ content }}</text>
  5. </view>
  6. <view class="dialog-footer">
  7. <view class="dialog-footer-btn flex cancel magnify" a:if="{{ showCancelBtn }}" onTap="cancel">{{cancelText}}</view>
  8. <view class="dialog-footer-btn flex confirm magnify" a:if="{{ showOkBtn }}" onTap="confirm">{{okText}}</view>
  9. </view>
  10. </view>
  11. </view>