Popup.wxml
767 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 class='close' bindtap="hidePopup">
<image src="../images/close.png" class='close-image' />
</view>
</view>
</block>
<view class="popup-slot {{isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':''}}">
<slot/>
</view>
<!-- <view class="popup-footer {{isFullSucreen?'isFullSucreen':''}}">
<view class="cancel btn text-center" bindtap="hidePopup">取消</view>
<view class="confirm btn text-center" bindtap="hidePopup">确定</view>
</view> -->
</view>
</view>