index.wxml 427 B

1234567
  1. <view class="popup {{showAnimation ? 'popup-bottom':'popup-top'}}" style="max-height:{{height}};{{FixHeight?('height:'+FixHeight):('max-height:'+height)}}" wx:if="{{show}}">
  2. <!-- ;overflow:{{height == '85%' ? 'visible':'auto'}} -->
  3. <slot></slot>
  4. <!-- <slot name='content'></slot> -->
  5. <!-- <slot name="button"></slot> -->
  6. </view>
  7. <view class="overlay" bindtap="close" wx:if="{{show}}" catchtouchmove='true'></view>