A vue loading plug-in
npm i u-loading --save
// Introduced in main.js
import uLoading from 'u-loading'
Vue.use(uLoading);
<uLoading></uLoading>
parameter | explain | type | optional | default |
---|---|---|---|---|
type | Animation | Number | 1~92 | 1 |
zIndex | z-index | Number | -- | 1000 |
fixed | full screen | Boolean | true / false | true |
bgColor | Mask layer color | String | -- | #263238 |
radius | Mask layer fillet | String | -- | 0px |
bottom | bottom side | Boolean | true / false | false |