导师列表导师详情右侧广告,去投递弹窗等

This commit is contained in:
2026-07-08 22:48:58 +08:00
parent c94a96d14e
commit f0b29d9abb
13 changed files with 1504 additions and 209 deletions
+173 -35
View File
@@ -798,10 +798,10 @@
to { transform: rotate(360deg); }
}
// ==================== AI助手投递提醒弹窗 ====================
// ==================== 选择投递方式弹窗 ====================
// 遮罩层
&__agent-remind-overlay {
&__apply-method-overlay {
position: fixed;
top: 0;
left: 0;
@@ -815,54 +815,192 @@
}
// 弹窗主体
&__agent-remind-dialog {
&__apply-method-dialog {
position: relative;
width: 4.8rem;
background: $bg-white;
border: 1px solid #F0F0F0;
box-shadow: 0 0 0.16rem rgba(0, 0, 0, 0.05);
border-radius: 0.12rem;
padding: 0.32rem 0.36rem 0.24rem;
min-width: 3.2rem;
text-align: center;
padding: 0.28rem 0.32rem 0.32rem;
box-sizing: border-box;
overflow: hidden;
}
// 提示文字
&__agent-remind-text {
font-size: 0.15rem;
// 渐变背景层
&__apply-method-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, #EDF9FA 0%, #FFFFFF 20.63%);
border-radius: 0.12rem;
pointer-events: none;
}
// 标题
&__apply-method-title {
position: relative;
font-size: 0.18rem;
font-weight: 520;
color: $text-dark;
font-weight: 500;
margin-bottom: 0.28rem;
line-height: 1.5;
text-align: center;
margin: 0 0 0.2rem 0;
line-height: 0.24rem;
}
// 按钮区域
&__agent-remind-actions {
display: flex;
gap: 0.16rem;
}
// 按钮通用
&__agent-remind-btn {
flex: 1;
padding: 0.1rem 0;
border-radius: 0.08rem;
font-size: 0.14rem;
font-weight: 500;
// 关闭按钮
&__apply-method-close {
position: absolute;
top: 0.24rem;
right: 0.24rem;
width: 0.24rem;
height: 0.24rem;
cursor: pointer;
border: none;
transition: opacity 0.2s;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
&:hover {
opacity: 0.85;
opacity: 0.7;
}
}
// 选项卡容器
&__apply-method-options {
position: relative;
display: flex;
gap: 0.16rem;
margin-bottom: 0.24rem;
}
// 选项卡
&__apply-method-card {
position: relative;
flex: 1;
height: 1.06rem;
background: $bg-white;
border: 1px solid #F0F0F0;
border-radius: 0.08rem;
padding: 0.2rem 0;
box-sizing: border-box;
cursor: pointer;
text-align: center;
transition: border-color 0.2s, background 0.2s;
overflow: hidden;
&:hover {
border-color: #D0D0D0;
}
// 灰色按钮 — 直接投
&--secondary {
background: $bg-main;
color: $text-middle;
// 选中态
&--active {
border-color: $accent;
background: #EDF9FA;
}
}
// 选项卡标题
&__apply-method-card-title {
font-size: 0.14rem;
font-weight: 450;
color: #000;
margin: 0;
line-height: 0.19rem;
// 品牌色标题
&--accent {
color: $accent;
}
}
// 选项卡描述文字
&__apply-method-card-desc {
font-size: 0.12rem;
font-weight: 330;
color: $text-light;
line-height: 0.2rem;
margin: 0.06rem 0 0 0;
white-space: pre-line;
}
// 选项卡头部(icon + 标题)
&__apply-method-card-header {
display: flex;
align-items: center;
justify-content: center;
gap: 0.04rem;
}
// 左下角圆形装饰
&__apply-method-card-circle {
position: absolute;
width: 0.46rem;
height: 0.46rem;
left: -0.05rem;
bottom: -0.08rem;
background: #AEE6EA;
border-radius: 50%;
opacity: 1;
transition: opacity 0.2s;
.jobs-page__apply-method-card--active & {
opacity: 1;
}
// 主题色按钮 — 去AI助手
&--primary {
background: $btn-dark;
// 圆形上的两个白色小圆点(眼睛)
&::before,
&::after {
content: '';
position: absolute;
width: 0.04rem;
height: 0.09rem;
background: $bg-white;
border-radius: 0.02rem;
top: 40%;
}
&::before {
left: 42%;
}
&::after {
left: 60%;
}
}
// 底部操作按钮
&__apply-method-action {
position: relative;
width: 100%;
height: 0.35rem;
border: none;
border-radius: 0.08rem;
font-size: 0.14rem;
font-weight: 450;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, color 0.2s;
// 未选择状态 — 浅色背景
&--disabled {
background: #EDF9FA;
color: #AEE6EA;
cursor: not-allowed;
}
// 已选择状态 — 品牌色背景
&--active {
background: $accent;
color: $bg-white;
&:hover {
background: $accent-hover;
}
}
}
}