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.
		
		
		
		
		
			
		
			
				
					
					
						
							11 lines
						
					
					
						
							483 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							11 lines
						
					
					
						
							483 B
						
					
					
				
								<wxs src="../wxs/utils.wxs" module="utils" />
							 | 
						|
								
							 | 
						|
								<view
							 | 
						|
								  class="custom-class {{ utils.bem('switch', { on: value === activeValue, disabled }) }}"
							 | 
						|
								  style="font-size: {{ size }}; {{ (checked ? activeColor : inactiveColor) ? 'background-color: ' + (checked ? activeColor : inactiveColor ) : '' }}"
							 | 
						|
								  bind:tap="onClick"
							 | 
						|
								>
							 | 
						|
								  <view class="van-switch__node node-class">
							 | 
						|
								    <van-loading wx:if="{{ loading }}" color="{{ loadingColor }}" custom-class="van-switch__loading" />
							 | 
						|
								  </view>
							 | 
						|
								</view>
							 |