提交初始版本,使用vant ui库
This commit is contained in:
		
							
								
								
									
										20
									
								
								miniprogram_npm/@vant/weapp/progress/index.wxml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								miniprogram_npm/@vant/weapp/progress/index.wxml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| <wxs src="../wxs/utils.wxs" module="utils" /> | ||||
| <wxs src="./index.wxs" module="computed" /> | ||||
|  | ||||
| <view | ||||
|   class="van-progress custom-class" | ||||
|   style="{{ computed.rootStyle({ strokeWidth, trackColor }) }}" | ||||
| > | ||||
|   <view | ||||
|     class="van-progress__portion" | ||||
|     style="{{ computed.portionStyle({ percentage, inactive, color }) }}" | ||||
|   > | ||||
|     <view | ||||
|       wx:if="{{ showPivot && computed.pivotText(pivotText, percentage) }}" | ||||
|       style="{{ computed.pivotStyle({ textColor, pivotColor, inactive, color, right }) }}" | ||||
|       class="van-progress__pivot" | ||||
|     > | ||||
|       {{ computed.pivotText(pivotText, percentage) }} | ||||
|     </view> | ||||
|   </view> | ||||
| </view> | ||||
		Reference in New Issue
	
	Block a user