Skip to content

Commit

Permalink
🐞 fix: 深色模式下样式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadwuo committed Apr 25, 2024
1 parent 2112318 commit c4000e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/layouts/blank.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="h-full" :class="{ dark: isDark, }">
<main class="font-sans color-gray-700 dark:color-gray-200 h-full flex flex-col">
<div class="h-full">
<main class="h-full flex flex-col color-gray-700 font-sans dark:color-gray-200">
<slot />
</main>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<div class="h-full" :class="{ dark: isDark, }">
<main class="font-sans color-gray-700 dark:color-gray-200 h-full flex flex-col mx-5">
<div class="h-full">
<main class="mx-5 h-full flex flex-col color-gray-700 font-sans dark:color-gray-200">
<slot />
<Footer class="mt-auto" />
<uv-safe-bottom></uv-safe-bottom>
<uv-safe-bottom />
</main>
</div>
</template>
2 changes: 0 additions & 2 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,12 @@
"quickapp": {},
/* 小程序特有相关 */
"mp-weixin": {
"darkmode": true,
"appid": "wx200dacbd79781fa0",
"setting": {
"urlCheck": false
},
"usingComponents": true,
"lazyCodeLoading": "requiredComponents"

},
"mp-alipay": {
"usingComponents": true
Expand Down

0 comments on commit c4000e1

Please sign in to comment.