mirror of
				https://gitee.com/vant-contrib/vant-weapp.git
				synced 2025-10-27 01:42:08 +08:00 
			
		
		
		
	
							parent
							
								
									2cc9943392
								
							
						
					
					
						commit
						ccd713d039
					
				| @ -2,20 +2,21 @@ | |||||||
| 
 | 
 | ||||||
| .van-info { | .van-info { | ||||||
|   position: absolute; |   position: absolute; | ||||||
|   right: 0; |  | ||||||
|   top: -@info-size / 2; |   top: -@info-size / 2; | ||||||
|   color: @info-color; |   right: 0; | ||||||
|  |   min-width: @info-size; | ||||||
|  |   padding: @info-padding; | ||||||
|  |   font-family: @info-font-family; | ||||||
|   font-size: @info-font-size; |   font-size: @info-font-size; | ||||||
|   font-weight: @info-font-weight; |   font-weight: @info-font-weight; | ||||||
|   font-family: @info-font-family; |  | ||||||
|   text-align: center; |  | ||||||
|   box-sizing: border-box; |  | ||||||
|   padding: @info-padding; |  | ||||||
|   min-width: @info-size; |  | ||||||
|   line-height: @info-size - @info-border-width * 2; |   line-height: @info-size - @info-border-width * 2; | ||||||
|  |   color: @info-color; | ||||||
|  |   text-align: center; | ||||||
|  |   white-space: nowrap; | ||||||
|  |   background-color: @info-background-color; | ||||||
|   border: @info-border-width solid @white; |   border: @info-border-width solid @white; | ||||||
|   border-radius: @info-size; |   border-radius: @info-size; | ||||||
|   background-color: @info-background-color; |  | ||||||
|   transform: translateX(50%); |   transform: translateX(50%); | ||||||
|  |   box-sizing: border-box; | ||||||
|   transform-origin: 100%; |   transform-origin: 100%; | ||||||
| } | } | ||||||
|  | |||||||
| @ -2,6 +2,4 @@ | |||||||
|   wx:if="{{ info !== null }}" |   wx:if="{{ info !== null }}" | ||||||
|   class="custom-class van-info" |   class="custom-class van-info" | ||||||
|   style="{{ customStyle }}" |   style="{{ customStyle }}" | ||||||
| > | >{{ info }}</view> | ||||||
|   {{ info }} |  | ||||||
| </view> |  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user