主要更新: - ✅ 完成主题配色从暗色到亮蓝白配色的全面转换 - ✅ 实现高薪岗位页面及后端API集成 - ✅ 完成登录注册页面及认证系统 - ✅ 实现预招录确认功能 - ✅ 添加数据库管理和维护工具脚本 - ✅ 优化错误处理和用户体验 核心功能: 1. 首页 (index.html) - 3D地球、专业分类、过渡岗位 2. 高薪岗位页面 (high.html) - 岗位详情、预招录确认、成功案例 3. 登录注册 (auth.html) - 用户认证、专业分类选择 4. 后端API - RESTful接口,JWT认证,MySQL数据库 技术栈: - 前端:Three.js, GSAP, 原生JavaScript - 后端:Node.js, Express, MySQL - 认证:JWT, bcrypt - 样式:自定义CSS,响应式设计 数据库工具: - kill-by-ids.js - 批量终止MySQL进程 - unlock-all-tables.js - 解锁数据库表 - init-db.js - 初始化数据库 - 其他管理脚本 🤖 Generated with Claude Code Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
119 lines
2.3 KiB
CSS
119 lines
2.3 KiB
CSS
/* ===================================
|
|
布局 & 层级管理
|
|
=================================== */
|
|
|
|
/* 3D 容器 */
|
|
#canvas-container {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
}
|
|
|
|
#canvas-container.interactive {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* UI 层级 - 标题和提示 */
|
|
#ui-layer {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
color: white;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
/* 高级转场特效层 */
|
|
#speed-lines {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 15;
|
|
background: radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.1) 45%, transparent 50%);
|
|
background-size: 200% 200%;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: scale(1);
|
|
}
|
|
|
|
#cloud-fog {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 20;
|
|
backdrop-filter: blur(0px);
|
|
background: radial-gradient(circle, rgba(220, 240, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: scale(0.8);
|
|
}
|
|
|
|
/* 2D 界面容器 */
|
|
#map-interface,
|
|
#list-interface {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 5;
|
|
display: none;
|
|
background: radial-gradient(circle at 50% 30%, #e0f2fe 0%, #f8fafc 100%);
|
|
}
|
|
|
|
#list-interface {
|
|
z-index: 6;
|
|
background: #f8fafc;
|
|
background-image: linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
|
|
background-size: 40px 40px;
|
|
}
|
|
|
|
/* 企业详情页容器 */
|
|
#detail-interface {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 7;
|
|
display: none;
|
|
opacity: 0;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
/* 面包屑导航 */
|
|
#breadcrumb-container {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 8px;
|
|
text-gray-400;
|
|
font-size: 0.875rem;
|
|
z-index: 40;
|
|
}
|
|
|
|
#breadcrumb-container.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* 移动端布局优化 */
|
|
@media (max-width: 768px) {
|
|
#ui-layer {
|
|
width: 90%;
|
|
}
|
|
|
|
#breadcrumb-container {
|
|
top: 72px; /* 避免被固定头部遮挡 */
|
|
}
|
|
}
|