mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/uview-plus/components/u-loading-page/props.js

51 lines
1.4 KiB
JavaScript
Raw Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
export default {
props: {
// 提示内容
loadingText: {
type: [String, Number],
default: defprops.loadingPage.loadingText
},
// 文字上方用于替换loading动画的图片
image: {
type: String,
default: defprops.loadingPage.image
},
// 加载动画的模式circle-圆形spinner-花朵形semicircle-半圆形
loadingMode: {
type: String,
default: defprops.loadingPage.loadingMode
},
// 是否加载中
loading: {
type: Boolean,
default: defprops.loadingPage.loading
},
// 背景色
bgColor: {
type: String,
default: defprops.loadingPage.bgColor
},
// 文字颜色
color: {
type: String,
default: defprops.loadingPage.color
},
// 文字大小
fontSize: {
type: [String, Number],
default: defprops.loadingPage.fontSize
},
// 图标大小
iconSize: {
type: [String, Number],
default: defprops.loadingPage.fontSize
},
// 加载中图标的颜色只能rgb或者十六进制颜色值
loadingColor: {
type: String,
default: defprops.loadingPage.loadingColor
}
}
}