TopToolbarPopup.wxml
595 Bytes
<view class="popup" hidden="{{ !showPopup }}" catchtouchmove="noScroll">
<view class="popup-bg" bindtap="hidePopup"></view>
<view class="popup-content" style="height:{{ height }}">
<view class="popup-header">
<view class="action-btn cancel" bind:tap="hidePopup">取消</view>
<view class="title" wx:if="{{ title }}">{{title}}</view>
<view class="action-btn confirm" bind:tap="confirm">确定</view>
</view>
<view class="popup-slot popup-slot-class {{ isFullSucreen?'isFullSucreen':'' }}" style="{{slotStyle}}">
<slot></slot>
</view>
</view>
</view>