OfficeSystem/node_modules/@climblee/uv-ui/components/uv-notify/props.js
WindowBird 7ab9e16c35 init
2025-10-30 16:42:12 +08:00

45 lines
774 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default {
props: {
// 到顶部的距离
top: {
type: [String, Number],
default: 0
},
// type主题primarysuccesswarningerror
type: {
type: String,
default: 'primary'
},
// 字体颜色
color: {
type: String,
default: '#ffffff'
},
// 背景颜色
bgColor: {
type: String,
default: ''
},
// 展示的文字内容
message: {
type: String,
default: ''
},
// 展示时长为0时不消失单位ms
duration: {
type: [String, Number],
default: 3000
},
// 字体大小
fontSize: {
type: [String, Number],
default: 15
},
// 是否留出顶部安全距离(状态栏高度)
safeAreaInsetTop: {
type: Boolean,
default: false
},
...uni.$uv?.props?.notify
}
}