原生js实现本地项目目录源码读取合并为单个文本代码

代码语言:html

所属分类:其他

代码描述:原生js实现本地项目目录源码读取合并为单个文本代码,方便一次性发给ai你的项目源码结构与内容。

代码标签: 原生 js 本地 项目 目录 源码 读取 合并 单个 文本 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>项目文件导出工具</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            color: #e2e8f0;
            min-height: 100vh;
        }
        .container {
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(2, 8, 20, 0.4);
            border: 1px solid rgba(94, 234, 212, 0.1);
        }
        h1 {
            color: #5eead4;
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.5rem;
            text-shadow: 0 0 10px rgba(94, 234, 212, 0.3);
        }
        .controls {
            margin-bottom: 30px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
            background: rgba(15, 23, 42, 0.5);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid rgba(94, 234, 212, 0.1);
        }
        button {
            background: linear-gradient(45deg, #0ea5e9, #0d9488);
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
            background: linear-gradient(45deg, #38bdf8, #14b8a6);
        }
        button:disabled {
            background: #475569;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        select {
            padding: 10px;
            border: 1px solid #334155;
            border-radius: 8px;
            font-size: 14px;
            background: rgba(15, 23, 42, 0.7);
            color: #e2e8f0;
            min-width: 200px;
        }
        .info {
            margin-top: 20px;
            padding: 15px;
            background: rgba(30, 41, 59, 0.7);
            border-radius: 8px;
            font-size: 14px;
            border: 1px solid rgba(94, 234, 212, 0.1);
        }
        .info p {
            margin: 8px 0;
        }
        .info strong {
            color: #5eead4;
        }
        .progress {
            margin-top: 20px;
            padding: 15px;
            background: rgba(30, 41, 59, 0.7);
            border-radius.........完整代码请登录后点击上方下载按钮下载查看

网友评论0