init
This commit is contained in:
1
components/uni-popup/uni-popup.wxml
Normal file
1
components/uni-popup/uni-popup.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<block wx:if="{{showPopup}}"><view class="{{['uni-popup',customClass]}}" style="{{'top:'+(top)+';'}}"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__mask',ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"></view><block wx:if="{{isIphoneX}}"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','goodslist-uni-popup','safe-area',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box goodslist-uni-popup-box" catchtap="__e"><slot></slot></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','goodslist-uni-popup',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box goodslist-uni-popup-box" catchtap="__e"><slot></slot></view></view></block></view></block>
|
||||
Reference in New Issue
Block a user