更新记录
1.0.0(2020-01-16) 下载此版本
1.修改了progress 组件在app 上 圆角显示不出来的问题。定义了progressHeight,bottomBackground,firstBackground, progress,borderRadius等属性值,具体使用方法看使用说明
平台兼容性
cwg-progress
目录结构
- components --- 组件目录
 - pages -- 页面目录(DEMO) 
使用方法
import cwgProgress from '@/components/cwg-progress/cwg-progress.vue' export default { components:{ cwgProgress }
属性介绍
 - progressHeight 进度条的高度 取值类型 Number
 - bottomBackground 进度条的背景颜色 (底部的未产生进度的颜色)
 - firstBackground 第一进度条的颜色
 - progress 进度条的进度百分比 取值范围 0-100
 - 
borderRadius 进度条的圆角 默认不设置该属性时 圆角为 控件高度的一半,如需为矩形进度条,设置borderRadius ='0' 即可
完整DEMO
 <style lang="scss"> .content { display: flex; flex-direction: column; align-items: center; justify-content: center; .progress{ width: 200px; } } </style> 

                                                                        收藏人数:
                                    
                                                        下载插件并导入HBuilderX
                                                    
                                            
 下载 198
                
 赞赏 0
                
            
                                            
                    下载 10694410 
                
                        赞赏 1797 
                    
            
            
            
            
            
            
            
            
            
            
            
            
            
            
                        
                                赞赏
                            
            
京公网安备:11010802035340号