README
v-easy-loading
简单易用的vue移动端开发loading组件
Build Step
$ npm install v-easy-loading -s
使用
快速开始
import VEasyLoading from 'v-easy-loading'
Vue.use(VEasyLoading)
Example
<v-easy-loading backColor="#ddd">
<div>内容</div>
</v-easy-loading>
自适应须知
- 该组件使用 REM 布局实现多终端适配,使用时请搭配使用 lib-flexible 方案
参数说明
key | type | default | necessary | description |
---|---|---|---|---|
isLoading | Boolean | true | false | loading状态是否开启 |
backColor | String | #fff | false | loading背景色,仅支持16进制色值 |
opacity | Number | 1 | false | loading背景透明度 |
logoUrl | String | any | false | loading图标 |
logoSize | Array | [48, 48] | false | loading图标大小,分别为[wdith, height] |