| 
									
										
										
										
											2018-12-10 15:40:57 +08:00
										 |  |  | <template> | 
					
						
							|  |  |  |   <div class="md-example-child md-example-child-progress"> | 
					
						
							|  |  |  |     <md-progress | 
					
						
							|  |  |  |       :size="100" | 
					
						
							|  |  |  |       :value="0.2" | 
					
						
							|  |  |  |       :width="5" | 
					
						
							|  |  |  |     > | 
					
						
							|  |  |  |       <span class="progress-value">20%</span> | 
					
						
							|  |  |  |     </md-progress> | 
					
						
							|  |  |  |     <md-progress | 
					
						
							|  |  |  |       :size="100" | 
					
						
							|  |  |  |       :value="0.5" | 
					
						
							|  |  |  |       :width="5" | 
					
						
							|  |  |  |     > | 
					
						
							|  |  |  |       <span class="progress-value">50%</span> | 
					
						
							|  |  |  |     </md-progress> | 
					
						
							|  |  |  |     <md-progress | 
					
						
							|  |  |  |       :size="100" | 
					
						
							|  |  |  |       :value="1" | 
					
						
							|  |  |  |       :width="5" | 
					
						
							|  |  |  |     > | 
					
						
							|  |  |  |       <span class="progress-value">100%</span> | 
					
						
							|  |  |  |     </md-progress> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script>
import {Progress} from 'mand-mobile' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default { | 
					
						
							|  |  |  |   name: 'progress-demo', | 
					
						
							|  |  |  |   components: { | 
					
						
							|  |  |  |     [Progress.name]: Progress, | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
</script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <style lang="stylus"> | 
					
						
							|  |  |  | .md-example-child-progress | 
					
						
							|  |  |  |   display flex | 
					
						
							|  |  |  |   justify-content center | 
					
						
							|  |  |  |   .md-progress | 
					
						
							|  |  |  |     margin 0 10px | 
					
						
							| 
									
										
										
										
											2024-03-12 16:49:33 +08:00
										 |  |  |   .progress-value | 
					
						
							| 
									
										
										
										
											2018-12-10 15:40:57 +08:00
										 |  |  |     font-size 24px | 
					
						
							| 
									
										
										
										
											2024-03-12 16:49:33 +08:00
										 |  |  |     font-family 'Helvetica Neue' | 
					
						
							| 
									
										
										
										
											2018-12-10 15:40:57 +08:00
										 |  |  | </style> |