From 7ea03f238abfa877d4aef2967f48685e0bf2f27f Mon Sep 17 00:00:00 2001 From: isboyjc <214930661@qq.com> Date: Tue, 4 Jun 2024 19:07:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=F0=9F=90=9B:=20update=20dark=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/theme/components/CustomHome.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.vitepress/theme/components/CustomHome.vue b/.vitepress/theme/components/CustomHome.vue index 14ca74e..8fd202f 100644 --- a/.vitepress/theme/components/CustomHome.vue +++ b/.vitepress/theme/components/CustomHome.vue @@ -4,7 +4,6 @@ import { ref } from 'vue' import {t, routerPath} from '../locale' const { lang, isDark } = useData() -console.log(lang, isDark, useData()) const subDate = ref('month') const price = ref({ @@ -116,9 +115,20 @@ const price = ref({ :delay="500" :duration="400" class="mt-20 mb-10" + v-if="isDark" > - - + + +
+