GeneralPopup.wxml
855 Bytes
<!--packageUsedCar/pages/evaluationForm/components/GeneralPopup/GeneralPopup.wxml-->
<van-popup
show="{{ show }}"
position="{{ position }}"
round="{{ round }}"
closeable="{{ closeable }}"
close-icon="{{ closeIcon }}"
close-on-click-overlay="{{false}}"
overlay="{{ overlay }}"
custom-style="{{ customStyle }}"
bind:close="onClose"
>
<view class="header-box">
<view class="title">{{title}}</view>
</view>
<view class="content-box">
<slot></slot>
</view>
<view class="footer-box {{isShowCancel ? 'justify-center' : ''}} {{!isFooterBtn ? 'text-footer-box' : ''}}" wx:if="{{isShowFooter}}">
<view class="cancle-btn btn" wx:if="{{isShowCancel}}" bindtap="onClose">{{ cancelText }}</view>
<view class="sure-btn btn {{isShowCancel ? '' : 'single-btn'}}" bindtap="confirm">{{ confirmText }}</view>
</view>
</van-popup>