fix: +86前缀被挤出 + 注册页加语言切换 + 语言按钮样式
All checks were successful
continuous-integration/drone/push Build is passing
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:
@@ -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 {
|
||||
|
||||
@@ -46,6 +46,35 @@
|
||||
top: 24px;
|
||||
right: 24px;
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.login-jump-btn .lang-box {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.login-jump-btn .lang-box span {
|
||||
color: rgba(139, 148, 158, 0.6);
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s;
|
||||
line-height: 1;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.login-jump-btn .lang-box span:hover {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
.login-jump-btn .lang-box span.active {
|
||||
color: #FFFFFF;
|
||||
background: rgba(22, 93, 255, 0.2);
|
||||
}
|
||||
|
||||
.login-jump-btn .btn {
|
||||
@@ -228,23 +257,23 @@
|
||||
color: rgba(139, 148, 158, 0.6) !important;
|
||||
}
|
||||
|
||||
/* 手机号 select 前置 */
|
||||
.input-with-select .el-input-group__prepend {
|
||||
background: #1c2028 !important;
|
||||
border: 1px solid transparent !important;
|
||||
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 {
|
||||
@@ -254,6 +283,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 {
|
||||
|
||||
Reference in New Issue
Block a user