新版交互调整

This commit is contained in:
2026-06-24 19:03:41 +08:00
parent 065553f53e
commit 8143a89dab
37 changed files with 4929 additions and 4409 deletions
+310 -187
View File
@@ -97,7 +97,7 @@
// 左侧说明引导区域
&__left {
width: 4.2rem;
width: 3.0rem;
flex-shrink: 0;
}
@@ -111,7 +111,7 @@
&__intro-card {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.3rem;
padding: 0.38rem;
}
// 卡片头部:图标 + 标题
@@ -214,23 +214,15 @@
&__profile-wrapper {
background: $bg-main;
border-radius: 0.12rem;
border: 1px solid $border-color;
padding: 0.24rem;
max-height: calc(var(--app-height, 100vh) - 1.4rem);
overflow-y: auto;
display: flex;
flex-direction: column;
scrollbar-width: none; // Firefox
-ms-overflow-style: none; // IE/Edge
// 自定义滚动条
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-thumb {
background: $border-color;
border-radius: 2px;
}
&::-webkit-scrollbar-track {
background: transparent;
display: none; // Chrome/Safari
}
}
@@ -599,191 +591,309 @@
&:active { transform: scale(0.98); }
}
// ==================== 第3步:网申常见问题 ====================
// 第3步整体容器 — 左右两栏布局
&__step3 {
display: flex;
gap: 0.24rem;
align-items: flex-start;
width: 100%;
position: relative;
padding-top: 0.36rem;
// ==================== 第2步新增:求职偏好区域 ====================
&__pref-section {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.24rem;
margin-bottom: 0.2rem;
border: 1px solid $border-color;
}
// 右侧表单包裹
&__form-wrapper {
&__pref-section-title {
font-size: 0.18rem;
font-weight: 600;
color: $text-dark;
margin-bottom: 0.1rem;
}
&__pref-section-desc {
font-size: 0.13rem;
color: $text-middle;
margin-bottom: 0.16rem;
line-height: 1.5;
}
&__pref-filters {
display: flex;
flex-wrap: wrap;
gap: 0.1rem;
align-items: center;
}
&__pref-type-tag {
padding: 0.06rem 0.16rem;
background: $bg-main;
border-radius: 0.04rem;
font-size: 0.13rem;
color: $text-dark;
border: 1px solid $border-color;
cursor: default;
}
// 招聘分类下拉选择
&__pref-type-dropdown {
position: relative;
padding: 0.1rem 0.28rem;
background: #F5FAF9;
border-radius: 0.24rem;
font-size: 0.14rem;
color: $text-dark;
border: 1px solid $border-color;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.04rem;
min-width: 0.9rem;
height: 0.38rem;
box-sizing: border-box;
user-select: none;
transition: border-color 0.2s ease;
&:hover { border-color: $accent; }
}
&__pref-type-arrow {
width: 0.12rem;
height: 0.12rem;
color: $text-middle;
}
&__pref-type-menu {
position: absolute;
top: calc(100% + 0.04rem);
left: 0;
min-width: 1.2rem;
background: $bg-white;
border: 1px solid $border-color;
border-radius: 0.06rem;
box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.1);
z-index: 10;
padding: 0.04rem 0;
}
&__pref-type-menu-item {
padding: 0.08rem 0.14rem;
font-size: 0.13rem;
color: $text-dark;
cursor: pointer;
transition: background 0.15s ease;
&:hover { background: $bg-main; }
&--active {
color: $accent;
font-weight: 500;
}
}
// ==================== 第2步新增:简历设置区域 ====================
&__resume-section {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.24rem;
border: 1px solid $border-color;
}
&__resume-sub-label {
font-size: 0.13rem;
color: $text-middle;
margin-bottom: 0.12rem;
}
&__resume-select-row {
display: flex;
align-items: center;
gap: 0.1rem;
margin-bottom: 0.2rem;
padding: 0.1rem 0.14rem;
border: 1px solid $border-color;
border-radius: 0.08rem;
}
&__resume-check-icon {
flex-shrink: 0;
width: 0.16rem;
height: 0.16rem;
color: $text-middle;
svg {
width: 100%;
height: 100%;
}
}
&__resume-select {
flex: 1;
.el-input__wrapper {
box-shadow: none !important;
padding: 0;
}
}
&__resume-switch-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.1rem 0;
& + & {
border-top: none;
}
}
&__resume-switch-text {
font-size: 0.13rem;
color: $text-dark;
}
// ==================== 第3步:安装插件 ====================
// 安装教程整体容器
&__install-guide {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.28rem;
border: 1px solid $border-color;
}
// 表单标题
&__form-title {
font-size: 0.15rem;
// 安装教程标题
&__install-guide-title {
font-size: 0.18rem;
font-weight: 700;
color: $text-dark;
margin-bottom: 0.24rem;
padding-bottom: 0.12rem;
border-bottom: 1px solid $border-color;
margin-bottom: 0.28rem;
}
// 表单分组
&__form-group {
margin-bottom: 0.28rem;
// 每个安装步骤
&__install-step {
margin-bottom: 0.3rem;
&:last-child { margin-bottom: 0; }
}
// 表单标签
&__form-label {
// 步骤文字说明
&__install-step-text {
font-size: 0.14rem;
font-weight: 600;
color: $text-dark;
margin-bottom: 0.12rem;
text-align: center;
margin-bottom: 0.16rem;
line-height: 1.5;
}
// 选项按钮
&__form-options {
display: flex;
justify-content: center;
gap: 0.12rem;
}
// 单个选项按钮
&__form-option {
padding: 0.08rem 0.24rem;
border: 1px solid $border-color;
border-radius: 0.06rem;
background: $bg-white;
color: $text-dark;
font-size: 0.13rem;
cursor: pointer;
transition: all 0.2s ease;
line-height: 1.4;
&:hover {
border-color: $text-middle;
}
// 选中态
&--active {
background: $btn-dark;
color: $bg-white;
border-color: $btn-dark;
}
}
// 下拉选择器行
&__form-selects {
display: flex;
justify-content: center;
gap: 0.12rem;
}
// 统一下拉选择器样式覆盖
&__form-select {
width: 1.4rem;
// 覆盖 Element Plus 选择器样式以匹配页面风格
:deep(.el-input__wrapper) {
border-radius: 0.2rem;
box-shadow: none;
border: 1px solid $border-color;
padding: 0.02rem 0.12rem;
background: $bg-white;
transition: border-color 0.2s ease;
&:hover,
&.is-focus {
border-color: $accent;
box-shadow: none;
}
}
:deep(.el-input__inner) {
font-size: 0.13rem;
color: $text-dark;
text-align: center;
&::placeholder {
color: $text-light;
}
}
:deep(.el-input__suffix) {
color: $text-light;
}
}
// ==================== 第3步下半部分:插件安装 ====================
// 安装步骤说明文字
&__install-steps {
font-size: 0.13rem;
color: $text-middle;
line-height: 1.8;
margin-bottom: 0.28rem;
p { margin: 0; }
}
// 插件区域
&__plugin-section {
text-align: center;
padding: 0.2rem 0;
}
// 插件标题
&__plugin-title {
font-size: 0.18rem;
font-weight: 700;
color: $text-dark;
margin-bottom: 0.24rem;
}
// 浏览器按钮行
&__browser-btns {
display: flex;
justify-content: center;
gap: 0.1rem;
flex-wrap: wrap;
}
// 单个浏览器按钮
&__browser-btn {
padding: 0.08rem 0.2rem;
border: 1px solid $border-color;
border-radius: 0.06rem;
background: $bg-white;
color: $text-dark;
font-size: 0.13rem;
cursor: pointer;
transition: all 0.2s ease;
&:hover {
border-color: $accent;
color: $accent;
}
}
// 指引图片幻灯片
&__guide-slide {
display: flex;
// 下载按钮
&__install-download-btn {
display: inline-flex;
align-items: center;
justify-content: center;
height: 100%;
gap: 0.08rem;
padding: 0.08rem 0.2rem;
background: rgba($accent, 0.1);
border: none;
border-radius: 0.2rem;
color: $accent;
font-size: 0.13rem;
cursor: pointer;
transition: all 0.2s ease;
&:hover { background: rgba($accent, 0.2); }
svg { flex-shrink: 0; }
}
// 步骤2的内容区(图片+浏览器链接并排)
&__install-step-content {
display: flex;
gap: 0.24rem;
align-items: flex-start;
}
// 步骤中的图片区
&__install-step-img {
flex: 1;
min-width: 0;
background: $bg-main;
border-radius: 0.08rem;
padding: 0.12rem;
img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 0.08rem;
width: 100%;
height: auto;
border-radius: 0.06rem;
}
}
// 浏览器链接区域
&__install-browser-links {
flex-shrink: 0;
width: 2rem;
}
&__install-browser-item {
display: flex;
align-items: center;
gap: 0.08rem;
margin-bottom: 0.06rem;
}
&__install-browser-icon {
width: 0.2rem;
height: 0.2rem;
border-radius: 50%;
object-fit: contain;
}
&__install-browser-name {
font-size: 0.13rem;
font-weight: 500;
color: $text-dark;
}
&__install-browser-url {
display: inline-flex;
align-items: center;
gap: 0.04rem;
font-size: 0.13rem;
color: $accent;
text-decoration: none;
cursor: pointer;
margin-bottom: 0.16rem;
&:hover { text-decoration: underline; }
svg { flex-shrink: 0; color: $text-middle; }
}
// 步骤3/4的图片展示行
&__install-step-img-row {
display: flex;
gap: 0.16rem;
}
&__install-step-img-item {
flex: 1;
background: $bg-main;
border-radius: 0.08rem;
padding: 0.12rem;
img {
width: 100%;
height: auto;
border-radius: 0.06rem;
}
}
// 右侧卡片中的安装步骤列表
&__install-steps-list {
font-size: 0.13rem;
color: $text-middle;
line-height: 2;
margin-bottom: 0.1rem;
p { margin: 0; }
}
// ==================== 设置完成页 ====================
// 完成页容器 — 居中布局
@@ -845,28 +955,34 @@
.agent-main {
height: 100%;
display: flex;
justify-content: center;
// 有右侧面板时取消居中
&--with-panel {
//justify-content: flex-start;
}
// 左侧主区域
// 左侧主区域(60%
&__left {
flex: 1;
width: 60%;
height: calc(var(--app-height, 100vh) - 0.6rem);
display: flex;
flex-direction: column;
max-width: 8rem;
}
// 右侧匹配岗位面板
// 右侧面板40%,常驻设置面板 + 覆盖层)
&__right {
flex: 1;
width: 40%;
height: calc(var(--app-height, 100vh) - 0.6rem);
margin-left: 0.2rem;
max-width: 8rem;
position: relative;
overflow: hidden;
}
// 右侧覆盖层 — 绝对定位覆盖在设置面板之上
&__right-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: $bg-white;
border-radius: 0.12rem;
overflow-y: auto;
}
@@ -878,7 +994,6 @@
height: 100%;
overflow-y: auto;
// 自定义滚动条
&::-webkit-scrollbar {
width: 4px;
}
@@ -1142,7 +1257,7 @@
}
}
// ==================== 中间聊天记录区域 ====================
// ==================== 中间内容区域 ====================
&__chat-area {
flex: 1;
overflow-y: auto;
@@ -1164,6 +1279,14 @@
}
}
// 投递进度列表
&__progress-list {
margin-top: 0.16rem;
display: flex;
flex-direction: column;
gap: 0.12rem;
}
// ==================== 对话消息样式 ====================
// 对话行
+2 -1
View File
@@ -8,7 +8,7 @@
padding: 0.12rem 0.36rem;
height: var(--app-height, 100vh);
box-sizing: border-box;
overflow-y: auto;
overflow: hidden;
background: $bg-main;
display: flex;
flex-direction: column;
@@ -50,6 +50,7 @@
gap: 0.24rem;
flex: 1;
min-height: 0;
overflow: hidden;
}
// 右侧边栏
+296 -69
View File
@@ -5,7 +5,7 @@
&__content {
margin-left: 2rem;
flex: 1;
padding: 0.12rem 0.36rem;
padding-bottom: 0.24rem;
height: var(--app-height, 100vh);
box-sizing: border-box;
overflow-y: auto;
@@ -16,10 +16,14 @@
}
&__page-title {
font-size: 0.24rem;
font-weight: 700;
color: $text-dark;
margin: 0 0 0.16rem 0;
padding: 0 0.24rem;
>h2{
font-size: 0.24rem;
font-weight: 700;
color: $text-dark;
}
}
// ---- 顶部操作栏 ----
@@ -27,7 +31,8 @@
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.16rem;
margin-bottom: 0.15rem;
padding: 0 0.24rem;
}
&__toolbar-left {
@@ -37,22 +42,18 @@
}
&__back-btn {
width: 0.32rem;
height: 0.32rem;
border-radius: 50%;
border: 1px solid $border-color;
background: $bg-white;
background: none;
border: none;
color: $text-dark;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
font-size: 0.13rem;
&:hover {
background: $theme-color;
border-color: $accent;
color: $accent;
color: #000;
}
}
@@ -83,8 +84,8 @@
gap: 0.04rem;
background: none;
border: none;
color: $text-light;
font-size: 0.12rem;
color: $text-dark;
font-size: 0.13rem;
cursor: pointer;
padding: 0.05rem 0.1rem;
border-radius: 0.06rem;
@@ -92,8 +93,8 @@
white-space: nowrap;
&:hover {
color: $text-dark;
background: $bg-white;
//color: $text-dark;
//background: $bg-white;
}
&--danger:hover {
@@ -115,40 +116,79 @@
background: $bg-white;
border-radius: 0.12rem;
padding: 0.18rem 0.24rem;
padding-top: 0.4rem;
margin-bottom: 0.16rem;
/* B/C/D 评级渐变背景 */
&--grade-bcd {
background: linear-gradient(to bottom, #FFF5E9, #FFF);
}
/* A 评级渐变背景 */
&--grade-a {
background: linear-gradient(to bottom, #ECFDFC, #FFF);
}
}
&__score-left {
display: flex;
align-items: center;
gap: 0.12rem;
gap: 0.2rem;
}
&__score-avatar {
width: 0.4rem;
height: 0.4rem;
border-radius: 50%;
/* 星星+底座容器 */
&__star-wrapper {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 0.7rem;
flex-shrink: 0;
}
/* SVG 五角星 */
&__star-svg {
width: 0.63rem;
height: 0.63rem;
position: relative;
z-index: 1;
}
/* 底座长方形 */
&__star-base {
position: relative;
z-index: 2;
margin-top: -0.08rem;
width: 0.52rem;
height: 0.22rem;
border: 1.5px solid #858585;
border-radius: 0.03rem;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
color: $text-dark;
font-size: 0.18rem;
font-weight: 700;
flex-shrink: 0;
background: $bg-main;
> span {
font-size: 0.12rem;
font-weight: 600;
}
}
&__score-badge {
font-size: 0.11rem;
font-weight: 600;
color: $bg-white;
background: $accent;
border-radius: 0.1rem;
padding: 0.03rem 0.1rem;
/* 右侧操作按钮区 */
&__score-actions {
display: flex;
align-items: center;
gap: 0.16rem;
}
/* 暂无等级提示文字 */
&__score-hint {
font-size: 0.13rem;
color: $text-light;
}
&__score-link {
font-size: 0.12rem;
font-size: 0.13rem;
color: $text-light;
background: none;
border: none;
@@ -169,65 +209,69 @@
&__score-item {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.02rem;
gap: 0.06rem;
}
&__score-num {
font-size: 0.22rem;
font-size: 0.30rem;
font-weight: 700;
color: $text-dark;
line-height: 1.2;
}
&__score-label {
font-size: 0.1rem;
font-size: 0.13rem;
color: $text-light;
white-space: nowrap;
}
&__diagnose-btn {
background: $btn-dark;
margin-left: 0.16rem;
color: $bg-white;
border: none;
border-radius: 0.06rem;
padding: 0.08rem 0.18rem;
border-radius: 0.18rem;
width: 0.93rem;
height: 0.36rem;
line-height: 0.37rem;
font-size: 0.13rem;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
box-sizing: border-box;
//transition: background 0.2s;
white-space: nowrap;
&:hover {
background: $btn-dark-hover;
}
// 开始诊断按钮 — 稍大一些,更醒目
&--start {
padding: 0.1rem 0.28rem;
font-size: 0.14rem;
border-radius: 0.08rem;
background: $gradient-bg;
&:hover {
background: $accent-hover;
}
}
}
// ---- 简历主体 ----
&__body {
display: flex;
flex-direction: column;
gap: 0.16rem;
padding-bottom: 0.4rem;
padding-bottom: 0.3rem;
border-radius: 0.16rem;
background: #fff;
margin: 0 0.24rem;
}
&__card {
background: $bg-white;
border-radius: 0.12rem;
padding: 0.24rem;
border-radius: 0.1rem;
margin: 0.4rem 0.18rem;
}
&__card-hover {
padding: 0.1rem 0.14rem;
&:hover {
background: #F7F7F7;
}
}
// ---- 个人信息卡片 ----
@@ -316,8 +360,9 @@
&__section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.12rem;
margin-bottom: 0.16rem;
padding: 0.1rem 0 0.1rem 0.14rem;
}
&__section-title {
@@ -325,6 +370,24 @@
font-weight: 700;
color: $text-dark;
margin: 0 0 0.16rem 0;
// 底部加粗装饰线(层级低于文字,部分遮挡文字底部)
&--underline {
position: relative;
padding-bottom: 0.02rem;
background: transparent;
&::after {
content: '';
position: absolute;
left: 0;
bottom: 0.02rem;
width: 100%;
height: 0.06rem;
background: #12C7BE;
border-radius: 0.02rem;
z-index: -1;
}
}
}
&__section-header &__section-title {
@@ -343,6 +406,7 @@
align-items: center;
transition: all 0.2s;
flex-shrink: 0;
margin-left: auto;
&:hover {
color: $accent;
@@ -355,6 +419,63 @@
height: 0.15rem;
}
// ---- 内联编辑按钮(品牌色图标+文字,hover卡片时才显示) ----
&__edit-btn-inline {
background: none;
border: none;
color: $accent;
cursor: pointer;
padding: 0.04rem 0.08rem;
border-radius: 0.04rem;
display: flex;
align-items: center;
gap: 0.04rem;
transition: all 0.2s;
flex-shrink: 0;
margin-left: auto;
font-size: 0.13rem;
font-weight: 500;
// 默认隐藏,hover卡片时显示
opacity: 0;
pointer-events: none;
.el-icon {
font-size: 0.15rem;
}
&:hover {
background: $theme-color;
}
}
// 卡片hover时显示编辑按钮(个人信息、个人概述)
&__card-hover:hover &__edit-btn-inline {
opacity: 1;
pointer-events: auto;
}
// 经历模块标题栏hover时显示添加按钮
&__section-header:hover &__edit-btn-inline {
opacity: 1;
pointer-events: auto;
}
// 经历模块标题栏hover时背景色
&__section-header:hover {
background: #F7F7F7;
border-radius: 0.06rem;
}
// 经历条目内的编辑按钮(hover exp-item 时显示)
&__exp-edit-btn {
margin-left: auto;
}
&__exp-item:hover &__exp-edit-btn {
opacity: 1;
pointer-events: auto;
}
// ---- 教育背景 ----
&__edu-item {
margin-top: 0.16rem;
@@ -381,13 +502,13 @@
// ---- 工作经历 ----
&__exp-item {
margin-top: 0.16rem;
margin-left: 0.1rem;
padding-left: 0.1rem;
border-left: 2px solid $border-color;
&:not(:last-child) {
//border-bottom: 1px solid $border-color;
padding: 0.1rem 0.14rem;
border-radius: 0.09rem;
&:hover {
background: #F7F7F7;
}
}
&__exp-title {
@@ -403,6 +524,112 @@
margin-bottom: 0.06rem;
}
// ---- 经历第一行(名称 + 身份 + 时间 + 修复标记) ----
&__exp-row {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.12rem;
margin-bottom: 0.06rem;
}
&__exp-name {
font-size: 0.14rem;
font-weight: 600;
color: $text-dark;
}
&__exp-role {
font-size: 0.13rem;
font-weight: 400;
color: $text-dark;
}
&__exp-date {
font-size: 0.12rem;
font-weight: 400;
color: $text-middle;
}
// ---- 修复建议标记 ----
&__fix-tag {
position: relative;
display: inline-flex;
align-items: center;
gap: 0.05rem;
font-size: 0.12rem;
font-weight: 500;
color: #FF8D0B;
background: #FFF5E9;
border-radius: 0.04rem;
padding: 0.04rem 0.12rem;
cursor: default;
transition: all 0.2s;
white-space: nowrap;
&:hover {
background: #FFEDDA;
}
// hover 时显示气泡
&:hover .resume-detail__fix-tooltip {
opacity: 1;
visibility: visible;
}
}
&__fix-tag-icon {
width: 0.14rem;
height: 0.14rem;
flex-shrink: 0;
}
// ---- 诊断详情 hover 气泡 ----
&__fix-tooltip {
position: absolute;
top: 50%;
left: calc(100% + 0.12rem);
transform: translateY(-50%);
min-width: 2.4rem;
max-width: 3.5rem;
padding: 0.14rem 0.18rem;
background: linear-gradient(to bottom,#FFF5E9,#FFFFFF);
color: $text-dark;
font-size: 0.13rem;
font-weight: 400;
line-height: 1.7;
white-space: normal;
word-break: break-all;
border-radius: 0.1rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
border: 1px solid #FF8D0B;
opacity: 0;
visibility: hidden;
transition: all 0.2s ease;
z-index: 100;
pointer-events: none;
// 左侧尖角 — 旋转方块方案,边框粗细与气泡一致
&::before {
content: '';
position: absolute;
top: 50%;
left: -0.05rem;
margin-top: -0.05rem;
width: 0.09rem;
height: 0.09rem;
background: #FFF8F2;
border-left: 1px solid #FF8D0B;
border-bottom: 1px solid #FF8D0B;
transform: rotate(45deg);
}
// 不再需要内层伪元素
&::after {
display: none;
}
}
&__exp-desc {
font-size: 0.12rem;
color: $text-dark;
@@ -419,9 +646,9 @@
&__skill-tag {
font-size: 0.12rem;
color: $text-dark;
background: $bg-main;
border: 1px solid $border-color;
color: $accent;
background: $bg-white;
border: 1px solid $accent;
border-radius: 0.04rem;
padding: 0.05rem 0.14rem;
transition: all 0.2s;
@@ -429,7 +656,7 @@
&:hover {
border-color: $accent;
color: $accent;
background: $theme-color;
background: $bg-white;
}
}
+64 -37
View File
@@ -74,7 +74,7 @@
white-space: nowrap;
&--action {
width: 0.5rem;
width: 2rem;
}
}
@@ -107,7 +107,7 @@
&__name-cell {
display: flex;
align-items: center;
gap: 0.1rem;
gap: 0.06rem;
}
&__avatar {
@@ -128,16 +128,71 @@
}
&__default-tag {
font-size: 0.1rem;
color: $text-light;
background: $bg-main;
border: 1px solid $border-color;
border-radius: 0.04rem;
padding: 0.02rem 0.06rem;
font-size: 0.09rem;
color: $accent;
background: #D9F5F0;
border-radius: 0.14rem;
padding: 0.01rem 0.06rem;
padding-bottom: 0.02rem;
white-space: nowrap;
}
// 更多按钮
// 编辑名称岗位图标按钮
&__edit-btn {
background: none;
border: none;
color: $text-dark;
cursor: pointer;
padding: 0.02rem;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.2s;
&:hover {
opacity: 0.6;
}
}
&__edit-icon {
font-size: 0.13rem;
}
// 操作按钮容器
&__actions {
display: flex;
align-items: center;
gap: 0.16rem;
justify-content: flex-end;
}
// 行内操作按钮
&__action-btn {
background: none;
border: none;
font-size: 0.12rem;
color: $text-dark;
cursor: pointer;
padding: 0.04rem 0.08rem;
border-radius: 0.04rem;
white-space: nowrap;
transition: all 0.15s;
&:hover {
color: $accent;
}
// 删除按钮红色
&--delete {
color: #FD6464;
&:hover {
color: #e04545;
}
}
}
// 更多按钮(已移除,保留兼容)
&__more-btn {
background: none;
border: none;
@@ -168,34 +223,6 @@
color: $text-light;
font-size: 0.14rem;
}
// 弹出菜单
&__popup {
position: absolute;
right: 0.46rem;
top: 0.18rem;
background: $bg-white;
border: 1px solid $border-color;
border-radius: 0.1rem;
padding: 0.06rem 0;
box-shadow: 0 0.06rem 0.2rem rgba(0, 0, 0, 0.1);
z-index: 10;
min-width: 1.2rem;
}
&__popup-item {
padding: 0.08rem 0.2rem;
font-size: 0.12rem;
color: $text-dark;
cursor: pointer;
white-space: nowrap;
transition: all 0.15s;
&:hover {
background: $theme-color;
color: $accent-hover;
}
}
}
// ==================== 上传简历加载提示 ====================