tabPopup.wxml
819 Bytes
<view class="popup" hidden="{{!showPopup}}">
<!-- catchtouchmove="noScroll" -->
<view class="popup-bg" bindtap="hidePopup" />
<view class="popup-content" style="height:{{height}}">
<block wx:if="{{title}}">
<view class="popup-title text-center">{{title}}</view>
</block>
<!-- {{isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':''}}" -->
<view class="{{tips?'popup-slot-other':'popup-slot'}}">
<slot />
</view>
<block wx:if="{{tips}}">
<view class="tips text-center">{{tips}}</view>
</block>
<!-- {{isFullSucreen?'isFullSucreen':''}} -->
<view class="popup-footer ">
<view class="cancel btn text-center" bindtap="hidePopup">取消</view>
<view class="confirm btn text-center" bindtap="confirm">确认</view>
</view>
</view>
</view>