Skip to content

Commit

Permalink
NavBar 高度调整
Browse files Browse the repository at this point in the history
  • Loading branch information
Keywos committed Mar 21, 2024
1 parent 9e17d06 commit fe79056
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.209",
"version": "2.14.210",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
8 changes: 4 additions & 4 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,19 @@ const isPWA = ref(
// isSmall.value = true;
const navBarHeight = computed(() => {
return isPWA.value && !isLandscape.value ? (isSmall.value ? "78px" : "110px") : "56px";
return isPWA.value && !isLandscape.value ? (isSmall.value ? "78px" : "100px") : "56px";
});
const navBartop = computed(() => {
return isPWA.value && !isLandscape.value ? (isSmall.value ? "38px" : "70px") : "0px";
return isPWA.value && !isLandscape.value ? (isSmall.value ? "38px" : "60px") : "0px";
});
const navBartopRight = computed(() => {
return isPWA.value && !isLandscape.value ? (isSmall.value ? "52px" : "80px") : "15px";
return isPWA.value && !isLandscape.value ? (isSmall.value ? "52px" : "70px") : "15px";
});
const Pwa_top = computed(() => {
return isPWA.value ? (isSmall.value ? "20px" : "60px") : "60px";
return isPWA.value ? (isSmall.value ? "20px" : "50px") : "50px";
});
const isNeedBack = computed(() => {
Expand Down

0 comments on commit fe79056

Please sign in to comment.