style: 收紧account页面所有间距约40%,内容更紧凑
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2026-03-22 11:19:01 +08:00
parent 07551f9c1b
commit 096ec2f08f

View File

@@ -16,12 +16,12 @@
/* === 内容容器 === */ /* === 内容容器 === */
.content-box { .content-box {
margin-top: 0.4rem; margin-top: 0.2rem;
} }
/* === 用户栏 === */ /* === 用户栏 === */
.box-top { .box-top {
height: 1rem; height: 0.6rem;
width: 100%; width: 100%;
border-bottom: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB;
display: flex; display: flex;
@@ -34,10 +34,10 @@
width: 100%; width: 100%;
} }
.name-text { .name-text {
font-size: 0.32rem; font-size: 0.22rem;
font-family: Helvetica; font-family: Helvetica;
font-weight: bold; font-weight: bold;
line-height: 0.32rem; line-height: 0.22rem;
color: #1F2937 !important; color: #1F2937 !important;
} }
.name-country { .name-country {
@@ -77,7 +77,7 @@
/* === 主内容区 === */ /* === 主内容区 === */
.box-main { .box-main {
margin-top: 0.4rem; margin-top: 0.16rem;
} }
/* === Popconfirm === */ /* === Popconfirm === */
@@ -101,23 +101,23 @@
/* === 分组区块 — 轻卡片(无 padding 避免压缩布局) === */ /* === 分组区块 — 轻卡片(无 padding 避免压缩布局) === */
.account { .account {
margin-top: 0.62rem !important; margin-top: 0.3rem !important;
} }
.basic > .el-row, .basic > .el-row,
.account > .el-row { .account > .el-row {
margin-top: 0.43rem; margin-top: 0.2rem;
} }
.oauth { .oauth {
margin-top: 0.62rem; margin-top: 0.3rem;
} }
.wx-switch { .wx-switch {
margin-top: 0.43rem; margin-top: 0.2rem;
} }
.oauth-box { .oauth-box {
margin-top: 0.43rem; margin-top: 0.2rem;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
row-gap: 0.43rem; row-gap: 0.2rem;
} }
/* === 表单项 === */ /* === 表单项 === */
@@ -131,7 +131,7 @@
font-weight: 500; font-weight: 500;
height: 0.2rem; height: 0.2rem;
color: #6B7280; color: #6B7280;
margin-bottom: 0.25rem; margin-bottom: 0.08rem;
} }
/* === 输入框 — 圆角边框(保持原始宽度 3.2rem === */ /* === 输入框 — 圆角边框(保持原始宽度 3.2rem === */
@@ -210,7 +210,7 @@
.btn-save { .btn-save {
width: 1.2rem; width: 1.2rem;
height: 0.4rem; height: 0.4rem;
margin-top: 0.43rem; margin-top: 0.24rem;
background: var(--color-primary); background: var(--color-primary);
border-radius: 8px; border-radius: 8px;
color: #ffffff; color: #ffffff;