630 lines
11 KiB
SCSS
630 lines
11 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: 6.4rem;
|
|
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;
|
|
padding: 0.1rem 0.16rem;
|
|
margin: 0.02rem 0.12rem;
|
|
font-size: 0.14rem;
|
|
color: $text-dark;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
border-radius: 0.08rem;
|
|
font-weight: 500;
|
|
|
|
&:hover {
|
|
background: #E2E4E9;
|
|
}
|
|
|
|
&--active {
|
|
background: #E2E4E9;
|
|
}
|
|
}
|
|
|
|
// 底部操作
|
|
&__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.16rem;
|
|
padding: 0.16rem 0.24rem;
|
|
background: #F9FAFB;
|
|
border-radius: 0.08rem;
|
|
}
|
|
|
|
&__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 {
|
|
padding: 0.16rem 0.24rem;
|
|
background: #F9FAFB;
|
|
border-radius: 0.08rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__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 {
|
|
border: none;
|
|
background: none;
|
|
padding: 0.07rem 0.16rem;
|
|
font-size: 0.13rem;
|
|
color: $danger;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
}
|
|
}
|
|
|
|
// ===== 会员卡片(新版) =====
|
|
&__mcard {
|
|
padding: 0.16rem 0.24rem;
|
|
border-radius: 0.12rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.32rem;
|
|
|
|
&--formal {
|
|
background: linear-gradient(90deg, #52CAD1 0%, #52D1A7 100%);
|
|
}
|
|
|
|
&--trial {
|
|
background: linear-gradient(90deg, #F59E0B 0%, #F5B70B 100%);
|
|
}
|
|
|
|
&--free {
|
|
background: #F3F4F6;
|
|
}
|
|
}
|
|
|
|
&__mcard-top {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__mcard-title {
|
|
font-size: 0.18rem;
|
|
font-weight: 620;
|
|
color: #FFFFFF;
|
|
line-height: 0.24rem;
|
|
|
|
&--free {
|
|
color: #6A7282;
|
|
}
|
|
}
|
|
|
|
&__mcard-remain {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 0.04rem;
|
|
}
|
|
|
|
&__mcard-remain-label {
|
|
font-size: 0.14rem;
|
|
font-weight: 330;
|
|
color: #FFFFFF;
|
|
line-height: 0.19rem;
|
|
}
|
|
|
|
&__mcard-remain-days {
|
|
font-size: 0.18rem;
|
|
font-weight: 620;
|
|
color: #FFFFFF;
|
|
line-height: 0.24rem;
|
|
}
|
|
|
|
&__mcard-bottom {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__mcard-expire {
|
|
font-size: 0.12rem;
|
|
font-weight: 330;
|
|
color: #FFFFFF;
|
|
line-height: 0.16rem;
|
|
|
|
&--free {
|
|
color: #6A7282;
|
|
}
|
|
}
|
|
|
|
&__mcard-actions {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.08rem;
|
|
}
|
|
|
|
&__mcard-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.04rem 0.12rem;
|
|
font-size: 0.12rem;
|
|
font-weight: 330;
|
|
line-height: 0.16rem;
|
|
border-radius: 0.12rem;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
border: none;
|
|
transition: opacity 0.2s;
|
|
|
|
&:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
&--outline {
|
|
background: transparent;
|
|
border: 1px solid #FFFFFF;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
&--solid-formal {
|
|
background: #FFFFFF;
|
|
color: #52CAD1;
|
|
}
|
|
|
|
&--solid-trial {
|
|
background: #FFFFFF;
|
|
color: #F59E0B;
|
|
}
|
|
|
|
&--solid-accent {
|
|
background: #52CAD1;
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
|
|
// ===== 问题反馈 =====
|
|
&__feedback-wrap {
|
|
background: #F9FAFB;
|
|
border-radius: 0.08rem;
|
|
padding: 0.16rem 0.24rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.24rem;
|
|
}
|
|
|
|
&__feedback-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.12rem;
|
|
}
|
|
|
|
&__feedback-label {
|
|
font-size: 0.14rem;
|
|
font-weight: 620;
|
|
color: #1A1A1A;
|
|
line-height: 0.19rem;
|
|
}
|
|
|
|
&__feedback-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.08rem;
|
|
}
|
|
|
|
&__feedback-option {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0.08rem 0.12rem;
|
|
font-size: 0.12rem;
|
|
font-weight: 330;
|
|
line-height: 0.16rem;
|
|
text-align: center;
|
|
color: $accent;
|
|
border: 1px solid $accent;
|
|
border-radius: 0.08rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
flex: 1 1 30%;
|
|
min-width: 0;
|
|
|
|
&:hover {
|
|
background: rgba(82, 202, 209, 0.08);
|
|
}
|
|
|
|
&--active {
|
|
background: $accent;
|
|
color: #FFFFFF;
|
|
border-color: $accent;
|
|
|
|
&:hover {
|
|
background: $accent;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__feedback-textarea {
|
|
width: 100%;
|
|
min-height: 0.64rem;
|
|
padding: 0.08rem 0.12rem;
|
|
font-size: 0.12rem;
|
|
font-weight: 330;
|
|
line-height: 0.16rem;
|
|
color: #1A1A1A;
|
|
background: #FFFFFF;
|
|
border: none;
|
|
border-radius: 0.08rem;
|
|
resize: vertical;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
|
|
&::placeholder {
|
|
color: #99A1AF;
|
|
}
|
|
}
|
|
|
|
&__feedback-submit {
|
|
margin-top: 0.44rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: block;
|
|
padding: 0.08rem 0.24rem;
|
|
background: $accent;
|
|
color: #FFFFFF;
|
|
font-size: 0.13rem;
|
|
font-weight: 500;
|
|
border: none;
|
|
border-radius: 0.08rem;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s;
|
|
|
|
&:hover {
|
|
opacity: 0.85;
|
|
}
|
|
}
|
|
|
|
// ===== 岗位更新提醒 =====
|
|
&__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;
|
|
padding: 0.16rem 0.24rem;
|
|
background: #F9FAFB;
|
|
border-radius: 0.08rem;
|
|
}
|
|
|
|
&__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;
|
|
}
|
|
}
|
|
}
|
|
}
|