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