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.
		
		
		
		
			
				
					16 lines
				
				425 B
			
		
		
			
		
	
	
					16 lines
				
				425 B
			| 
								 
											2 years ago
										 
									 | 
							
								<view class="wux-class {{ classes.wrap }}" style="width: {{ width }}" bindtap="onTap">
							 | 
						||
| 
								 | 
							
									<view class="{{ classes.icon }}">
							 | 
						||
| 
								 | 
							
										<block wx:if="{{ current }}">
							 | 
						||
| 
								 | 
							
											<slot name="icon-off"></slot>
							 | 
						||
| 
								 | 
							
										</block>
							 | 
						||
| 
								 | 
							
										<block wx:else>
							 | 
						||
| 
								 | 
							
											<slot name="icon-on"></slot>
							 | 
						||
| 
								 | 
							
										</block>
							 | 
						||
| 
								 | 
							
									</view>
							 | 
						||
| 
								 | 
							
									<view class="{{ classes.title }}">
							 | 
						||
| 
								 | 
							
										<text wx:if="{{ title }}">{{ title }}</text>
							 | 
						||
| 
								 | 
							
									    <block wx:else>
							 | 
						||
| 
								 | 
							
									        <slot></slot>
							 | 
						||
| 
								 | 
							
									    </block>
							 | 
						||
| 
								 | 
							
									</view>
							 | 
						||
| 
								 | 
							
								</view>
							 |