forked from nsjcy/frontEnd/nsjcy

liuwh
2020-02-28 20b4c7ccf58191066b6a9ecf434604087d675d38
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>