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.
		
		
		
		
			
				
					14 lines
				
				905 B
			
		
		
			
		
	
	
					14 lines
				
				905 B
			| 
								 
											2 years ago
										 
									 | 
							
								<view class="wux-class {{ classes.wrap }}" style="{{ extStyle }}">
							 | 
						||
| 
								 | 
							
								    <scroll-view scroll-y scroll-top="{{ scrollTop }}" bindscroll="onScroll" style="{{ extStyle }}">
							 | 
						||
| 
								 | 
							
								        <slot></slot>
							 | 
						||
| 
								 | 
							
								        <view class="{{ classes.nav }}" wx:if="{{ sections.length > 0 }}" catchtouchstart="onTouchStart" catchtouchmove="onTouchMove" catchtouchend="onTouchEnd">
							 | 
						||
| 
								 | 
							
								            <block wx:for="{{ sections }}" wx:key="index">
							 | 
						||
| 
								 | 
							
								                <view class="{{ classes.navRow }}" data-index="{{ index }}" data-name="{{ item.name }}">
							 | 
						||
| 
								 | 
							
								                    <view class="{{ classes.navItem }} {{ index === current ? classes.navItem + '--current' : ''  }}" data-index="{{ index }}" data-name="{{ item.name }}">{{ item.name }}</view>
							 | 
						||
| 
								 | 
							
								                </view>
							 | 
						||
| 
								 | 
							
								            </block>
							 | 
						||
| 
								 | 
							
								        </view>
							 | 
						||
| 
								 | 
							
								        <div class="{{ classes.indicator }}" wx:if="{{ showIndicator && moving }}">{{ currentName }}</div>
							 | 
						||
| 
								 | 
							
								    </scroll-view>
							 | 
						||
| 
								 | 
							
								</view>
							 |