You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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