

<view class="modal-overlay" wx:if="{{show}}">
    
</view>
<view class="modal-wrapper" wx:if="{{show}}" style="width:{{ width|| '70%'}};height:{{height || '70vh'}}">
    <view class="modal-header">
        <view class="modal-title">{{title}}</view>
        <view class="modal-close" wx:if="{{closeable}}" bind:tap="close"><van-icon name="cross" size="20px"/></view>
    </view>
    <view class="modal-content">
        <slot name="content"></slot>
    </view>
    <view class="modal-footer">
        <!-- <view  class="modal-cancel modal-btn btn "></view> -->
        <view class="modal-enter footer-btn btn " bind:tap="enter">确认</view>
    </view>
</view>