feat(auth): 优化PC与移动端登录注册界面并支持邀请码锁定绑定

- 重构 PC 端 LoginView.vue 与移动端 MobileRegisterView.vue,统一契合平台金橙色主体色
- 识别邀请链接并自动填入邀请码,锁定输入框为只读并展示「已绑定邀请码」专属徽章,防止篡改
- 短链 /i/:code 与 /m/i/:code 统一重定向至登录注册页,移除冗余独立落地页
- PC 端页脚完全对齐主站并固定沉底,左侧定制官方品质、安全上号、资金担保平台核心卖点
- 验证方式:npm run check(Prettier + ESLint + vue-tsc)全数通过
This commit is contained in:
yml2213
2026-10-10 13:48:14 +08:00
parent 7cddbe9463
commit 825ce83003
7 changed files with 1313 additions and 1336 deletions
+10
View File
@@ -43,6 +43,16 @@ export const mobileRoutes: RouteRecordRaw[] = [
component: () => import('@/features/auth/views/MobileRegisterView.vue'),
meta: { layout: 'blank' },
},
{
path: '/m/i/:code',
name: 'mobile-invite-register',
redirect: to => ({
path: '/m/register',
query: {
invite_code: String(to.params.code || ''),
},
}),
},
{
path: '/m/messages',
name: 'mobile-messages',