From d0baa003e1bf38e8970da729e8b9ef7b3df54d24 Mon Sep 17 00:00:00 2001
From: ray <1490493387@qq.com>
Date: Mon, 4 Aug 2025 07:48:37 +0800
Subject: [PATCH] =?UTF-8?q?wip:=20=E9=87=8D=E6=9E=84=E4=B8=B4=E6=97=B6?=
=?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components.d.ts | 3 ---
src/App.vue | 17 +----------------
src/pages/login/index.vue | 14 +-------------
src/pages/mine/index.vue | 10 +++++-----
src/pages/mine/settings/theme/index.vue | 8 ++++----
src/store/modules/theme.store.ts | 1 +
6 files changed, 12 insertions(+), 41 deletions(-)
diff --git a/components.d.ts b/components.d.ts
index f7d65f8..2842083 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -21,8 +21,6 @@ declare module 'vue' {
WdCard: typeof import('wot-design-uni/components/wd-card/wd-card.vue')['default']
WdCell: typeof import('wot-design-uni/components/wd-cell/wd-cell.vue')['default']
WdCellGroup: typeof import('wot-design-uni/components/wd-cell-group/wd-cell-group.vue')['default']
- WdCollapse: typeof import('wot-design-uni/components/wd-collapse/wd-collapse.vue')['default']
- WdCollapseItem: typeof import('wot-design-uni/components/wd-collapse-item/wd-collapse-item.vue')['default']
WdConfigProvider: typeof import('wot-design-uni/components/wd-config-provider/wd-config-provider.vue')['default']
WdDivider: typeof import('wot-design-uni/components/wd-divider/wd-divider.vue')['default']
WdForm: typeof import('wot-design-uni/components/wd-form/wd-form.vue')['default']
@@ -40,7 +38,6 @@ declare module 'vue' {
WdPopup: typeof import('wot-design-uni/components/wd-popup/wd-popup.vue')['default']
WdRadio: typeof import('wot-design-uni/components/wd-radio/wd-radio.vue')['default']
WdRadioGroup: typeof import('wot-design-uni/components/wd-radio-group/wd-radio-group.vue')['default']
- WdStatusTip: typeof import('wot-design-uni/components/wd-status-tip/wd-status-tip.vue')['default']
WdSwiper: typeof import('wot-design-uni/components/wd-swiper/wd-swiper.vue')['default']
WdSwitch: typeof import('wot-design-uni/components/wd-switch/wd-switch.vue')['default']
WdTabbar: typeof import('wot-design-uni/components/wd-tabbar/wd-tabbar.vue')['default']
diff --git a/src/App.vue b/src/App.vue
index 69476fa..35c1b3c 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,20 +1,5 @@
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
index 90a4d2a..02db0f6 100644
--- a/src/pages/login/index.vue
+++ b/src/pages/login/index.vue
@@ -29,12 +29,7 @@
-
+
@@ -126,8 +120,6 @@ import { type LoginData } from "@/api/auth";
import { useUserStore } from "@/store/modules/user.store";
import { useToast } from "wot-design-uni";
import { useWechat } from "@/composables/useWechat";
-import { useThemeStore } from "@/composables/types/theme";
-import { computed, onMounted } from "vue";
const loginFormRef = ref();
const toast = useToast();
@@ -136,10 +128,6 @@ const userStore = useUserStore();
const showPassword = ref(false);
const loginType = ref<"account" | "phone">("account");
const { authState, getLoginCode, getPhoneNumber } = useWechat();
-const themeStore = useThemeStore();
-
-// 是否暗黑模式
-const isDarkMode = computed(() => themeStore.theme === "dark");
// 登录表单数据
const loginFormData = ref({
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
index 317d9f3..7be37e3 100644
--- a/src/pages/mine/index.vue
+++ b/src/pages/mine/index.vue
@@ -1,5 +1,5 @@
-
+
@@ -44,7 +44,7 @@
0.00
- 我的余额
+ 我的余额
@@ -114,7 +114,7 @@
解锁更多特权
-
+
@@ -126,7 +126,7 @@
查看我的优惠券
-
+
@@ -138,7 +138,7 @@
邀请好友得奖励
-
+
diff --git a/src/pages/mine/settings/theme/index.vue b/src/pages/mine/settings/theme/index.vue
index 1ffbb70..fc7f9d4 100644
--- a/src/pages/mine/settings/theme/index.vue
+++ b/src/pages/mine/settings/theme/index.vue
@@ -1,5 +1,5 @@
-
+