From 80e879a08c451baa9cfb3e92b943db797f1585ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 11 Apr 2026 08:47:22 +0800 Subject: [PATCH] =?UTF-8?q?style(passport):=20=E5=B0=86=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=BB=E9=A2=98=E5=88=87=E6=8D=A2=E4=B8=BA?= =?UTF-8?q?=E8=93=9D=E8=89=B2=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增蓝色主题扫描线与发光动画样式 - 添加不同颜色主题的粒子元素动画类 - 修改授权页面背景渐变为蓝色调 - 调整网格背景和渐变光晕颜色为蓝色系列 - 蓝色主题粒子背景与动画细节优化 - 更新按钮和文本渐变颜色为蓝色风格 - 按钮阴影和边框颜色修改为蓝色系 - 同意协议文本颜色切换为蓝色 - 底部指示点颜色替换为蓝色调,增强视觉统一性 --- .workbuddy/expert-history.json | 2 +- src/passport/qr-confirm/index.tsx | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.workbuddy/expert-history.json b/.workbuddy/expert-history.json index 007653c..e255710 100644 --- a/.workbuddy/expert-history.json +++ b/.workbuddy/expert-history.json @@ -35,5 +35,5 @@ } ] }, - "lastUpdated": 1775868078061 + "lastUpdated": 1775868406858 } \ No newline at end of file diff --git a/src/passport/qr-confirm/index.tsx b/src/passport/qr-confirm/index.tsx index d342b7d..139294d 100644 --- a/src/passport/qr-confirm/index.tsx +++ b/src/passport/qr-confirm/index.tsx @@ -166,15 +166,10 @@ const QRConfirmPage: React.FC = () => { }); if (res.data.success || res.data.status === 'confirmed') { - Taro.showToast({ title: '登录确认成功', icon: 'success', duration: 2000 }); + Taro.showToast({ title: '登录确认成功', icon: 'success', duration: 1500 }); setTimeout(() => { - Taro.showModal({ - title: '登录成功', - content: '请回到电脑端刷新页面', - showCancel: false, - confirmText: '我知道了' - }); - }, 2000); + Taro.switchTab({ url: '/pages/user/user' }); + }, 1500); } else { Taro.showToast({ title: res.data.message || '登录确认失败', icon: 'none' }); }