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.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							530 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							530 B
						
					
					
				
								<view class="van-index-bar">
							 | 
						|
								  <slot />
							 | 
						|
								
							 | 
						|
								  <view
							 | 
						|
								    wx:if="{{ showSidebar }}"
							 | 
						|
								    class="van-index-bar__sidebar"
							 | 
						|
								    catch:tap="onClick"
							 | 
						|
								    catch:touchmove="onTouchMove"
							 | 
						|
								    catch:touchend="onTouchStop"
							 | 
						|
								    catch:touchcancel="onTouchStop"
							 | 
						|
								  >
							 | 
						|
								    <view
							 | 
						|
								      wx:for="{{ indexList }}"
							 | 
						|
								      wx:key="index"
							 | 
						|
								      class="van-index-bar__index"
							 | 
						|
								      style="z-index: {{ zIndex + 1 }}; color: {{ activeAnchorIndex === index ? highlightColor : '' }}"
							 | 
						|
								      data-index="{{ index }}"
							 | 
						|
								    >
							 | 
						|
								      {{ item }}
							 | 
						|
								    </view>
							 | 
						|
								  </view>
							 | 
						|
								</view>
							 | 
						|
								
							 |