forked from nsjcy/frontEnd/nsjcy

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