140 lines
2.4 KiB
SCSS
140 lines
2.4 KiB
SCSS
@use '../variables' as *;
|
|
|
|
// ==================== 个人资料页 ====================
|
|
.profile-page {
|
|
&__content {
|
|
margin-left: var(--nav-width, 2.2rem);
|
|
flex: 1;
|
|
padding-bottom: 0.12rem;
|
|
height: var(--app-height, 100vh);
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
background: $bg-main;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-size: 0.14rem;
|
|
}
|
|
|
|
// 页面标题区
|
|
&__header {
|
|
padding: 0.16rem 0.24rem;
|
|
background: #fff;
|
|
}
|
|
|
|
&__title {
|
|
font-size: 0.2rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.06rem;
|
|
}
|
|
|
|
&__title-tip {
|
|
font-size: 0.14rem;
|
|
color: $text-light;
|
|
cursor: help;
|
|
}
|
|
|
|
&__subtitle {
|
|
font-size: 0.12rem;
|
|
color: $text-light;
|
|
margin: 0.06rem 0 0 0;
|
|
line-height: 1.6;
|
|
max-width: 5.6rem;
|
|
}
|
|
|
|
// 主体区域
|
|
&__body {
|
|
display: flex;
|
|
gap: 0.24rem;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
margin: 0.16rem 0.24rem;
|
|
}
|
|
|
|
// 右侧边栏
|
|
&__sidebar {
|
|
padding-left: 0.1rem;
|
|
width: 3.0rem;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.12rem;
|
|
}
|
|
|
|
// 提示卡片
|
|
&__tip-card {
|
|
background: $btn-dark;
|
|
border-radius: 0.12rem;
|
|
padding: 0.2rem;
|
|
color: $bg-white;
|
|
}
|
|
|
|
&__tip-text {
|
|
font-size: 0.13rem;
|
|
line-height: 1.7;
|
|
margin: 0 0 0.16rem 0;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
&__tip-btn {
|
|
display: block;
|
|
width: 100%;
|
|
background: $bg-white;
|
|
color: $text-dark;
|
|
border: none;
|
|
border-radius: 0.06rem;
|
|
padding: 0.08rem 0;
|
|
font-size: 0.13rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-align: center;
|
|
|
|
&:hover {
|
|
background: $theme-color;
|
|
color: $accent-hover;
|
|
}
|
|
}
|
|
|
|
// 导航入口
|
|
&__nav-entry {
|
|
background: $bg-white;
|
|
border-radius: 0.12rem;
|
|
padding: 0.14rem 0.16rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.08rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.06);
|
|
background: $theme-color;
|
|
}
|
|
}
|
|
|
|
&__nav-entry-icon {
|
|
font-size: 0.16rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&__nav-entry-text {
|
|
flex: 1;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__nav-arrow {
|
|
width: 0.14rem;
|
|
height: 0.14rem;
|
|
color: $text-light;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|