# 使用说明
// 按需引入需要在 app.scss 中引入对应样式 loading.scss
import { ClLoading } from "mp-colorui";
# 一般用法
# 参数说明
# Loading 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 
|---|---|---|---|---|
| type | loading 类型 | string | bar,modal,bar,line,common | bar | 
| bgColor | 背景色 | string | 参考文档 默认色 | blue | 
| modalText | type 为 modal 时显示的文字 | string | - | - | 
| commonText | type 为 common 时显示的文字 | string | - | - | 
| imgUrl | type 为 modal 或 image 时显示的图片 | string | - | - | 
| show | 是否显示 | boolean | true,false | false | 
| loadingError | type 为 line 时设置,加载失败 | boolean | true,false | false | 
| noMore | type 为 line 时设置,没有更多了 | boolean | true,false | false | 
| content | 是否是区域加载(仅在 common、image、bar 模式下生效) | boolean | - | false | 
部分功能需扫码预览才能正常显示。
