bug
jiangping
2023-11-07 64b432916af9c9218ab3f3eca614e26c542142ae
minipro_standard/uni_modules/uview-ui/components/u-tabbar/props.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,44 @@
export default {
    props: {
        // å½“前匹配项的name
        value: {
            type: [String, Number, null],
            default: uni.$u.props.tabbar.value
        },
        // æ˜¯å¦ä¸ºiPhoneX留出底部安全距离
        safeAreaInsetBottom: {
            type: Boolean,
            default: uni.$u.props.tabbar.safeAreaInsetBottom
        },
        // æ˜¯å¦æ˜¾ç¤ºä¸Šæ–¹è¾¹æ¡†
        border: {
            type: Boolean,
            default: uni.$u.props.tabbar.border
        },
        // å…ƒç´ å±‚级z-index
        zIndex: {
            type: [String, Number],
            default: uni.$u.props.tabbar.zIndex
        },
        // é€‰ä¸­æ ‡ç­¾çš„颜色
        activeColor: {
            type: String,
            default: uni.$u.props.tabbar.activeColor
        },
        // æœªé€‰ä¸­æ ‡ç­¾çš„颜色
        inactiveColor: {
            type: String,
            default: uni.$u.props.tabbar.inactiveColor
        },
        // æ˜¯å¦å›ºå®šåœ¨åº•部
        fixed: {
            type: Boolean,
            default: uni.$u.props.tabbar.fixed
        },
        // fixed定位固定在底部时,是否生成一个等高元素防止塌陷
        placeholder: {
            type: Boolean,
            default: uni.$u.props.tabbar.placeholder
        }
    }
}