index.wxml 967 B

1234567891011121314
  1. <l-popup show="{{show}}" animation="show" contentAlign="center" locked="{{true}}" bind:lintap="onDialogTap" l-bg-class="l-bg-class" z-index="{{zIndex}}">
  2. <view class="dialog-container l-class" style="margin-bottom:{{distance}}px">
  3. <view class="dialog-title l-title-class" style="color:{{titleColor}}" wx:if="{{showTitle}}">{{title}}</view>
  4. <view class="dialog-content l-content-class" style="color:{{contentColor}}">
  5. <slot/>
  6. {{content}}
  7. </view>
  8. <view class="dialog-btn-group">
  9. <view class="dialog-btn-cancel l-cancel-class" style="color: {{cancelColor}}" catchtap="onCancelTap" hover-class="{{isHover?'group-hover':''}}" wx:if="{{type==='confirm'}}">{{cancelText}}</view>
  10. <view class="dialog-btn-confirm l-confirm-class" style="color: {{confirmColor}}" hover-class="{{isHover?'group-hover':''}}" catchtap="onConfirmTap">{{confirmText}}</view>
  11. </view>
  12. </view>
  13. </l-popup>