322 lines
11 KiB
HTML
322 lines
11 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||
<title>帮助中心 - OA系统</title>
|
||
<style>
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
body {
|
||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||
background: #f5f5f5;
|
||
max-width: 414px;
|
||
margin: 0 auto;
|
||
min-height: 100vh;
|
||
padding-bottom: 60px;
|
||
}
|
||
.header {
|
||
background: #1890ff;
|
||
color: white;
|
||
padding: 12px 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 100;
|
||
}
|
||
.header-left {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
.back-btn {
|
||
background: none;
|
||
border: none;
|
||
color: white;
|
||
font-size: 18px;
|
||
cursor: pointer;
|
||
}
|
||
.header-title {
|
||
font-size: 18px;
|
||
font-weight: bold;
|
||
}
|
||
.content {
|
||
padding: 16px;
|
||
background: #ffffff;
|
||
min-height: calc(100vh - 44px - 60px);
|
||
}
|
||
.search-box {
|
||
margin-bottom: 16px;
|
||
}
|
||
.search-input {
|
||
width: 100%;
|
||
padding: 12px 16px;
|
||
border: 1px solid #e5e5e5;
|
||
border-radius: 8px;
|
||
font-size: 14px;
|
||
}
|
||
.search-input:focus {
|
||
outline: none;
|
||
border-color: #1890ff;
|
||
}
|
||
.category-section {
|
||
margin-bottom: 24px;
|
||
}
|
||
.category-title {
|
||
font-size: 16px;
|
||
font-weight: 500;
|
||
color: #333;
|
||
margin-bottom: 12px;
|
||
}
|
||
.help-item {
|
||
background: white;
|
||
border-radius: 8px;
|
||
padding: 16px;
|
||
margin-bottom: 12px;
|
||
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
||
cursor: pointer;
|
||
transition: background 0.2s;
|
||
}
|
||
.help-item:active {
|
||
background: #f5f5f5;
|
||
}
|
||
.help-question {
|
||
font-size: 15px;
|
||
color: #333;
|
||
margin-bottom: 8px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
.help-answer {
|
||
font-size: 14px;
|
||
color: #666;
|
||
line-height: 1.6;
|
||
margin-top: 8px;
|
||
padding-top: 8px;
|
||
border-top: 1px solid #f0f0f0;
|
||
display: none;
|
||
}
|
||
.help-item.expanded .help-answer {
|
||
display: block;
|
||
}
|
||
.help-arrow {
|
||
color: #999;
|
||
font-size: 12px;
|
||
transition: transform 0.3s;
|
||
}
|
||
.help-item.expanded .help-arrow {
|
||
transform: rotate(180deg);
|
||
}
|
||
.contact-section {
|
||
background: #f5f5f5;
|
||
border-radius: 8px;
|
||
padding: 16px;
|
||
text-align: center;
|
||
}
|
||
.contact-title {
|
||
font-size: 16px;
|
||
font-weight: 500;
|
||
color: #333;
|
||
margin-bottom: 12px;
|
||
}
|
||
.contact-info {
|
||
font-size: 14px;
|
||
color: #666;
|
||
line-height: 1.8;
|
||
}
|
||
.bottom-nav {
|
||
position: fixed;
|
||
bottom: 0;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
width: 100%;
|
||
max-width: 414px;
|
||
background: white;
|
||
border-top: 1px solid #e5e5e5;
|
||
display: flex;
|
||
padding: 8px 0;
|
||
z-index: 100;
|
||
}
|
||
.nav-item {
|
||
flex: 1;
|
||
text-align: center;
|
||
padding: 8px;
|
||
color: #666;
|
||
font-size: 12px;
|
||
text-decoration: none;
|
||
}
|
||
.nav-item.active {
|
||
color: #1890ff;
|
||
}
|
||
.nav-icon {
|
||
font-size: 20px;
|
||
margin-bottom: 4px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="header">
|
||
<div class="header-left">
|
||
<button class="back-btn" onclick="history.back()">←</button>
|
||
<div class="header-title">帮助中心</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="content">
|
||
<div class="search-box">
|
||
<input type="text" class="search-input" placeholder="搜索问题..." id="searchInput">
|
||
</div>
|
||
|
||
<div class="category-section">
|
||
<div class="category-title">常见问题</div>
|
||
<div class="help-item" onclick="toggleHelp(this)">
|
||
<div class="help-question">
|
||
<span>如何提交项目立项申请?</span>
|
||
<span class="help-arrow">▼</span>
|
||
</div>
|
||
<div class="help-answer">
|
||
1. 登录系统后,进入"商机管理"模块<br>
|
||
2. 点击"立项申请"按钮<br>
|
||
3. 填写项目基本信息(项目名称、客户名称、服务内容、预计金额等)<br>
|
||
4. 上传相关附件(可选)<br>
|
||
5. 提交申请,等待审核
|
||
</div>
|
||
</div>
|
||
<div class="help-item" onclick="toggleHelp(this)">
|
||
<div class="help-question">
|
||
<span>如何提交项目成果?</span>
|
||
<span class="help-arrow">▼</span>
|
||
</div>
|
||
<div class="help-answer">
|
||
1. 进入"项目过程管理"模块<br>
|
||
2. 选择需要提交成果的项目<br>
|
||
3. 点击"成果提交"<br>
|
||
4. 选择成果类型(初稿/对账/最终成果)<br>
|
||
5. 填写成果金额和完成情况说明<br>
|
||
6. 上传成果附件<br>
|
||
7. 提交审核
|
||
</div>
|
||
</div>
|
||
<div class="help-item" onclick="toggleHelp(this)">
|
||
<div class="help-question">
|
||
<span>移动端可以做什么?</span>
|
||
<span class="help-arrow">▼</span>
|
||
</div>
|
||
<div class="help-answer">
|
||
移动端主要支持以下功能:<br>
|
||
• 待办事项审核(快速通过/驳回)<br>
|
||
• 消息通知查看<br>
|
||
• 项目查询(简化版)<br>
|
||
• 成果提交(小文件)<br>
|
||
• 简单报表查询<br>
|
||
• 个人信息管理
|
||
</div>
|
||
</div>
|
||
<div class="help-item" onclick="toggleHelp(this)">
|
||
<div class="help-question">
|
||
<span>忘记密码怎么办?</span>
|
||
<span class="help-arrow">▼</span>
|
||
</div>
|
||
<div class="help-answer">
|
||
1. 在登录页面点击"忘记密码"<br>
|
||
2. 输入用户名和注册手机号<br>
|
||
3. 接收验证码并输入<br>
|
||
4. 设置新密码<br>
|
||
如果无法找回,请联系系统管理员重置密码。
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="category-section">
|
||
<div class="category-title">操作指南</div>
|
||
<div class="help-item" onclick="toggleHelp(this)">
|
||
<div class="help-question">
|
||
<span>如何审核待办事项?</span>
|
||
<span class="help-arrow">▼</span>
|
||
</div>
|
||
<div class="help-answer">
|
||
1. 进入"待办事项"页面<br>
|
||
2. 查看待审核事项列表<br>
|
||
3. 点击事项查看详情<br>
|
||
4. 填写审核意见(可选)<br>
|
||
5. 选择"通过"或"驳回"<br>
|
||
也可以直接在列表页快速操作
|
||
</div>
|
||
</div>
|
||
<div class="help-item" onclick="toggleHelp(this)">
|
||
<div class="help-question">
|
||
<span>如何查询项目报表?</span>
|
||
<span class="help-arrow">▼</span>
|
||
</div>
|
||
<div class="help-answer">
|
||
1. 进入"报表管理"模块<br>
|
||
2. 选择报表类型(产值报表、回款报表等)<br>
|
||
3. 设置查询条件(时间范围、项目等)<br>
|
||
4. 点击查询查看结果<br>
|
||
5. 可以导出Excel报表(PC端)
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="contact-section">
|
||
<div class="contact-title">需要更多帮助?</div>
|
||
<div class="contact-info">
|
||
技术支持:support@example.com<br>
|
||
联系电话:400-123-4567<br>
|
||
工作时间:周一至周五 9:00-18:00
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="bottom-nav">
|
||
<a href="todo.html" class="nav-item">
|
||
<div class="nav-icon">📋</div>
|
||
<div>待办</div>
|
||
</a>
|
||
<a href="message.html" class="nav-item">
|
||
<div class="nav-icon">🔔</div>
|
||
<div>消息</div>
|
||
</a>
|
||
<a href="project.html" class="nav-item">
|
||
<div class="nav-icon">📁</div>
|
||
<div>项目</div>
|
||
</a>
|
||
<a href="output.html" class="nav-item">
|
||
<div class="nav-icon">📝</div>
|
||
<div>成果</div>
|
||
</a>
|
||
<a href="profile.html" class="nav-item">
|
||
<div class="nav-icon">👤</div>
|
||
<div>我的</div>
|
||
</a>
|
||
</div>
|
||
|
||
<script>
|
||
function toggleHelp(item) {
|
||
item.classList.toggle('expanded');
|
||
}
|
||
|
||
document.getElementById('searchInput').addEventListener('input', function(e) {
|
||
const keyword = e.target.value.toLowerCase();
|
||
const items = document.querySelectorAll('.help-item');
|
||
items.forEach(item => {
|
||
const question = item.querySelector('.help-question span').textContent.toLowerCase();
|
||
const answer = item.querySelector('.help-answer').textContent.toLowerCase();
|
||
if (question.includes(keyword) || answer.includes(keyword)) {
|
||
item.style.display = 'block';
|
||
} else {
|
||
item.style.display = keyword ? 'none' : 'block';
|
||
}
|
||
});
|
||
});
|
||
</script>
|
||
</body>
|
||
</html>
|
||
|