Skip to content

Commit

Permalink
样式微调
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Jun 18, 2024
1 parent 823b330 commit 3fde0b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/assets/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

body {
box-sizing: border-box;
margin: 0;
}

* {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageLayout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function handleBackTopClick() {
<div class="h-full flex-center px-4">
<slot name="tabbar">
<RouterLink
v-for="item in tabbarList" :key="JSON.stringify(item)" class="flex flex-1 flex-col items-center gap-[2px] text-[var(--g-tabbar-color)] transition-all" :class="{
v-for="item in tabbarList" :key="JSON.stringify(item)" class="flex flex-1 flex-col items-center gap-[2px] text-[var(--g-tabbar-color)] no-underline transition-all" :class="{
'text-[var(--g-tabbar-active-color)]!': route.fullPath === item.path,
}" :to="item.path" replace
>
Expand Down

0 comments on commit 3fde0b0

Please sign in to comment.