@use '../variables' as *; // ==================== Agent推荐岗位列表组件样式 ==================== .agent-chat-job-list { background: $bg-middle; border-radius: 0.12rem; padding: 0.24rem; font-size: 0.14rem; // 标题 &__header { font-size: 0.18rem; font-weight: 700; color: $text-dark; margin-bottom: 0.06rem; } // 推荐说明文字 &__summary { font-size: 0.13rem; color: $text-middle; margin-bottom: 0.18rem; line-height: 1.5; } // 单个岗位项 &__item { display: flex; align-items: center; justify-content: space-between; background: $bg-white; border-radius: 0.1rem; padding: 0.16rem 0.2rem; margin-bottom: 0.1rem; &:last-of-type { margin-bottom: 0; } } // 左侧信息区域(可点击) &__info { display: flex; align-items: center; gap: 0.14rem; flex: 1; min-width: 0; cursor: pointer; } // 匹配度环形容器 &__score { position: relative; width: 0.48rem; height: 0.48rem; flex-shrink: 0; } // 环形 SVG &__ring { width: 100%; height: 100%; } // 匹配度数字 &__score-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 0.11rem; font-weight: 700; color: $text-dark; } // 岗位详情 &__detail { min-width: 0; flex: 1; } // 岗位标题行(岗位名 + 公司名) &__title-row { display: flex; align-items: center; gap: 0.08rem; margin-bottom: 0.04rem; } // 岗位名称 &__title { font-size: 0.15rem; font-weight: 600; color: $text-dark; line-height: 1.4; } // 公司名前的圆点 &__company-dot { font-size: 0.08rem; color: $text-light; } // 公司名称 &__company { font-size: 0.13rem; color: $text-middle; white-space: nowrap; } // 标签行 &__tags { display: flex; gap: 0.06rem; flex-wrap: wrap; } // 单个标签 &__tag { font-size: 0.11rem; color: $text-middle; background: $bg-main; padding: 0.02rem 0.08rem; border-radius: 0.03rem; } // 右侧操作按钮区域 &__actions { display: flex; align-items: center; gap: 0.14rem; flex-shrink: 0; margin-left: 0.16rem; } // 不再推荐按钮 &__dismiss-btn { font-size: 0.12rem; color: $text-light; cursor: pointer; white-space: nowrap; transition: color 0.2s ease; &:hover { color: $text-middle; } } // 加入投递按钮 &__add-btn { height: 0.32rem; padding: 0 0.16rem; background: $accent; color: $bg-white; border: none; border-radius: 0.16rem; font-size: 0.12rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: all 0.2s ease; line-height: 0.32rem; &:hover { opacity: 0.85; } &:disabled { cursor: not-allowed; opacity: 0.7; } // 已加入状态 &--added { background: $bg-main; color: $text-middle; border: 1px solid $border-color; } } // 底部按钮区域 &__footer { display: flex; justify-content: center; gap: 0.16rem; margin-top: 0.2rem; } // 换一批按钮 &__refresh-btn { height: 0.4rem; padding: 0 0.4rem; background: $bg-white; color: $text-dark; border: 1px solid $border-color; border-radius: 0.2rem; font-size: 0.14rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; line-height: 0.4rem; &:hover { border-color: $accent; color: $accent; } &:disabled { cursor: not-allowed; opacity: 0.6; } } // 全部添加按钮 &__add-all-btn { height: 0.4rem; padding: 0 0.4rem; background: $accent; color: $bg-white; border: none; border-radius: 0.2rem; font-size: 0.14rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; line-height: 0.4rem; &:hover { opacity: 0.85; } &:active { transform: scale(0.98); } } }