index.wxml 259 B

123456
  1. <view class="i-class i-drawer {{ visible ? 'i-drawer-show' : '' }} {{ 'i-drawer-' + mode }}">
  2. <view wx:if="{{ mask }}" class="i-drawer-mask" bindtap="handleMaskClick"></view>
  3. <view class="i-drawer-container">
  4. <slot></slot>
  5. </view>
  6. </view>