undefined / index.html
benzzi1111's picture
生成一个AI智能标书生成模块,能生成大纲和图文并茂的正文,整体界面用橙色,中文编写
a1b1d26 verified
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>橙智标书解析AI</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
100: '#FFEDD5',
200: '#FED7AA',
300: '#FDBA74',
400: '#FB923C',
500: '#F97316',
600: '#EA580C',
700: '#C2410C',
800: '#9A3412',
900: '#7C2D12',
}
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
body {
font-family: 'Noto Sans SC', sans-serif;
}
.vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.3;
}
.file-drop-area {
border: 2px dashed #F97316;
transition: all 0.3s;
}
.file-drop-area:hover {
background-color: #FFEDD5;
}
.analysis-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4);
}
</style>
</head>
<body class="bg-orange-50 min-h-screen">
<div class="vanta-bg" id="vanta-bg"></div>
<!-- 导航栏 -->
<nav class="bg-primary-500 shadow-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="file-text" class="text-white h-8 w-8"></i>
<span class="ml-2 text-white text-xl font-bold">橙智标书解析AI</span>
</div>
</div>
<div class="hidden md:ml-6 md:flex md:items-center space-x-4">
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-primary-600">首页</a>
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-primary-600">历史记录</a>
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-primary-600">标书生成</a>
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-primary-600">API文档</a>
<button class="bg-white text-primary-600 px-4 py-2 rounded-md text-sm font-medium hover:bg-gray-100">
登录/注册
</button>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-white hover:text-white hover:bg-primary-600 focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- 主内容区域 -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<!-- 标题和简介 -->
<div class="text-center mb-16">
<h1 class="text-4xl font-bold text-gray-900 mb-4">智能标书解析解决方案</h1>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
基于AI的智能标书解析系统,自动提取关键信息,生成分析报告,
帮助您快速理解投标要求,提高标书制作效率!
</p>
</div>
<!-- 文件上传区域 -->
<div class="bg-white rounded-xl shadow-lg p-8 mb-16">
<div class="file-drop-area rounded-lg p-12 text-center cursor-pointer">
<div class="flex flex-col items-center justify-center">
<i data-feather="upload-cloud" class="text-primary-500 h-12 w-12 mb-4"></i>
<h3 class="text-lg font-medium text-gray-900 mb-2">拖放标书文件到此处</h3>
<p class="text-gray-500 mb-4">支持PDF, Word, Excel格式</p>
<button class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-2 rounded-md font-medium">
选择文件
</button>
</div>
<input type="file" class="hidden" accept=".pdf,.doc,.docx,.xls,.xlsx">
</div>
</div>
<!-- 功能特点展示 -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
<div class="analysis-card bg-white rounded-xl shadow-md p-6 transition-all duration-300">
<div class="bg-primary-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i data-feather="search" class="text-primary-600"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">关键信息提取</h3>
<p class="text-gray-600">
自动识别并提取标书中的关键条款、技术参数、商务要求等重要信息。
</p>
</div>
<div class="analysis-card bg-white rounded-xl shadow-md p-6 transition-all duration-300">
<div class="bg-primary-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i data-feather="check-circle" class="text-primary-600"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">合规性检查</h3>
<p class="text-gray-600">
智能检查标书是否符合招标要求,识别潜在风险点并提供改进建议。
</p>
</div>
<div class="analysis-card bg-white rounded-xl shadow-md p-6 transition-all duration-300">
<div class="bg-primary-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i data-feather="bar-chart-2" class="text-primary-600"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">智能分析报告</h3>
<p class="text-gray-600">
生成详细的标书分析报告,包含评分点、竞争对手分析和投标策略建议。
</p>
</div>
</div>
<!-- 示例分析结果 -->
<div class="bg-white rounded-xl shadow-lg p-8">
<h2 class="text-2xl font-bold text-gray-900 mb-6">示例分析结果</h2>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-primary-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-600 uppercase tracking-wider">关键项</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-600 uppercase tracking-wider">提取值</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-600 uppercase tracking-wider">重要度</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-600 uppercase tracking-wider">建议</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">投标截止日期</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-12-31</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">建议提前7天完成标书制作</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">项目预算</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">¥5,000,000</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">建议报价在预算的85%-95%之间</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">技术得分占比</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">60%</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">应着重准备技术方案部分</td>
</tr>
</tbody>
</table>
</div>
</div>
</main>
<!-- 页脚 -->
<footer class="bg-primary-800 text-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-medium mb-4">橙智标书解析AI</h3>
<p class="text-primary-200">
领先的AI标书解析解决方案,助力企业高效投标。
</p>
</div>
<div>
<h3 class="text-lg font-medium mb-4">产品</h3>
<ul class="space-y-2">
<li><a href="#" class="text-primary-200 hover:text-white">功能特点</a></li>
<li><a href="#" class="text-primary-200 hover:text-white">标书生成</a></li>
<li><a href="#" class="text-primary-200 hover:text-white">定价</a></li>
<li><a href="#" class="text-primary-200 hover:text-white">API集成</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-medium mb-4">资源</h3>
<ul class="space-y-2">
<li><a href="#" class="text-primary-200 hover:text-white">文档</a></li>
<li><a href="#" class="text-primary-200 hover:text-white">博客</a></li>
<li><a href="#" class="text-primary-200 hover:text-white">帮助中心</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-medium mb-4">联系我们</h3>
<ul class="space-y-2">
<li class="flex items-center">
<i data-feather="mail" class="h-4 w-4 mr-2"></i>
<span class="text-primary-200">contact@aibid.com</span>
</li>
<li class="flex items-center">
<i data-feather="phone" class="h-4 w-4 mr-2"></i>
<span class="text-primary-200">400-888-8888</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-primary-700 mt-8 pt-8 text-center text-primary-300">
<p>© 2023 橙智标书解析AI 版权所有</p>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xF97316,
backgroundColor: 0xFFF7ED,
size: 0.8
});
feather.replace();
// 文件上传交互
const fileDropArea = document.querySelector('.file-drop-area');
const fileInput = document.querySelector('input[type="file"]');
fileDropArea.addEventListener('click', () => fileInput.click());
['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
fileDropArea.addEventListener(eventName, preventDefaults, false);
});
function preventDefaults(e) {
e.preventDefault();
e.stopPropagation();
}
['dragenter', 'dragover'].forEach(eventName => {
fileDropArea.addEventListener(eventName, highlight, false);
});
['dragleave', 'drop'].forEach(eventName => {
fileDropArea.addEventListener(eventName, unhighlight, false);
});
function highlight() {
fileDropArea.classList.add('bg-primary-100');
}
function unhighlight() {
fileDropArea.classList.remove('bg-primary-100');
}
fileDropArea.addEventListener('drop', handleDrop, false);
function handleDrop(e) {
const dt = e.dataTransfer;
const files = dt.files;
handleFiles(files);
}
fileInput.addEventListener('change', function() {
handleFiles(this.files);
});
function handleFiles(files) {
// 这里可以处理上传的文件
console.log(files);
alert(`已选择文件: ${files[0].name}`);
}
</script>
</body>
</html>