fix: +86前缀被挤出 + 注册页加语言切换 + 语言按钮样式
All checks were successful
continuous-integration/drone/push Build is passing

- prepend 固定 width:70px 避免 +86 被挤出
- 注册页 login-jump-btn 内加入 lang-box 语言切换
- lang-box 用 font-size:0 消除文本节点间的 / 分隔符
- 登录注册页 lang-box 样式统一
This commit is contained in:
yiqiu
2026-03-19 19:25:46 +08:00
parent dd44eb48f0
commit 97a0271cac
3 changed files with 54 additions and 13 deletions

View File

@@ -70,16 +70,19 @@
/* 语言切换 */
.login-jump-btn .lang-box {
display: flex;
gap: 8px;
gap: 4px;
font-size: 0;
}
.login-jump-btn .lang-box span {
color: rgba(139, 148, 158, 0.6);
cursor: pointer;
font-size: 13px;
padding: 4px 8px;
border-radius: 4px;
padding: 6px 12px;
border-radius: 6px;
transition: all 0.2s;
line-height: 1;
display: inline-block;
}
.login-jump-btn .lang-box span:hover {
@@ -88,7 +91,7 @@
.login-jump-btn .lang-box span.active {
color: #FFFFFF;
background: rgba(22, 93, 255, 0.15);
background: rgba(22, 93, 255, 0.2);
}
/* ---- 表单区域 — 无卡片 ---- */
@@ -332,16 +335,17 @@
border-right: 1px solid rgba(255,255,255,0.06) !important;
border-radius: 8px 0 0 8px !important;
color: #E6E8EB !important;
padding: 0 10px !important;
padding: 0 !important;
width: 70px !important;
min-width: 70px !important;
}
.input-with-select .el-input-group__prepend .el-input__inner {
background: transparent !important;
border: none !important;
color: #E6E8EB !important;
padding: 0 !important;
height: auto !important;
line-height: inherit !important;
padding-left: 12px !important;
padding-right: 20px !important;
}
.input-with-select .el-input-group__prepend .el-select .el-input .el-input__inner {
@@ -351,6 +355,7 @@
.input-with-select .el-input-group__prepend .el-input__suffix {
color: rgba(139, 148, 158, 0.5) !important;
right: 2px !important;
}
.input-with-select .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner {