vant-weapp/dist/slider/index.wxml
2018-08-22 10:32:27 +08:00

12 lines
369 B
Plaintext

<view class="custom-class van-slider {{ disabled ? 'van-slider--disabled' : '' }}" bind:tap="onClick">
<view class="van-slider__bar" style="{{ barStyle }}">
<view
class="van-slider__button"
bind:touchstart="onTouchStart"
catch:touchmove="onTouchMove"
bind:touchend="onTouchEnd"
bind:touchcancel="onTouchEnd"
/>
</view>
</view>