index.wxml 444 Bytes
<view wx:if="{{popupShow}}" class="dialog_mask {{popupShow?'dialog_show':''}}">
  <view class="dialog_mask" bindtap="close"></view>
  <view class="dialog_container" style="height:{{ height }}">
    <view class="header flex_scb">
        <slot name="left-widget"></slot>
        <slot name="title"></slot>
        <slot name="right-widget"></slot>
    </view>
    <view class="main">
      <slot name="body"></slot>
    </view>
  </view>
</view>