WebApp【公共组件库】@前端(For Git Submodule)
‘chensiAb’
2025-04-10 a981e5a6d920bd477fff683158625fad505f4cc8
layout/navCustomBar/CNavCustomBar.vue
@@ -6,7 +6,7 @@
<template>
    <view
        class="c-nav-custom-bar"
        :style="{height:navBarHeight + 'px',paddingTop:statusBarHeight + 'px',boxSizing:'border-box'}"
        :style="{height:navBarHeight + 'px',paddingTop:statusBarHeight + 'px',boxSizing:'border-box',zIndex:99}"
    >
        <view
            class="c-nav-icon"
@@ -94,6 +94,11 @@
        $getStatusBarHeight() {
            return this.statusBarHeight;
        },
        //  使用自定义导航时,需要在主页显示的设置padding的值,此值是导航栏的高度,本导航已经使用固定定位为头部
        $getNavBarHeight() {
            return this.navBarHeight;
        },
    },
};
</script>