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: '我的' }, +} + + + + + 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 @@ + + + + + + + + + 修改头像 + + + + + 提交修改 + + +