index.wxml 268 B

123456
  1. <scroll-view wx:if="{{ scroll }}" scroll-x="{{ direction === 'horizontal' }}" scroll-y="{{ direction === 'vertical' }}" class="wux-class {{ classes.wrap }}">
  2. <slot></slot>
  3. </scroll-view>
  4. <view wx:else class="wux-class {{ classes.wrap }}">
  5. <slot></slot>
  6. </view>