修改样式
This commit is contained in:
@@ -35,7 +35,7 @@ let navbarHeight = ref(0)
|
||||
let navHeight = ref(0)
|
||||
|
||||
onMounted(() => {
|
||||
navBarPaddingTop.value = getNavBarPaddingTop();console.log(navBarPaddingTop.value)
|
||||
navBarPaddingTop.value = getNavBarPaddingTop();
|
||||
statusBarHeight.value = getStatusBarHeight();
|
||||
navbarHeight.value = getNavBarHeight();
|
||||
navHeight.value = navbarHeight.value - statusBarHeight.value
|
||||
|
||||
@@ -39,6 +39,6 @@ export const getNavBarPaddingTop = () => {
|
||||
h=0
|
||||
// #endif
|
||||
}
|
||||
console.log("h=>",h)
|
||||
// console.log("h=>",h)
|
||||
return h;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user