forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-24 f39bc9d667e68526c79387d754e6304a80825ef5
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>