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.
		
		
		
		
		
			
		
			
				
					
					
						
							29 lines
						
					
					
						
							839 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							839 B
						
					
					
				| <wxs src="../wxs/utils.wxs" module="utils" /> | |
| 
 | |
| <view | |
|   wx:if="{{ loading }}" | |
|   class="custom-class {{ utils.bem('skeleton', [{animate}]) }}" | |
| > | |
|   <view | |
|     wx:if="{{ avatar }}" | |
|     class="avatar-class {{ utils.bem('skeleton__avatar', [avatarShape])}}" | |
|     style="{{ 'width:' + avatarSize + ';height:' + avatarSize }}" | |
|   /> | |
|   <view class="{{ utils.bem('skeleton__content')}}"> | |
|     <view | |
|       wx:if="{{ title }}" | |
|       class="title-class {{ utils.bem('skeleton__title') }}" | |
|       style="{{ 'width:' + titleWidth }}" | |
|     /> | |
|     <view | |
|       wx:for="{{ rowArray }}" | |
|       wx:key="index" | |
|       wx:for-index="index" | |
|       class="row-class {{ utils.bem('skeleton__row') }}" | |
|       style="{{ 'width:' + (isArray ? rowWidth[index] : rowWidth) }}" | |
|     /> | |
|   </view> | |
| </view> | |
| <view wx:else class="{{ utils.bem('skeleton__content')}}"> | |
|   <slot /> | |
| </view>
 | |
| 
 |