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