19 lines
499 B
JavaScript
19 lines
499 B
JavaScript
import { defineMixin } from '../../libs/vue'
|
|
import StatusBarDefaultProps from './statusBar'
|
|
import { registerComponentProps } from '../../libs/config/props.js'
|
|
|
|
const defProps = registerComponentProps(StatusBarDefaultProps)
|
|
export const props = defineMixin({
|
|
props: {
|
|
bgColor: {
|
|
type: String,
|
|
default: () => defProps.statusBar.bgColor
|
|
},
|
|
// 状态栏获取得高度
|
|
height: {
|
|
type: Number,
|
|
default: () => defProps.statusBar.height
|
|
}
|
|
}
|
|
})
|