<view class="custom-modal">
  <modal
    show="{{modalOpened}}"
    onModalClick="onModalClick"
    onModalClose="onModalClose"
    showClose="{{false}}"
    buttons="{{buttons}}"
    onMaskClick="onMaskClick"
    onButtonClick="onButtonClick"
    zIndex="{{zIndex}}"
  >
    <slot name="header"></slot>
    <slot></slot>
  </modal>
</view>
<view
  style="display: {{display}}"
  catchTap="openModal"
>
  <slot name="click"></slot>
</view>