From 4bf7fb6e5cea993d87a4678b6d3f93a380720eb9 Mon Sep 17 00:00:00 2001 From: "Logan.Li" Date: Tue, 3 Nov 2026 01:07:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(login):=20=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E4=BD=8E=E8=B0=83=E5=8C=96,=E5=8E=BB=E6=8E=89=E5=93=81?= =?UTF-8?q?=E7=89=8C=E4=B8=8E=E4=B8=9A=E5=8A=A1=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除左侧品牌区(含 opsx-licence、License 授权服务控制台、双签发/设备激活追溯/多渠道收款对账三块业务描述) - 表单文案中性化:「登录控制台」→「登录」,去掉「请使用账号登录」与「连续登录失败会被限流…」提示 - 页面标题改为「登录」,并加 robots noindex,nofollow,noarchive - 布局改为单卡居中(移动端无横向溢出) - 保留「记住密码」能力 - 目的:登录页暴露在公网,避免自报服务性质、降低被针对性扫描的概率 --- frontend/index.html | 2 +- frontend/src/router/index.js | 2 +- frontend/src/views/Login.vue | 48 ++++++++---------------------------- 3 files changed, 12 insertions(+), 40 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 52fa257..96dadd1 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -6,7 +6,7 @@ - opsx-licence + 登录
diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 2f9e003..69869d3 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -115,7 +115,7 @@ router.beforeEach((to, from, next) => { const userStore = useUserStore() if (to.meta.title) { - document.title = `${to.meta.title} - opsx-licence` + document.title = `${to.meta.title}` } if (to.meta.public) { diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue index 6ae5742..aa1680a 100644 --- a/frontend/src/views/Login.vue +++ b/frontend/src/views/Login.vue @@ -1,42 +1,12 @@ @@ -362,4 +329,9 @@ onMounted(restoreRemembered) font-size: 12px; } } + + /* 低调化:取消左右分栏,登录卡居中 // Logan.Li */ + .wrap, .login-wrap { grid-template-columns: 1fr !important; display: block !important; } + .brand-panel { display: none !important; } + .form-panel { min-height: 100vh; display: flex !important; align-items: center; justify-content: center; }