更新记录

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>

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

许可协议

MIT协议

暂无用户评论。

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问