docs: 创建专业的项目 README 文档
详细说明: - 添加完整的项目介绍和架构说明 - 包含 7 个 AI Agent 的详细介绍 - 添加技术栈和 Mermaid 架构图 - 完善安装和使用指南 - 添加开发指南和 Git 工作流 - 新增 Windows 快速部署文档 - 更新前端组件和启动脚本 - 添加多种环境配置文件 修改的文件: - 新增 README.md 主文档 - 新增 doc/ 目录及部署文档 - 更新前端演示系统组件 - 添加多个启动脚本变体 - 配置文件优化 影响的功能模块: - 项目文档体系 - 部署和启动流程 - 前端展示系统 - 环境配置管理
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
import React from 'react';
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
import { X, Download, Eye, CheckCircle, FileText, TrendingUp, Calendar } from 'lucide-react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { X, Eye, CheckCircle, FileText, TrendingUp, Calendar } from 'lucide-react';
|
||||
|
||||
interface ResultModalProps {
|
||||
isOpen: boolean;
|
||||
onClose: () => void;
|
||||
onViewDetails: () => void;
|
||||
}
|
||||
|
||||
const ResultModal: React.FC<ResultModalProps> = ({ isOpen, onClose, onViewDetails }) => {
|
||||
const ResultModal: React.FC<ResultModalProps> = ({ isOpen, onClose }) => {
|
||||
const stats = [
|
||||
{ label: '生成时间', value: '3分钟', icon: <Calendar className="w-5 h-5" /> },
|
||||
{ label: '文档页数', value: '68页', icon: <FileText className="w-5 h-5" /> },
|
||||
@@ -144,7 +142,7 @@ const ResultModal: React.FC<ResultModalProps> = ({ isOpen, onClose, onViewDetail
|
||||
<div className="p-6 bg-gray-50 border-t border-gray-200 flex-shrink-0">
|
||||
<div className="flex justify-center">
|
||||
<button
|
||||
onClick={() => window.open('http://localhost:4155/index.html', '_blank')}
|
||||
onClick={() => window.open('http://192.168.2.99:4155/', '_blank')}
|
||||
className="px-8 py-3 bg-gradient-to-r from-blue-600 to-purple-600 text-white rounded-xl font-medium hover:shadow-lg transform hover:scale-105 transition-all flex items-center justify-center gap-2"
|
||||
>
|
||||
<Eye className="w-5 h-5" />
|
||||
|
||||
@@ -877,7 +877,8 @@ const WorkflowPageV4 = () => {
|
||||
</div>
|
||||
<div className="flex-1">
|
||||
<iframe
|
||||
src="http://localhost:5678/workflow/XbfF8iRI4a69hmYS"
|
||||
src="http://localhost:5678/workflow/"
|
||||
// src="http://localhost:5678/workflow/XbfF8iRI4a69hmYS"
|
||||
className="w-full h-full border-0"
|
||||
title="n8n Workflow"
|
||||
/>
|
||||
@@ -906,7 +907,7 @@ const WorkflowPageV4 = () => {
|
||||
maxHeight: 'calc(100vh - 200px)'
|
||||
}}
|
||||
>
|
||||
<style jsx>{`
|
||||
<style>{`
|
||||
.custom-scrollbar::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user