289 lines
12 KiB
HTML
289 lines
12 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: 20px;
|
|
font-weight: 500;
|
|
color: #303133;
|
|
}
|
|
.page-desc {
|
|
font-size: 14px;
|
|
color: #909399;
|
|
margin-top: 8px;
|
|
}
|
|
.tool-category {
|
|
margin-bottom: 32px;
|
|
}
|
|
.category-title {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
color: #303133;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 2px solid #409EFF;
|
|
}
|
|
.tool-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
.tool-card {
|
|
background: white;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
.tool-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
transform: translateY(-2px);
|
|
border-color: #409EFF;
|
|
}
|
|
.tool-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 16px;
|
|
text-align: center;
|
|
}
|
|
.tool-name {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
color: #303133;
|
|
margin-bottom: 8px;
|
|
text-align: center;
|
|
}
|
|
.tool-desc {
|
|
font-size: 14px;
|
|
color: #909399;
|
|
line-height: 1.6;
|
|
margin-bottom: 16px;
|
|
text-align: center;
|
|
}
|
|
.tool-features {
|
|
list-style: none;
|
|
margin-bottom: 16px;
|
|
}
|
|
.tool-features li {
|
|
font-size: 13px;
|
|
color: #606266;
|
|
padding: 4px 0;
|
|
padding-left: 20px;
|
|
position: relative;
|
|
}
|
|
.tool-features li::before {
|
|
content: '✓';
|
|
position: absolute;
|
|
left: 0;
|
|
color: #52c41a;
|
|
}
|
|
.tool-action {
|
|
text-align: center;
|
|
}
|
|
.btn-tool {
|
|
padding: 10px 24px;
|
|
background: #409EFF;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: background 0.3s;
|
|
}
|
|
.btn-tool:hover {
|
|
background: #66b1ff;
|
|
}
|
|
</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="tool-category">
|
|
<div class="category-title">💰 计算工具</div>
|
|
<div class="tool-grid">
|
|
<div class="tool-card" onclick="window.location.href='tool-fee-calculator.html'">
|
|
<div class="tool-icon">💰</div>
|
|
<div class="tool-name">费用计算器</div>
|
|
<div class="tool-desc">根据服务类型和计算公式,快速计算项目费用</div>
|
|
<ul class="tool-features">
|
|
<li>支持6种服务类型</li>
|
|
<li>自动显示计算公式</li>
|
|
<li>支持多系数调整</li>
|
|
<li>结果可导出</li>
|
|
</ul>
|
|
<div class="tool-action">
|
|
<button class="btn-tool">立即使用</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tool-card" onclick="window.location.href='tool-output-calculator.html'">
|
|
<div class="tool-icon">📊</div>
|
|
<div class="tool-name">产值计算器</div>
|
|
<div class="tool-desc">根据服务类型和工作内容,快速计算项目产值</div>
|
|
<ul class="tool-features">
|
|
<li>支持5种服务类型</li>
|
|
<li>动态工作内容分配</li>
|
|
<li>自动计算产值明细</li>
|
|
<li>结果可导出</li>
|
|
</ul>
|
|
<div class="tool-action">
|
|
<button class="btn-tool">立即使用</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tool-category">
|
|
<div class="category-title">📋 项目管理工具</div>
|
|
<div class="tool-grid">
|
|
<div class="tool-card" onclick="window.location.href='project-board.html'">
|
|
<div class="tool-icon">📊</div>
|
|
<div class="tool-name">项目看板</div>
|
|
<div class="tool-desc">看板式项目管理,直观展示项目状态</div>
|
|
<ul class="tool-features">
|
|
<li>看板式布局</li>
|
|
<li>拖拽改变状态</li>
|
|
<li>项目卡片详情</li>
|
|
<li>快速筛选查询</li>
|
|
</ul>
|
|
<div class="tool-action">
|
|
<button class="btn-tool">立即使用</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tool-category">
|
|
<div class="category-title">🔍 查询工具</div>
|
|
<div class="tool-grid">
|
|
<div class="tool-card" onclick="window.location.href='global-search.html'">
|
|
<div class="tool-icon">🔍</div>
|
|
<div class="tool-name">全局搜索</div>
|
|
<div class="tool-desc">快速搜索项目、合同、发票等信息</div>
|
|
<ul class="tool-features">
|
|
<li>多类型搜索</li>
|
|
<li>多条件筛选</li>
|
|
<li>快速定位</li>
|
|
</ul>
|
|
<div class="tool-action">
|
|
<button class="btn-tool">立即使用</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="common.js"></script>
|
|
<script src="unified-layout.js"></script>
|
|
<script>
|
|
initUnifiedLayout('tool');
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|