You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

264 lines
7.5 KiB

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>企业管理系统</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
header {
background: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 15px 0;
position: sticky;
top: 0;
z-index: 100;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #667eea;
}
nav ul {
display: flex;
list-style: none;
gap: 30px;
}
nav a {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s;
}
nav a:hover {
color: #667eea;
}
.main-content {
padding: 60px 0;
}
.welcome-section {
background: white;
border-radius: 20px;
padding: 60px;
text-align: center;
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
margin-bottom: 40px;
}
.welcome-section h2 {
font-size: 36px;
margin-bottom: 20px;
color: #333;
}
.welcome-section p {
font-size: 18px;
color: #666;
margin-bottom: 30px;
line-height: 1.8;
}
.btn-group {
display: flex;
gap: 20px;
justify-content: center;
}
.btn {
padding: 15px 40px;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}
.btn-secondary {
background: white;
color: #667eea;
border: 2px solid #667eea;
}
.btn-secondary:hover {
background: #667eea;
color: white;
}
.features-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 40px;
}
.feature-card {
background: white;
border-radius: 15px;
padding: 40px 30px;
text-align: center;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
transition: all 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.feature-card .icon {
font-size: 48px;
margin-bottom: 20px;
}
.feature-card h3 {
font-size: 24px;
margin-bottom: 15px;
color: #333;
}
.feature-card p {
color: #666;
line-height: 1.6;
}
footer {
background: rgba(255,255,255,0.1);
padding: 30px 0;
text-align: center;
color: white;
margin-top: 60px;
}
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 20px;
}
nav ul {
gap: 15px;
}
.welcome-section {
padding: 40px 20px;
}
.welcome-section h2 {
font-size: 28px;
}
.btn-group {
flex-direction: column;
}
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="header-content">
<div class="logo">企业管理系统</div>
<nav>
<ul>
<li><a href="#home">首页</a></li>
<li><a href="#about">关于</a></li>
<li><a href="auth/login.html" id="login-link">登录</a></li>
<li><a href="#" id="logout-link" style="display: none;">登出</a></li>
</ul>
</nav>
</div>
</div>
</header>
<main class="main-content">
<div class="container">
<section class="welcome-section" id="home">
<h2>欢迎使用企业管理系统</h2>
<p>一个现代化的企业级管理平台,提供员工管理、部门管理、权限控制等功能,助力企业数字化转型。</p>
<div class="btn-group">
<a href="auth/login.html" class="btn btn-primary">立即登录</a>
<a href="auth/register.html" class="btn btn-secondary">注册账号</a>
</div>
</section>
<section id="about">
<div class="features-section">
<div class="feature-card">
<div class="icon">👥</div>
<h3>员工管理</h3>
<p>完善的员工信息管理,支持员工档案、入职离职、调岗调薪等全生命周期管理。</p>
</div>
<div class="feature-card">
<div class="icon">🏢</div>
<h3>组织架构</h3>
<p>灵活的组织架构管理,支持多级部门设置,清晰展示企业组织结构。</p>
</div>
<div class="feature-card">
<div class="icon">🔐</div>
<h3>权限控制</h3>
<p>细粒度的权限管理,基于角色的访问控制,确保数据安全与合规。</p>
</div>
<div class="feature-card">
<div class="icon">📊</div>
<h3>数据统计</h3>
<p>丰富的数据统计与分析功能,为管理决策提供数据支持。</p>
</div>
</div>
</section>
</div>
</main>
<footer>
<div class="container">
<p>&copy; 2026 企业管理系统 - 版权所有</p>
</div>
</footer>
<script src="framework/model/employee.js"></script>
<script src="framework/index.js"></script>
<script src="api/api.js"></script>
<script src="app.js"></script>
</body>
</html>