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

61 lines
1.7 KiB
JavaScript
Raw Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
export default {
props: {
// 是否显示组件
show: {
type: Boolean,
default: defprops.loadingIcon.show
},
// 颜色
color: {
type: String,
default: defprops.loadingIcon.color
},
// 提示文字颜色
textColor: {
type: String,
default: defprops.loadingIcon.textColor
},
// 文字和图标是否垂直排列
vertical: {
type: Boolean,
default: defprops.loadingIcon.vertical
},
// 模式选择circle-圆形spinner-花朵形semicircle-半圆形
mode: {
type: String,
default: defprops.loadingIcon.mode
},
// 图标大小单位默认px
size: {
type: [String, Number],
default: defprops.loadingIcon.size
},
// 文字大小
textSize: {
type: [String, Number],
default: defprops.loadingIcon.textSize
},
// 文字内容
text: {
type: [String, Number],
default: defprops.loadingIcon.text
},
// 动画模式
timingFunction: {
type: String,
default: defprops.loadingIcon.timingFunction
},
// 动画执行周期时间
duration: {
type: [String, Number],
default: defprops.loadingIcon.duration
},
// mode=circle时的暗边颜色
inactiveColor: {
type: String,
default: defprops.loadingIcon.inactiveColor
}
}
}