You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							30 lines
						
					
					
						
							745 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							745 B
						
					
					
				
								<wxs src="../wxs/utils.wxs" module="utils" />
							 | 
						|
								<wxs src="./index.wxs" module="computed" />
							 | 
						|
								
							 | 
						|
								<view
							 | 
						|
								  class="custom-class {{ utils.bem('slider', { disabled }) }}"
							 | 
						|
								  style="{{ inactiveColor ? 'background:' + inactiveColor : '' }}"
							 | 
						|
								  bind:tap="onClick"
							 | 
						|
								>
							 | 
						|
								  <view
							 | 
						|
								    class="van-slider__bar"
							 | 
						|
								    style="{{ barStyle }};{{ computed.barStyle(barHeight, activeColor) }}"
							 | 
						|
								  >
							 | 
						|
								    <view
							 | 
						|
								      class="van-slider__button-wrapper"
							 | 
						|
								      bind:touchstart="onTouchStart"
							 | 
						|
								      catch:touchmove="onTouchMove"
							 | 
						|
								      bind:touchend="onTouchEnd"
							 | 
						|
								      bind:touchcancel="onTouchEnd"
							 | 
						|
								    >
							 | 
						|
								      <slot
							 | 
						|
								        wx:if="{{ useButtonSlot }}"
							 | 
						|
								        name="button"
							 | 
						|
								      />
							 | 
						|
								      <view
							 | 
						|
								        wx:else
							 | 
						|
								        class="van-slider__button"
							 | 
						|
								      />
							 | 
						|
								    </view>
							 | 
						|
								  </view>
							 | 
						|
								</view>
							 |