339 lines
14 KiB
HTML
339 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>帮助中心 - OA系统</title>
|
|
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
|
<!-- 统一布局样式 -->
|
|
<link rel="stylesheet" href="unified-layout.css">
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
|
|
background: #f0f2f5;
|
|
overflow: hidden;
|
|
}
|
|
.layout-container {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.navbar {
|
|
height: 50px;
|
|
background: #fff;
|
|
border-bottom: 1px solid #e6e6e6;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
box-shadow: 0 1px 4px rgba(0,21,41,.08);
|
|
}
|
|
.navbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.logo {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
color: #409EFF;
|
|
cursor: pointer;
|
|
}
|
|
.nav-menu { display: flex; gap: 8px; margin-left: 16px; }
|
|
.nav-item { padding: 8px 16px; cursor: pointer; border-radius: 4px; color: #303133; }
|
|
.nav-item:hover { background: #ecf5ff; color: #409EFF; }
|
|
.nav-item.active { background: #409EFF; color: #fff; }
|
|
.navbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
.main-container {
|
|
flex: 1;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
.app-main {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #f0f2f5;
|
|
}
|
|
.content {
|
|
flex: 1;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
background: #fff;
|
|
margin: 10px;
|
|
border-radius: 4px;
|
|
}
|
|
.page-header {
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
.page-title {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
color: #303133;
|
|
margin-bottom: 8px;
|
|
}
|
|
.page-desc {
|
|
font-size: 14px;
|
|
color: #909399;
|
|
}
|
|
.search-box {
|
|
background: #f5f7fa;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.search-input-wrapper {
|
|
position: relative;
|
|
max-width: 600px;
|
|
}
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 12px 40px 12px 16px;
|
|
border: 1px solid #dcdfe6;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
.search-icon {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #909399;
|
|
cursor: pointer;
|
|
}
|
|
.category-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.category-card {
|
|
background: white;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
.category-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
.category-icon {
|
|
font-size: 32px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.category-title {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #303133;
|
|
margin-bottom: 8px;
|
|
}
|
|
.category-desc {
|
|
font-size: 13px;
|
|
color: #909399;
|
|
line-height: 1.6;
|
|
}
|
|
.hot-questions {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.section-title {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
color: #303133;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
.question-list {
|
|
list-style: none;
|
|
}
|
|
.question-item {
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #f5f5f5;
|
|
cursor: pointer;
|
|
transition: color 0.3s;
|
|
}
|
|
.question-item:hover {
|
|
color: #409EFF;
|
|
}
|
|
.question-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.question-text {
|
|
font-size: 14px;
|
|
color: #606266;
|
|
}
|
|
.recent-updates {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
.update-item {
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #f5f5f5;
|
|
}
|
|
.update-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.update-title {
|
|
font-size: 14px;
|
|
color: #303133;
|
|
margin-bottom: 4px;
|
|
}
|
|
.update-time {
|
|
font-size: 12px;
|
|
color: #909399;
|
|
}
|
|
</style>
|
|
<!-- Vue.js -->
|
|
<script src="https://unpkg.com/vue@2/dist/vue.js"></script>
|
|
<!-- Element UI JS -->
|
|
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<div class="layout-container">
|
|
<div class="navbar">
|
|
<div class="navbar-left">
|
|
<div class="logo" onclick="window.location.href='dashboard.html'">OA系统</div>
|
|
<div class="nav-menu">
|
|
<div class="nav-item" onclick="window.location.href='dashboard.html'">首页</div>
|
|
<div class="nav-item" onclick="window.location.href='project-initiation.html'">商机管理</div>
|
|
<div class="nav-item" onclick="window.location.href='project-start.html'">过程管理</div>
|
|
<div class="nav-item" onclick="window.location.href='finance-invoice.html'">财务管理</div>
|
|
<div class="nav-item" onclick="window.location.href='report-project-detail.html'">报表管理</div>
|
|
<div class="nav-item active">帮助中心</div>
|
|
</div>
|
|
</div>
|
|
<div class="navbar-right">
|
|
<span style="color: #303133;">张三</span><span style="color: #909399; margin: 0 8px;">|</span>
|
|
<a href="profile.html" style="color: #409EFF; text-decoration: none;">个人中心</a>
|
|
<span>|</span>
|
|
<a href="login.html" style="color: #409EFF; text-decoration: none;">退出</a>
|
|
</div>
|
|
</div>
|
|
<div class="main-container">
|
|
<div class="app-main">
|
|
<div class="content">
|
|
<div class="page-header">
|
|
<div class="page-title">帮助中心</div>
|
|
<div class="page-desc">在这里您可以找到系统使用指南、常见问题解答和计算公式说明</div>
|
|
</div>
|
|
|
|
<div class="search-box">
|
|
<div class="search-input-wrapper">
|
|
<input type="text" class="search-input" placeholder="搜索帮助内容..." id="helpSearch">
|
|
<span class="search-icon" onclick="searchHelp()">🔍</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="category-grid">
|
|
<div class="category-card" onclick="window.location.href='help-guide.html'">
|
|
<div class="category-icon">📖</div>
|
|
<div class="category-title">操作指南</div>
|
|
<div class="category-desc">详细的系统操作步骤和功能说明,帮助您快速上手</div>
|
|
</div>
|
|
<div class="category-card" onclick="window.location.href='help-faq.html'">
|
|
<div class="category-icon">❓</div>
|
|
<div class="category-title">常见问题</div>
|
|
<div class="category-desc">解答您在使用过程中遇到的常见问题</div>
|
|
</div>
|
|
<div class="category-card" onclick="window.location.href='help-formula.html'">
|
|
<div class="category-icon">🔢</div>
|
|
<div class="category-title">计算公式</div>
|
|
<div class="category-desc">费用计算和产值计算的公式说明及依据文件</div>
|
|
</div>
|
|
<div class="category-card" onclick="window.location.href='help-video.html'">
|
|
<div class="category-icon">🎥</div>
|
|
<div class="category-title">视频教程</div>
|
|
<div class="category-desc">视频演示系统主要功能的使用方法</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px;">
|
|
<div class="hot-questions">
|
|
<div class="section-title">🔥 热门问题</div>
|
|
<ul class="question-list">
|
|
<li class="question-item" onclick="window.location.href='help-faq.html#q1'">
|
|
<div class="question-text">如何创建新项目?</div>
|
|
</li>
|
|
<li class="question-item" onclick="window.location.href='help-faq.html#q2'">
|
|
<div class="question-text">项目启动编号是如何生成的?</div>
|
|
</li>
|
|
<li class="question-item" onclick="window.location.href='help-faq.html#q3'">
|
|
<div class="question-text">如何提交成果?</div>
|
|
</li>
|
|
<li class="question-item" onclick="window.location.href='help-faq.html#q4'">
|
|
<div class="question-text">产值是如何计算的?</div>
|
|
</li>
|
|
<li class="question-item" onclick="window.location.href='help-faq.html#q5'">
|
|
<div class="question-text">如何申请开票?</div>
|
|
</li>
|
|
<li class="question-item" onclick="window.location.href='help-faq.html#q6'">
|
|
<div class="question-text">如何查看报表?</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="recent-updates">
|
|
<div class="section-title">📢 最近更新</div>
|
|
<div class="update-item">
|
|
<div class="update-title">新增项目看板视图功能</div>
|
|
<div class="update-time">2025-01-20</div>
|
|
</div>
|
|
<div class="update-item">
|
|
<div class="update-title">新增费用计算器和产值计算器工具</div>
|
|
<div class="update-time">2025-01-19</div>
|
|
</div>
|
|
<div class="update-item">
|
|
<div class="update-title">优化报表图表展示功能</div>
|
|
<div class="update-time">2025-01-18</div>
|
|
</div>
|
|
<div class="update-item">
|
|
<div class="update-title">完善多人提交成果流程</div>
|
|
<div class="update-time">2025-01-17</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="common.js"></script>
|
|
<script>
|
|
function searchHelp() {
|
|
const keyword = document.getElementById('helpSearch').value.trim();
|
|
if (!keyword) {
|
|
CommonUtils.showMessage('请输入搜索关键词', 'warning');
|
|
return;
|
|
}
|
|
CommonUtils.showMessage('搜索:' + keyword);
|
|
// 实际应用中应该跳转到搜索结果页面
|
|
}
|
|
|
|
document.getElementById('helpSearch').addEventListener('keypress', function(e) {
|
|
if (e.key === 'Enter') {
|
|
searchHelp();
|
|
}
|
|
});
|
|
</script>
|
|
<script src="unified-layout.js"></script>
|
|
<script>
|
|
initUnifiedLayout('help');
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|