调整用户中心页面内容区域的顶部边距,并优化返回按钮的样式和定位。

This commit is contained in:
Wei_佳 2025-11-19 16:51:08 +08:00
parent 62354c9e23
commit 24bf93f0b3
4 changed files with 12 additions and 13 deletions

View File

@ -239,7 +239,7 @@ defineExpose({
padding: 24px; padding: 24px;
min-height: calc(100vh - 40px); min-height: calc(100vh - 40px);
position: relative; position: relative;
margin-top: 50px;
} }
.transfer-container { .transfer-container {

View File

@ -63,7 +63,7 @@ function handleDeleteInvoice(invoice) {
padding: 24px; padding: 24px;
min-height: calc(100vh - 40px); min-height: calc(100vh - 40px);
position: relative; position: relative;
margin-top: 50px;
} }
.invoice-container { .invoice-container {

View File

@ -82,7 +82,7 @@ function handleDownloadCertificate(item) {
padding: 24px; padding: 24px;
min-height: calc(100vh - 40px); min-height: calc(100vh - 40px);
position: relative; position: relative;
margin-top: 50px;
} }
.asset-grid { .asset-grid {

View File

@ -192,23 +192,22 @@ onMounted(() => {
.back-button { .back-button {
position: absolute; position: absolute;
top: 20px; top: 44px; /* Align with the content card's top padding area */
left: 20px; left: 44px; /* Align with the content card's left padding area */
display: flex; display: inline-flex;
align-items: center; align-items: center;
gap: 6px; gap: 4px;
padding: 8px 16px; padding: 0;
color: #606266; color: #606266;
cursor: pointer; cursor: pointer;
border-radius: 4px;
transition: all 0.3s ease; transition: all 0.3s ease;
font-size: 14px; font-size: 14px;
background: white; background: transparent;
z-index: 10; z-index: 10;
box-shadow: none;
} }
.back-button:hover { .back-button:hover {
background: #F5F7FA;
color: #A30113; color: #A30113;
} }
@ -217,7 +216,7 @@ onMounted(() => {
} }
.back-button:hover svg { .back-button:hover svg {
transform: translateX(-2px); transform: translateX(-4px);
} }
@media (max-width: 768px) { @media (max-width: 768px) {