553 lines
9.4 KiB
SCSS
553 lines
9.4 KiB
SCSS
@use '../variables' as *;
|
|
|
|
// ==================== 设置弹窗 ====================
|
|
.settings-dialog-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: $overlay-bg;
|
|
z-index: 2000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.settings-dialog {
|
|
position: relative;
|
|
width: 8.6rem;
|
|
height: 6.2rem;
|
|
background: $bg-white;
|
|
border-radius: 0.12rem;
|
|
display: flex;
|
|
overflow: hidden;
|
|
box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.15);
|
|
|
|
&__close {
|
|
position: absolute;
|
|
top: 0.12rem;
|
|
right: 0.16rem;
|
|
font-size: 0.16rem;
|
|
color: $text-light;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
transition: color 0.2s;
|
|
|
|
&:hover {
|
|
color: $text-dark;
|
|
}
|
|
}
|
|
|
|
// 左侧导航
|
|
&__sidebar {
|
|
width: 2.0rem;
|
|
background: $bg-main;
|
|
padding: 0.2rem 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
&__nav {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.08rem;
|
|
padding: 0.12rem 0.2rem;
|
|
font-size: 0.14rem;
|
|
color: $text-dark;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
border-left: 0.03rem solid transparent;
|
|
font-weight: 500;
|
|
|
|
&:hover {
|
|
background: $bg-white;
|
|
color: $accent;
|
|
}
|
|
|
|
&--active {
|
|
background: $bg-white;
|
|
color: $accent;
|
|
border-left-color: $accent;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
&__nav-icon {
|
|
font-size: 0.16rem;
|
|
flex-shrink: 0;
|
|
width: 0.18rem;
|
|
text-align: center;
|
|
}
|
|
|
|
// 底部操作
|
|
&__bottom-actions {
|
|
margin-top: auto;
|
|
padding: 0.16rem 0.2rem 0.08rem;
|
|
border-top: 1px solid $border-color;
|
|
}
|
|
|
|
&__bottom-btn {
|
|
display: block;
|
|
width: 100%;
|
|
background: none;
|
|
border: none;
|
|
text-align: left;
|
|
padding: 0.1rem 0;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
|
|
&:hover {
|
|
color: $accent;
|
|
}
|
|
|
|
&--active {
|
|
color: $accent;
|
|
}
|
|
|
|
&--danger:hover {
|
|
color: $danger;
|
|
}
|
|
}
|
|
|
|
// 右侧内容区
|
|
&__content {
|
|
flex: 1;
|
|
padding: 0.24rem 0.32rem;
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
&__content-title {
|
|
font-size: 0.22rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
margin: 0 0 0.24rem 0;
|
|
}
|
|
|
|
// ===== 账号与安全 =====
|
|
&__section {
|
|
margin-bottom: 0.28rem;
|
|
}
|
|
|
|
&__section-label {
|
|
font-size: 0.14rem;
|
|
font-weight: 600;
|
|
color: $text-dark;
|
|
margin-bottom: 0.06rem;
|
|
}
|
|
|
|
&__section-value {
|
|
font-size: 0.16rem;
|
|
color: #555;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&__danger-section {
|
|
margin-top: 0.32rem;
|
|
}
|
|
|
|
&__danger-title {
|
|
font-size: 0.15rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
margin-bottom: 0.06rem;
|
|
}
|
|
|
|
&__danger-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__danger-desc {
|
|
font-size: 0.13rem;
|
|
color: #666;
|
|
margin: 0;
|
|
}
|
|
|
|
&__danger-btn {
|
|
background: $bg-main;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.06rem;
|
|
padding: 0.07rem 0.16rem;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
border-color: $danger;
|
|
color: $danger;
|
|
}
|
|
}
|
|
|
|
// ===== 会员 =====
|
|
&__member-card {
|
|
background: $bg-white;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.1rem;
|
|
padding: 0.2rem 0.24rem;
|
|
margin-bottom: 0.24rem;
|
|
}
|
|
|
|
&__member-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
&__member-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
&__member-name {
|
|
font-size: 0.16rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
}
|
|
|
|
&__member-badge {
|
|
background: $accent;
|
|
color: $bg-white;
|
|
font-size: 0.11rem;
|
|
padding: 0.02rem 0.08rem;
|
|
border-radius: 0.1rem;
|
|
|
|
&--inactive {
|
|
background: #ccc;
|
|
color: $bg-white;
|
|
}
|
|
}
|
|
|
|
&__member-terms {
|
|
font-size: 0.12rem;
|
|
color: $accent;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
color: $accent-hover;
|
|
}
|
|
}
|
|
|
|
&__member-info-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__member-price {
|
|
font-size: 0.13rem;
|
|
color: #555;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.06rem;
|
|
|
|
span {
|
|
margin-left: 0;
|
|
color: $text-light;
|
|
}
|
|
}
|
|
|
|
&__member-expire-line {
|
|
font-size: 0.13rem;
|
|
color: #555;
|
|
}
|
|
|
|
&__member-remain-line {
|
|
font-size: 0.13rem;
|
|
color: $accent;
|
|
font-weight: 600;
|
|
}
|
|
|
|
&__member-manage-btn {
|
|
background: $bg-main;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.06rem;
|
|
padding: 0.07rem 0.16rem;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
border-color: $accent;
|
|
color: $accent;
|
|
}
|
|
}
|
|
|
|
&__member-issue {
|
|
text-align: center;
|
|
padding: 0.2rem 0;
|
|
}
|
|
|
|
&__member-issue-title {
|
|
font-size: 0.15rem;
|
|
font-weight: 600;
|
|
color: $text-dark;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
&__member-issue-desc {
|
|
font-size: 0.12rem;
|
|
color: #666;
|
|
line-height: 1.8;
|
|
margin-bottom: 0.16rem;
|
|
max-width: 5.0rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
&__member-issue-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.16rem;
|
|
}
|
|
|
|
&__member-issue-btn {
|
|
background: $bg-white;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.06rem;
|
|
padding: 0.08rem 0.24rem;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
border-color: $accent;
|
|
color: $accent;
|
|
}
|
|
}
|
|
|
|
// ===== 岗位更新提醒 =====
|
|
&__reminder-block {
|
|
margin-bottom: 0.28rem;
|
|
}
|
|
|
|
&__reminder-block-title {
|
|
font-size: 0.16rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
margin-bottom: 0.14rem;
|
|
}
|
|
|
|
&__reminder-target {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.12rem;
|
|
}
|
|
|
|
&__reminder-group {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
&__reminder-group-label {
|
|
flex-shrink: 0;
|
|
font-size: 0.12rem;
|
|
color: $text-light;
|
|
line-height: 0.28rem;
|
|
min-width: 0.32rem;
|
|
}
|
|
|
|
&__reminder-block-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.14rem;
|
|
}
|
|
|
|
&__reminder-tags {
|
|
display: flex;
|
|
gap: 0.1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
&__reminder-tag {
|
|
display: inline-block;
|
|
padding: 0.06rem 0.16rem;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
background: $bg-main;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.04rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__reminder-edit-btn {
|
|
background: $bg-white;
|
|
border: 1px solid $border-color;
|
|
border-radius: 0.06rem;
|
|
padding: 0.07rem 0.2rem;
|
|
font-size: 0.13rem;
|
|
color: $text-dark;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
white-space: nowrap;
|
|
|
|
&:hover {
|
|
border-color: $accent;
|
|
color: $accent;
|
|
}
|
|
}
|
|
|
|
&__reminder-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
&__reminder-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
&__reminder-label {
|
|
font-size: 0.14rem;
|
|
color: $text-dark;
|
|
font-weight: 600;
|
|
margin-bottom: 0.06rem;
|
|
}
|
|
|
|
&__reminder-desc {
|
|
font-size: 0.13rem;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
// ===== 弹窗 =====
|
|
&__dialog-content {
|
|
font-size: 0.13rem;
|
|
color: #555;
|
|
line-height: 1.8;
|
|
max-height: 4.0rem;
|
|
overflow-y: auto;
|
|
padding: 0.1rem 0;
|
|
}
|
|
|
|
&__dialog-section {
|
|
margin-bottom: 0.16rem;
|
|
|
|
h4 {
|
|
font-size: 0.14rem;
|
|
color: $text-dark;
|
|
margin: 0 0 0.06rem 0;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 0.12rem;
|
|
color: #666;
|
|
line-height: 1.8;
|
|
}
|
|
}
|
|
|
|
// ===== 隐私协议 =====
|
|
&__privacy-content {
|
|
font-size: 0.13rem;
|
|
color: #555;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
&__privacy-section {
|
|
margin-bottom: 0.2rem;
|
|
|
|
h4 {
|
|
font-size: 0.15rem;
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
margin: 0 0 0.1rem 0;
|
|
}
|
|
|
|
p {
|
|
margin: 0 0 0.08rem 0;
|
|
font-size: 0.13rem;
|
|
color: #555;
|
|
line-height: 1.8;
|
|
text-align: justify;
|
|
}
|
|
|
|
// Markdown 渲染额外样式
|
|
h1, h2, h3, h5, h6 {
|
|
color: $text-dark;
|
|
margin: 0.14rem 0 0.08rem;
|
|
font-weight: 600;
|
|
}
|
|
h1 { font-size: 0.2rem; }
|
|
h2 { font-size: 0.17rem; }
|
|
h3 { font-size: 0.15rem; }
|
|
|
|
ul, ol {
|
|
padding-left: 0.2rem;
|
|
margin: 0.06rem 0;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: 0.04rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 700;
|
|
color: $text-dark;
|
|
}
|
|
|
|
a {
|
|
color: #2563eb;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 3px solid #cbd5e1;
|
|
padding-left: 0.1rem;
|
|
margin: 0.08rem 0;
|
|
color: #64748b;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
margin: 0.1rem 0;
|
|
font-size: 0.12rem;
|
|
|
|
th, td {
|
|
border: 1px solid #e5e7eb;
|
|
padding: 0.06rem 0.1rem;
|
|
text-align: left;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
th {
|
|
background: #f8fafc;
|
|
font-weight: 600;
|
|
color: $text-dark;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background: #fafbfc;
|
|
}
|
|
}
|
|
}
|
|
}
|