From f292558558730862dda4acce619bcfbc3c66ff92 Mon Sep 17 00:00:00 2001
From: sjeam <359824901@qq.com>
Date: Sun, 7 Sep 2025 14:28:13 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/my/components/wx-login.vue | 181 ++++++++++----------
src/pages/my/index.vue | 240 ++++++++++++++++++++++++---
src/pages/my/setting.vue | 88 +++++++++-
src/service/crmeb/product.ts | 5 +
src/style/index.scss | 30 ++++
5 files changed, 434 insertions(+), 110 deletions(-)
diff --git a/src/pages/my/components/wx-login.vue b/src/pages/my/components/wx-login.vue
index 50cf88b..dae62ae 100644
--- a/src/pages/my/components/wx-login.vue
+++ b/src/pages/my/components/wx-login.vue
@@ -19,20 +19,20 @@
style="backdrop-filter: blur(2rpx); border-radius: 10rpx"
>
-
-
+
+
- {{ userStore.userInfo?.nickname }}
+ {{ userInfo.nickname }}
- ID:{{ userStore.userInfo?.id }}
+ ID:{{ userInfo.id }}
-
+
去登录
@@ -121,95 +121,100 @@
-
-
diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue
index 1e5a08e..f8bb881 100644
--- a/src/pages/my/index.vue
+++ b/src/pages/my/index.vue
@@ -1,4 +1,4 @@
-
+
-// userStore.wxLogin()
-// // 用户登录,获取openId
-// uni.login({
-// provider: 'weixin',
-// success: async ({ code }) => {
-// const res = await http<{ session_key: string; openid: string }>({
-// method: 'POST',
-// url: '/api/auth/routineLogin',
-// data: {
-// code,
-// },
+
+{
+ style: { navigationStyle: 'custom', navigationBarTitleText: '我的' },
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ userInfo.nickname }}
+
+
+ ID:{{ userInfo.id }}
+
+
+
+
+
+ 去登录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/my/setting.vue b/src/pages/my/setting.vue
index 6d5a0ab..a416894 100644
--- a/src/pages/my/setting.vue
+++ b/src/pages/my/setting.vue
@@ -8,6 +8,18 @@
+
+
+
+
+
+
+
+
+ 修改头像
+
+
+
+
+ 提交修改
+
+
+