forked from nsjcy/frontEnd/nsjcy

Mr Ke
2020-05-27 5545fc19893ca0e23818f20eed930850c84edb72
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>