147 lines
2.1 KiB
SCSS
147 lines
2.1 KiB
SCSS
.mine-page {
|
|
padding: 12px;
|
|
}
|
|
|
|
.user-card {
|
|
margin-bottom: 16px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
|
|
:global(.adm-card-body) {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 2px solid var(--primary-color);
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
.user-details {
|
|
flex: 1;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.user-level {
|
|
font-size: 14px;
|
|
color: var(--primary-color);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.user-points {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.menu-card {
|
|
margin-bottom: 16px;
|
|
border-radius: 12px;
|
|
|
|
:global(.adm-list-body) {
|
|
border: none;
|
|
}
|
|
|
|
:global(.adm-card-body) {
|
|
padding: 14px 0 0 0;
|
|
}
|
|
:global(.adm-list-body-inner) {
|
|
margin-top: 0px;
|
|
}
|
|
:global(.adm-list-item) {
|
|
padding: 0px;
|
|
:global(.adm-list-item-content) {
|
|
border: 1px solid #f0f0f0;
|
|
margin-bottom: 12px;
|
|
padding: 0 12px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
:global(.adm-list-item-content-prefix) {
|
|
margin-right: 12px;
|
|
color: var(--primary-color);
|
|
font-size: 20px;
|
|
}
|
|
|
|
:global(.adm-list-item-content-main) {
|
|
flex: 1;
|
|
}
|
|
|
|
:global(.adm-list-item-title) {
|
|
font-size: 16px;
|
|
color: #333;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
:global(.adm-list-item-description) {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
:global(.adm-list-item-content-arrow) {
|
|
color: #ccc;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.logout-btn {
|
|
border-radius: 8px;
|
|
height: 48px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
// 响应式设计
|
|
@media (max-width: 375px) {
|
|
.mine-page {
|
|
padding: 12px;
|
|
}
|
|
|
|
.user-info {
|
|
gap: 12px;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.menu-card {
|
|
:global(.adm-list-item) {
|
|
padding: 12px;
|
|
|
|
:global(.adm-list-item-content-prefix) {
|
|
font-size: 18px;
|
|
}
|
|
|
|
:global(.adm-list-item-title) {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
} |