前言

在软件工程的演进历程中,AI 辅助开发已从简单的代码片段补全跨越至全链路的自动化构建。Anthropic 推出的 Claude Code 代表了这一领域的最新突破,它作为一个驻留于终端的智能代理,能够理解复杂的文件系统与项目架构。结合 UiUxProMaxSkill 这一特定领域的专家级技能包,开发者能够在极短时间内构建出符合工业级设计规范的 SaaS 系统。本文将深度剖析从凭证获取、环境净化、核心引擎部署、技能注入到最终产物交付的全过程,详细阐述每一环节的技术逻辑与操作细节。

一、 鉴权凭证的获取与 API 网关配置

在使用任何基于大语言模型的开发工具之前,获取合法的访问凭证是启动服务的第一步。由于原生 API 可能存在网络访问限制或配额管理需求,通过 AICodeMirror 这样的聚合网关进行中转是一种高效且稳定的解决方案。该平台提供了标准化的 API 密钥管理服务,确保了本地客户端与云端模型之间的安全通信。

访问 AICodeMirror 的注册页面,完成账户创建流程后,进入控制台界面。在密钥管理模块中,点击新建 API 密钥按钮,系统将生成一串用于身份验证的字符序列。该密钥是后续配置环境变量的核心凭证,必须妥善保存。

https://www.aicodemirror.com/register?invitecode=CZMECI

image.png

二、 运行环境的净化与重构

为了保障 CLI(命令行接口)工具的稳定运行,避免因历史版本残留导致的依赖冲突,对开发环境进行彻底的清理是必要的预处理步骤。Node.js 的包管理器 npm 提供了全局卸载功能,能够移除系统路径中旧版的 @anthropic-ai/claude-code 二进制文件及其关联的软链接。

执行卸载命令后,终端会反馈操作结果。通过移除全局包,为后续的全新安装腾出了干净的命名空间。

image.png

环境清理完毕,随即进行 Claude Code 的全新部署。通过 npm 的全局安装指令,系统从注册表中拉取 @anthropic-ai 作用域下的最新版 claude-code 包。这一过程不仅下载了核心的可执行文件,还自动解析并安装了所有必要的依赖树,确保工具在本地运行时具备完整的库支持。

image.png

三、 系统级环境变量与网络代理配置

Claude Code 本质上是一个通过 HTTP 协议与远程 LLM 进行交互的客户端。为了使其能够正确路由请求并完成身份验证,需要在操作系统层面配置相应的环境变量。这种配置方式符合现代应用开发的最佳实践,将敏感配置与代码逻辑分离。

在操作系统的环境变量设置界面,需要新增三个关键变量。ANTHROPIC_BASE_URL 被设置为 https://api.aicodemirror.com/api/claudecode,这指示客户端将请求发送至 AICodeMirror 的代理网关,而非默认的官方端点,从而解决了网络连通性问题。ANTHROPIC_API_KEYANTHROPIC_AUTH_TOKEN 则填入第一步中获取的密钥,用于鉴权与计费统计。

image.png

配置生效后,验证安装的完整性至关重要。通过在终端执行版本查询指令 claude -v,可以触发客户端的初始化自检。该操作不仅确认了二进制文件可执行,还间接验证了 Node.js 运行时环境的健康状态。

image.png

在集成开发环境(如 VS Code)中,通过终端登录 Claude Code 是建立会话的关键。成功的登录意味着本地开发环境与云端智能服务建立了持久化的安全连接,用户的操作上下文将被云端记录并用于辅助后续的交互。

image.png

四、 领域专家技能的引入与配置

通用大模型虽然具备广博的编程知识,但在特定垂直领域(如高保真 UI/UX 设计)的表现往往需要通过 Prompt Engineering(提示词工程)进行增强。ui-ux-pro-max-skill 正是这样一个集成了现代化设计规范、组件库最佳实践与交互逻辑模板的技能包。它通过 GitHub 开源分发,旨在提升 AI 生成前端代码的审美与可用性。

https://github.com/nextlevelbuilder/ui-ux-pro-max-skill

image.png

为了将这一技能包无缝集成到 Claude Code 的工作流中,需要借助 uipro-cli 这一专用管理工具。该工具负责拉取技能配置并将其注入到项目的上下文中。通过 npm 全局安装 uipro-cli,赋予了机器管理 UI 资产的能力。

npm install -g uipro-cli

image.png

安装完成后,执行版本检查指令以确保工具链的完整性。

uipro versions

image.png

五、 项目初始化与技能注入

uipro-cli 的核心价值在于其初始化功能。通过执行 uipro init --ai claude 指令,工具会根据 Claude Code 的上下文规范,生成适配的配置文件。这一步骤至关重要,它将抽象的设计原则转化为 AI 能够理解的系统级提示词(System Prompt)。

image.png

初始化操作会在项目根目录下生成一个名为 .claude 的隐藏文件夹。这个文件夹充当了 Claude Code 的“外挂知识库”。当 Claude 在该目录下运行时,会自动读取其中的内容,从而“学会”了如何遵循 ui-ux-pro-max 的标准进行开发。

image.png

深入查看 .claude 文件夹,其中包含了一系列配置文件。这些文件定义了代码风格、视觉规范以及组件交互逻辑。它们共同构成了 AI 生成代码时的约束条件,确保产出物不再是随机的拼凑,而是符合预设标准的工程代码。

image.png

打开具体的技能描述文件,可以看到密集的文本指令。这些指令涵盖了配色方案、排版原则、响应式布局规则等细节。AI 正是通过读取这些详细的自然语言描述,将其转化为具体的 CSS 样式和 HTML 结构。

image.png

六、 智能化构建实战:SaaS 数据分析平台

一切准备就绪,进入实战开发阶段。重启 Claude Code 会话,系统会自动检测到当前目录下的配置。此时,Claude 已不再是通用的编程助手,而是加载了高级 UI/UX 技能的特定领域专家。
image.png

开发者通过自然语言下达指令:/ui-ux-pro-max 为我的SaaS产品构建一个数据分析系统(登录,首页,分析数据列表)只需要实现前端。这条指令清晰地界定了触发器(调用技能)、业务场景(SaaS 数据分析)、功能范围(登录、首页、列表)以及技术边界(仅前端)。

image.png

Claude 接收指令后,开始执行任务规划与代码生成。它会根据技能包中的规范,自动规划文件结构,引入必要的 CSS 框架和图标库,并开始编写具体的 HTML 代码。

image.png

经过数秒的处理,所有预定义的文件生成完毕。终端返回完成信号,整个过程无需人工干预文件的创建与内容的填充。

image.png

七、 产物验收与交互式迭代

生成的页面直观展示了技能包的价值。登录界面(login.html)采用了极简主义设计,深色背景搭配卡片式布局,阴影处理细腻,输入框交互状态清晰,完全符合现代 SaaS 产品的审美标准。

image.png

首页(index.html)作为数据仪表盘,布局逻辑严密。左侧导航栏、顶部状态栏与右侧内容区划分明确。关键指标卡片(KPI Cards)与数据图表的结合,使得数据展示既直观又具视觉冲击力。

image.png

数据分析列表页(analysis.html)则专注于信息的高效呈现。表格设计规范,包含表头、数据行及潜在的操作列,排版整洁,易于阅读。

image.png

在开发过程中,若发现细节需调整,可直接与 Claude Code 进行对话。AI 会基于当前文件内容进行理解与修改,实现了从“手动编码”到“对话式维护”的范式转变。

image.png

通过 AICodeMirror 提供的稳定鉴权通道,结合 Claude Code 的智能执行力与 UiUxProMaxSkill 的专业规范,开发者构建高质量 SaaS 前端系统的门槛被大幅降低,效率得到显著提升。

login.html

<!DOCTYPE html>
<html lang="zh-CN" class="h-full">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - SaaS数据分析系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        heading: ['Poppins', 'sans-serif'],
                        body: ['Open Sans', 'sans-serif']
                    },
                    colors: {
                        primary: '#2563EB',
                        secondary: '#3B82F6',
                        cta: '#F97316',
                        bglight: '#F8FAFC',
                        textdark: '#1E293B',
                        border: '#E2E8F0'
                    }
                }
            }
        }
    </script>
    <style>
        body {
            font-family: 'Open Sans', sans-serif;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    </style>
</head>
<body class="h-full bg-gradient-to-br from-blue-50 via-white to-blue-50 dark:from-slate-900 dark:via-slate-800 dark:to-slate-900">
    <div class="min-h-full flex items-center justify-center px-4 sm:px-6 lg:px-8 py-12">
        <div class="max-w-md w-full space-y-8">
            <!-- Logo and Header -->
            <div class="text-center">
                <div class="mx-auto h-16 w-16 bg-primary rounded-2xl flex items-center justify-center shadow-lg shadow-primary/20">
                    <svg class="h-10 w-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
                    </svg>
                </div>
                <h2 class="mt-6 text-3xl font-bold text-textdark dark:text-white">
                    欢迎回来
                </h2>
                <p class="mt-2 text-sm text-slate-600 dark:text-slate-400">
                    登录您的账户以继续使用数据分析系统
                </p>
            </div>

            <!-- Login Form Card -->
            <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm rounded-2xl shadow-xl border border-border dark:border-slate-700 p-8">
                <form class="space-y-6" action="index.html" method="GET">
                    <!-- Email Field -->
                    <div>
                        <label for="email" class="block text-sm font-medium text-textdark dark:text-slate-200 mb-2">
                            邮箱地址
                        </label>
                        <div class="relative">
                            <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                                <svg class="h-5 w-5 text-slate-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207"></path>
                                </svg>
                            </div>
                            <input id="email" name="email" type="email" autocomplete="email" required
                                class="block w-full pl-10 pr-3 py-3 border border-border dark:border-slate-600 rounded-xl bg-white dark:bg-slate-900 text-textdark dark:text-white placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-colors duration-200"
                                placeholder="your@email.com">
                        </div>
                    </div>

                    <!-- Password Field -->
                    <div>
                        <label for="password" class="block text-sm font-medium text-textdark dark:text-slate-200 mb-2">
                            密码
                        </label>
                        <div class="relative">
                            <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                                <svg class="h-5 w-5 text-slate-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
                                </svg>
                            </div>
                            <input id="password" name="password" type="password" autocomplete="current-password" required
                                class="block w-full pl-10 pr-3 py-3 border border-border dark:border-slate-600 rounded-xl bg-white dark:bg-slate-900 text-textdark dark:text-white placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-colors duration-200"
                                placeholder="••••••••">
                        </div>
                    </div>

                    <!-- Remember Me & Forgot Password -->
                    <div class="flex items-center justify-between">
                        <div class="flex items-center">
                            <input id="remember-me" name="remember-me" type="checkbox"
                                class="h-4 w-4 text-primary focus:ring-primary border-slate-300 rounded cursor-pointer">
                            <label for="remember-me" class="ml-2 block text-sm text-slate-600 dark:text-slate-400 cursor-pointer">
                                记住我
                            </label>
                        </div>
                        <div class="text-sm">
                            <a href="#" class="font-medium text-primary hover:text-secondary transition-colors duration-200">
                                忘记密码?
                            </a>
                        </div>
                    </div>

                    <!-- Submit Button -->
                    <div>
                        <button type="submit"
                            class="w-full flex justify-center py-3 px-4 border border-transparent rounded-xl shadow-sm text-sm font-semibold text-white bg-primary hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition-colors duration-200 cursor-pointer">
                            登录
                        </button>
                    </div>

                    <!-- Divider -->
                    <div class="relative my-6">
                        <div class="absolute inset-0 flex items-center">
                            <div class="w-full border-t border-border dark:border-slate-700"></div>
                        </div>
                        <div class="relative flex justify-center text-sm">
                            <span class="px-4 bg-white/80 dark:bg-slate-800/80 text-slate-500 dark:text-slate-400">
                                或使用第三方登录
                            </span>
                        </div>
                    </div>

                    <!-- Social Login Buttons -->
                    <div class="grid grid-cols-2 gap-3">
                        <button type="button"
                            class="flex items-center justify-center px-4 py-3 border border-border dark:border-slate-600 rounded-xl shadow-sm bg-white dark:bg-slate-900 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition-colors duration-200 cursor-pointer">
                            <svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor">
                                <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
                            </svg>
                            <span class="ml-2">GitHub</span>
                        </button>
                        <button type="button"
                            class="flex items-center justify-center px-4 py-3 border border-border dark:border-slate-600 rounded-xl shadow-sm bg-white dark:bg-slate-900 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition-colors duration-200 cursor-pointer">
                            <svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor">
                                <path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/>
                            </svg>
                            <span class="ml-2">Twitter</span>
                        </button>
                    </div>
                </form>

                <!-- Sign Up Link -->
                <div class="mt-6 text-center">
                    <p class="text-sm text-slate-600 dark:text-slate-400">
                        还没有账户?
                        <a href="#" class="font-medium text-primary hover:text-secondary transition-colors duration-200">
                            立即注册
                        </a>
                    </p>
                </div>
            </div>

            <!-- Footer -->
            <p class="text-center text-xs text-slate-500 dark:text-slate-400">
                © 2026 SaaS数据分析系统. 保留所有权利.
            </p>
        </div>
    </div>
</body>
</html>

index.html

<!DOCTYPE html>
<html lang="zh-CN" class="h-full">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - SaaS数据分析系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        heading: ['Poppins', 'sans-serif'],
                        body: ['Open Sans', 'sans-serif']
                    },
                    colors: {
                        primary: '#2563EB',
                        secondary: '#3B82F6',
                        cta: '#F97316',
                        bglight: '#F8FAFC',
                        textdark: '#1E293B',
                        border: '#E2E8F0'
                    }
                }
            }
        }
    </script>
    <style>
        body {
            font-family: 'Open Sans', sans-serif;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    </style>
</head>
<body class="h-full bg-bglight dark:bg-slate-900">
    <!-- Navigation Bar -->
    <nav class="fixed top-4 left-4 right-4 z-50 bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl shadow-lg">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16 items-center">
                <!-- Logo -->
                <div class="flex items-center">
                    <div class="h-10 w-10 bg-primary rounded-xl flex items-center justify-center shadow-md shadow-primary/20">
                        <svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
                        </svg>
                    </div>
                    <span class="ml-3 text-lg font-semibold text-textdark dark:text-white">数据分析系统</span>
                </div>

                <!-- Navigation Links -->
                <div class="hidden md:flex items-center space-x-1">
                    <a href="index.html" class="px-4 py-2 rounded-lg text-sm font-medium text-primary bg-primary/10 transition-colors duration-200 cursor-pointer">
                        首页
                    </a>
                    <a href="analysis.html" class="px-4 py-2 rounded-lg text-sm font-medium text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        数据分析
                    </a>
                    <a href="#" class="px-4 py-2 rounded-lg text-sm font-medium text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        报表
                    </a>
                    <a href="#" class="px-4 py-2 rounded-lg text-sm font-medium text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        设置
                    </a>
                </div>

                <!-- User Menu -->
                <div class="flex items-center space-x-3">
                    <button class="p-2 rounded-lg text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer" title="通知">
                        <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path>
                        </svg>
                    </button>
                    <div class="h-9 w-9 bg-gradient-to-br from-primary to-secondary rounded-full flex items-center justify-center text-white font-semibold text-sm cursor-pointer hover:shadow-lg hover:shadow-primary/30 transition-all duration-200" title="用户菜单">
                        张三
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <main class="pt-24 pb-12 px-4 sm:px-6 lg:px-8">
        <div class="max-w-7xl mx-auto">
            <!-- Welcome Header -->
            <div class="mb-8">
                <h1 class="text-3xl font-bold text-textdark dark:text-white">欢迎回来, 张三</h1>
                <p class="mt-2 text-slate-600 dark:text-slate-400">这是您的数据分析概览</p>
            </div>

            <!-- KPI Cards -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-8">
                <!-- Card 1 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl transition-all duration-200 cursor-pointer">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-sm font-medium text-slate-600 dark:text-slate-400">总用户数</p>
                            <p class="text-2xl font-bold text-textdark dark:text-white mt-2">24,589</p>
                            <div class="flex items-center mt-2">
                                <svg class="h-4 w-4 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 10l7-7m0 0l7 7m-7-7v18"></path>
                                </svg>
                                <span class="text-sm font-medium text-green-500 ml-1">+12.5%</span>
                                <span class="text-sm text-slate-500 dark:text-slate-400 ml-2">vs 上月</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 bg-blue-100 dark:bg-blue-900/30 rounded-xl flex items-center justify-center">
                            <svg class="h-6 w-6 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path>
                            </svg>
                        </div>
                    </div>
                </div>

                <!-- Card 2 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl transition-all duration-200 cursor-pointer">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-sm font-medium text-slate-600 dark:text-slate-400">活跃用户</p>
                            <p class="text-2xl font-bold text-textdark dark:text-white mt-2">18,432</p>
                            <div class="flex items-center mt-2">
                                <svg class="h-4 w-4 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 10l7-7m0 0l7 7m-7-7v18"></path>
                                </svg>
                                <span class="text-sm font-medium text-green-500 ml-1">+8.3%</span>
                                <span class="text-sm text-slate-500 dark:text-slate-400 ml-2">vs 上月</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 bg-green-100 dark:bg-green-900/30 rounded-xl flex items-center justify-center">
                            <svg class="h-6 w-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
                            </svg>
                        </div>
                    </div>
                </div>

                <!-- Card 3 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl transition-all duration-200 cursor-pointer">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-sm font-medium text-slate-600 dark:text-slate-400">总收入</p>
                            <p class="text-2xl font-bold text-textdark dark:text-white mt-2">¥458.5K</p>
                            <div class="flex items-center mt-2">
                                <svg class="h-4 w-4 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 10l7-7m0 0l7 7m-7-7v18"></path>
                                </svg>
                                <span class="text-sm font-medium text-green-500 ml-1">+23.7%</span>
                                <span class="text-sm text-slate-500 dark:text-slate-400 ml-2">vs 上月</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 bg-orange-100 dark:bg-orange-900/30 rounded-xl flex items-center justify-center">
                            <svg class="h-6 w-6 text-cta" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                            </svg>
                        </div>
                    </div>
                </div>

                <!-- Card 4 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl transition-all duration-200 cursor-pointer">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-sm font-medium text-slate-600 dark:text-slate-400">转化率</p>
                            <p class="text-2xl font-bold text-textdark dark:text-white mt-2">3.42%</p>
                            <div class="flex items-center mt-2">
                                <svg class="h-4 w-4 text-red-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 14l-7 7m0 0l-7-7m7 7V3"></path>
                                </svg>
                                <span class="text-sm font-medium text-red-500 ml-1">-2.1%</span>
                                <span class="text-sm text-slate-500 dark:text-slate-400 ml-2">vs 上月</span>
                            </div>
                        </div>
                        <div class="h-12 w-12 bg-purple-100 dark:bg-purple-900/30 rounded-xl flex items-center justify-center">
                            <svg class="h-6 w-6 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
                            </svg>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Charts Section -->
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
                <!-- Line Chart -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6">
                    <div class="flex items-center justify-between mb-6">
                        <div>
                            <h3 class="text-lg font-semibold text-textdark dark:text-white">用户增长趋势</h3>
                            <p class="text-sm text-slate-600 dark:text-slate-400 mt-1">过去6个月的用户增长</p>
                        </div>
                        <div class="flex space-x-2">
                            <button class="px-3 py-1 text-xs font-medium rounded-lg bg-primary text-white cursor-pointer">月度</button>
                            <button class="px-3 py-1 text-xs font-medium rounded-lg text-slate-600 dark:text-slate-400 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">周度</button>
                        </div>
                    </div>
                    <div class="relative h-64">
                        <canvas id="userGrowthChart"></canvas>
                    </div>
                </div>

                <!-- Bar Chart -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6">
                    <div class="flex items-center justify-between mb-6">
                        <div>
                            <h3 class="text-lg font-semibold text-textdark dark:text-white">收入对比</h3>
                            <p class="text-sm text-slate-600 dark:text-slate-400 mt-1">各产品线收入占比</p>
                        </div>
                    </div>
                    <div class="relative h-64">
                        <canvas id="revenueChart"></canvas>
                    </div>
                </div>
            </div>

            <!-- Recent Activity & Quick Actions -->
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
                <!-- Recent Activity -->
                <div class="lg:col-span-2 bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6">
                    <div class="flex items-center justify-between mb-6">
                        <h3 class="text-lg font-semibold text-textdark dark:text-white">最近活动</h3>
                        <a href="analysis.html" class="text-sm font-medium text-primary hover:text-secondary transition-colors duration-200 cursor-pointer">
                            查看全部
                        </a>
                    </div>
                    <div class="space-y-4">
                        <!-- Activity Item -->
                        <div class="flex items-start space-x-4 p-3 rounded-xl hover:bg-slate-50 dark:hover:bg-slate-700/50 transition-colors duration-200 cursor-pointer">
                            <div class="h-10 w-10 bg-blue-100 dark:bg-blue-900/30 rounded-lg flex items-center justify-center flex-shrink-0">
                                <svg class="h-5 w-5 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
                                </svg>
                            </div>
                            <div class="flex-1 min-w-0">
                                <p class="text-sm font-medium text-textdark dark:text-white">新数据报表已生成</p>
                                <p class="text-sm text-slate-600 dark:text-slate-400 mt-1">Q1季度用户行为分析报告</p>
                                <p class="text-xs text-slate-500 dark:text-slate-500 mt-1">2小时前</p>
                            </div>
                        </div>

                        <div class="flex items-start space-x-4 p-3 rounded-xl hover:bg-slate-50 dark:hover:bg-slate-700/50 transition-colors duration-200 cursor-pointer">
                            <div class="h-10 w-10 bg-green-100 dark:bg-green-900/30 rounded-lg flex items-center justify-center flex-shrink-0">
                                <svg class="h-5 w-5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                </svg>
                            </div>
                            <div class="flex-1 min-w-0">
                                <p class="text-sm font-medium text-textdark dark:text-white">数据同步完成</p>
                                <p class="text-sm text-slate-600 dark:text-slate-400 mt-1">成功同步15,234条用户数据</p>
                                <p class="text-xs text-slate-500 dark:text-slate-500 mt-1">5小时前</p>
                            </div>
                        </div>

                        <div class="flex items-start space-x-4 p-3 rounded-xl hover:bg-slate-50 dark:hover:bg-slate-700/50 transition-colors duration-200 cursor-pointer">
                            <div class="h-10 w-10 bg-orange-100 dark:bg-orange-900/30 rounded-lg flex items-center justify-center flex-shrink-0">
                                <svg class="h-5 w-5 text-cta" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path>
                                </svg>
                            </div>
                            <div class="flex-1 min-w-0">
                                <p class="text-sm font-medium text-textdark dark:text-white">系统警告</p>
                                <p class="text-sm text-slate-600 dark:text-slate-400 mt-1">服务器CPU使用率超过80%</p>
                                <p class="text-xs text-slate-500 dark:text-slate-500 mt-1">1天前</p>
                            </div>
                        </div>

                        <div class="flex items-start space-x-4 p-3 rounded-xl hover:bg-slate-50 dark:hover:bg-slate-700/50 transition-colors duration-200 cursor-pointer">
                            <div class="h-10 w-10 bg-purple-100 dark:bg-purple-900/30 rounded-lg flex items-center justify-center flex-shrink-0">
                                <svg class="h-5 w-5 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"></path>
                                </svg>
                            </div>
                            <div class="flex-1 min-w-0">
                                <p class="text-sm font-medium text-textdark dark:text-white">新版本发布</p>
                                <p class="text-sm text-slate-600 dark:text-slate-400 mt-1">系统已更新至v2.3.1</p>
                                <p class="text-xs text-slate-500 dark:text-slate-500 mt-1">2天前</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Quick Actions -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6">
                    <h3 class="text-lg font-semibold text-textdark dark:text-white mb-6">快捷操作</h3>
                    <div class="space-y-3">
                        <a href="analysis.html" class="flex items-center p-4 rounded-xl bg-gradient-to-r from-primary to-secondary text-white hover:shadow-lg hover:shadow-primary/30 transition-all duration-200 cursor-pointer">
                            <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
                            </svg>
                            <span class="ml-3 font-medium">查看数据分析</span>
                        </a>

                        <button class="w-full flex items-center p-4 rounded-xl bg-slate-100 dark:bg-slate-700 text-textdark dark:text-white hover:bg-slate-200 dark:hover:bg-slate-600 transition-colors duration-200 cursor-pointer">
                            <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"></path>
                            </svg>
                            <span class="ml-3 font-medium">创建新报表</span>
                        </button>

                        <button class="w-full flex items-center p-4 rounded-xl bg-slate-100 dark:bg-slate-700 text-textdark dark:text-white hover:bg-slate-200 dark:hover:bg-slate-600 transition-colors duration-200 cursor-pointer">
                            <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"></path>
                            </svg>
                            <span class="ml-3 font-medium">导入数据</span>
                        </button>

                        <button class="w-full flex items-center p-4 rounded-xl bg-slate-100 dark:bg-slate-700 text-textdark dark:text-white hover:bg-slate-200 dark:hover:bg-slate-600 transition-colors duration-200 cursor-pointer">
                            <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path>
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                            </svg>
                            <span class="ml-3 font-medium">系统设置</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <script>
        // User Growth Chart
        const userGrowthCtx = document.getElementById('userGrowthChart').getContext('2d');
        new Chart(userGrowthCtx, {
            type: 'line',
            data: {
                labels: ['1月', '2月', '3月', '4月', '5月', '6月'],
                datasets: [{
                    label: '新增用户',
                    data: [2100, 2800, 3200, 3800, 4200, 4800],
                    borderColor: '#2563EB',
                    backgroundColor: 'rgba(37, 99, 235, 0.1)',
                    tension: 0.4,
                    fill: true
                }, {
                    label: '活跃用户',
                    data: [1800, 2300, 2600, 3100, 3500, 3900],
                    borderColor: '#F97316',
                    backgroundColor: 'rgba(249, 115, 22, 0.1)',
                    tension: 0.4,
                    fill: true
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'bottom',
                        labels: {
                            usePointStyle: true,
                            padding: 15
                        }
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        grid: {
                            color: 'rgba(0, 0, 0, 0.05)'
                        }
                    },
                    x: {
                        grid: {
                            display: false
                        }
                    }
                }
            }
        });

        // Revenue Chart
        const revenueCtx = document.getElementById('revenueChart').getContext('2d');
        new Chart(revenueCtx, {
            type: 'bar',
            data: {
                labels: ['基础版', '专业版', '企业版', '定制版'],
                datasets: [{
                    label: '收入 (千元)',
                    data: [85, 132, 178, 145],
                    backgroundColor: [
                        'rgba(37, 99, 235, 0.8)',
                        'rgba(59, 130, 246, 0.8)',
                        'rgba(249, 115, 22, 0.8)',
                        'rgba(168, 85, 247, 0.8)'
                    ],
                    borderRadius: 8
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        grid: {
                            color: 'rgba(0, 0, 0, 0.05)'
                        }
                    },
                    x: {
                        grid: {
                            display: false
                        }
                    }
                }
            }
        });
    </script>
</body>
</html>

analysis.html

<!DOCTYPE html>
<html lang="zh-CN" class="h-full">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据分析 - SaaS数据分析系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        heading: ['Poppins', 'sans-serif'],
                        body: ['Open Sans', 'sans-serif']
                    },
                    colors: {
                        primary: '#2563EB',
                        secondary: '#3B82F6',
                        cta: '#F97316',
                        bglight: '#F8FAFC',
                        textdark: '#1E293B',
                        border: '#E2E8F0'
                    }
                }
            }
        }
    </script>
    <style>
        body {
            font-family: 'Open Sans', sans-serif;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    </style>
</head>
<body class="h-full bg-bglight dark:bg-slate-900">
    <!-- Navigation Bar -->
    <nav class="fixed top-4 left-4 right-4 z-50 bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl shadow-lg">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16 items-center">
                <!-- Logo -->
                <div class="flex items-center">
                    <div class="h-10 w-10 bg-primary rounded-xl flex items-center justify-center shadow-md shadow-primary/20">
                        <svg class="h-6 w-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
                        </svg>
                    </div>
                    <span class="ml-3 text-lg font-semibold text-textdark dark:text-white">数据分析系统</span>
                </div>

                <!-- Navigation Links -->
                <div class="hidden md:flex items-center space-x-1">
                    <a href="index.html" class="px-4 py-2 rounded-lg text-sm font-medium text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        首页
                    </a>
                    <a href="analysis.html" class="px-4 py-2 rounded-lg text-sm font-medium text-primary bg-primary/10 transition-colors duration-200 cursor-pointer">
                        数据分析
                    </a>
                    <a href="#" class="px-4 py-2 rounded-lg text-sm font-medium text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        报表
                    </a>
                    <a href="#" class="px-4 py-2 rounded-lg text-sm font-medium text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        设置
                    </a>
                </div>

                <!-- User Menu -->
                <div class="flex items-center space-x-3">
                    <button class="p-2 rounded-lg text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer" title="通知">
                        <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path>
                        </svg>
                    </button>
                    <div class="h-9 w-9 bg-gradient-to-br from-primary to-secondary rounded-full flex items-center justify-center text-white font-semibold text-sm cursor-pointer hover:shadow-lg hover:shadow-primary/30 transition-all duration-200" title="用户菜单">
                        张三
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <main class="pt-24 pb-12 px-4 sm:px-6 lg:px-8">
        <div class="max-w-7xl mx-auto">
            <!-- Page Header -->
            <div class="flex flex-col md:flex-row md:items-center md:justify-between mb-8">
                <div>
                    <h1 class="text-3xl font-bold text-textdark dark:text-white">数据分析列表</h1>
                    <p class="mt-2 text-slate-600 dark:text-slate-400">管理和查看所有数据分析报告</p>
                </div>
                <div class="mt-4 md:mt-0">
                    <button class="inline-flex items-center px-4 py-2.5 bg-primary hover:bg-secondary text-white font-medium rounded-xl shadow-lg shadow-primary/30 hover:shadow-xl transition-all duration-200 cursor-pointer">
                        <svg class="h-5 w-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"></path>
                        </svg>
                        创建新分析
                    </button>
                </div>
            </div>

            <!-- Filters and Search -->
            <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 mb-6">
                <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                    <!-- Search -->
                    <div class="md:col-span-2">
                        <label class="block text-sm font-medium text-textdark dark:text-slate-200 mb-2">搜索</label>
                        <div class="relative">
                            <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                                <svg class="h-5 w-5 text-slate-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
                                </svg>
                            </div>
                            <input type="text" placeholder="搜索分析报告..."
                                class="block w-full pl-10 pr-3 py-2.5 border border-border dark:border-slate-600 rounded-xl bg-white dark:bg-slate-900 text-textdark dark:text-white placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-colors duration-200">
                        </div>
                    </div>

                    <!-- Category Filter -->
                    <div>
                        <label class="block text-sm font-medium text-textdark dark:text-slate-200 mb-2">分类</label>
                        <select class="block w-full px-3 py-2.5 border border-border dark:border-slate-600 rounded-xl bg-white dark:bg-slate-900 text-textdark dark:text-white focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-colors duration-200 cursor-pointer">
                            <option>全部分类</option>
                            <option>用户分析</option>
                            <option>销售分析</option>
                            <option>产品分析</option>
                            <option>运营分析</option>
                        </select>
                    </div>

                    <!-- Status Filter -->
                    <div>
                        <label class="block text-sm font-medium text-textdark dark:text-slate-200 mb-2">状态</label>
                        <select class="block w-full px-3 py-2.5 border border-border dark:border-slate-600 rounded-xl bg-white dark:bg-slate-900 text-textdark dark:text-white focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-colors duration-200 cursor-pointer">
                            <option>全部状态</option>
                            <option>已完成</option>
                            <option>处理中</option>
                            <option>待审核</option>
                        </select>
                    </div>
                </div>
            </div>

            <!-- Data Analysis List -->
            <div class="space-y-4">
                <!-- Analysis Item 1 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl hover:border-primary/50 transition-all duration-200 cursor-pointer">
                    <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
                        <div class="flex-1">
                            <div class="flex items-start space-x-4">
                                <!-- Icon -->
                                <div class="h-12 w-12 bg-blue-100 dark:bg-blue-900/30 rounded-xl flex items-center justify-center flex-shrink-0">
                                    <svg class="h-6 w-6 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
                                    </svg>
                                </div>

                                <!-- Content -->
                                <div class="flex-1 min-w-0">
                                    <div class="flex items-center space-x-3 mb-2">
                                        <h3 class="text-lg font-semibold text-textdark dark:text-white">Q1用户行为分析</h3>
                                        <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400">
                                            已完成
                                        </span>
                                    </div>
                                    <p class="text-sm text-slate-600 dark:text-slate-400 mb-3">
                                        分析第一季度用户活跃度、留存率和转化漏斗数据,包含24,589个用户样本
                                    </p>
                                    <div class="flex flex-wrap items-center gap-4 text-sm text-slate-500 dark:text-slate-400">
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"></path>
                                            </svg>
                                            用户分析
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                            </svg>
                                            2小时前
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                                            </svg>
                                            张三
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- Actions -->
                        <div class="mt-4 lg:mt-0 lg:ml-6 flex items-center space-x-2">
                            <button class="inline-flex items-center px-4 py-2 bg-primary hover:bg-secondary text-white text-sm font-medium rounded-lg transition-colors duration-200 cursor-pointer">
                                <svg class="h-4 w-4 mr-1.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
                                </svg>
                                查看
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="下载">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path>
                                </svg>
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="更多">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"></path>
                                </svg>
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Analysis Item 2 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl hover:border-primary/50 transition-all duration-200 cursor-pointer">
                    <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
                        <div class="flex-1">
                            <div class="flex items-start space-x-4">
                                <div class="h-12 w-12 bg-orange-100 dark:bg-orange-900/30 rounded-xl flex items-center justify-center flex-shrink-0">
                                    <svg class="h-6 w-6 text-cta" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                    </svg>
                                </div>

                                <div class="flex-1 min-w-0">
                                    <div class="flex items-center space-x-3 mb-2">
                                        <h3 class="text-lg font-semibold text-textdark dark:text-white">月度销售额趋势</h3>
                                        <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400">
                                            已完成
                                        </span>
                                    </div>
                                    <p class="text-sm text-slate-600 dark:text-slate-400 mb-3">
                                        过去12个月的销售额趋势分析,包含产品线对比和增长率预测
                                    </p>
                                    <div class="flex flex-wrap items-center gap-4 text-sm text-slate-500 dark:text-slate-400">
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"></path>
                                            </svg>
                                            销售分析
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                            </svg>
                                            5小时前
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                                            </svg>
                                            李四
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="mt-4 lg:mt-0 lg:ml-6 flex items-center space-x-2">
                            <button class="inline-flex items-center px-4 py-2 bg-primary hover:bg-secondary text-white text-sm font-medium rounded-lg transition-colors duration-200 cursor-pointer">
                                <svg class="h-4 w-4 mr-1.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
                                </svg>
                                查看
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="下载">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path>
                                </svg>
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="更多">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"></path>
                                </svg>
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Analysis Item 3 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl hover:border-primary/50 transition-all duration-200 cursor-pointer">
                    <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
                        <div class="flex-1">
                            <div class="flex items-start space-x-4">
                                <div class="h-12 w-12 bg-purple-100 dark:bg-purple-900/30 rounded-xl flex items-center justify-center flex-shrink-0">
                                    <svg class="h-6 w-6 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path>
                                    </svg>
                                </div>

                                <div class="flex-1 min-w-0">
                                    <div class="flex items-center space-x-3 mb-2">
                                        <h3 class="text-lg font-semibold text-textdark dark:text-white">产品功能使用分析</h3>
                                        <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400">
                                            处理中
                                        </span>
                                    </div>
                                    <p class="text-sm text-slate-600 dark:text-slate-400 mb-3">
                                        分析各项产品功能的使用频率和用户偏好,识别高价值功能
                                    </p>
                                    <div class="flex flex-wrap items-center gap-4 text-sm text-slate-500 dark:text-slate-400">
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"></path>
                                            </svg>
                                            产品分析
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                            </svg>
                                            1天前
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                                            </svg>
                                            王五
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="mt-4 lg:mt-0 lg:ml-6 flex items-center space-x-2">
                            <button class="inline-flex items-center px-4 py-2 bg-primary hover:bg-secondary text-white text-sm font-medium rounded-lg transition-colors duration-200 cursor-pointer">
                                <svg class="h-4 w-4 mr-1.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
                                </svg>
                                查看
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="下载">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path>
                                </svg>
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="更多">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"></path>
                                </svg>
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Analysis Item 4 -->
                <div class="bg-white/80 dark:bg-slate-800/80 backdrop-blur-sm border border-border dark:border-slate-700 rounded-2xl p-6 hover:shadow-xl hover:border-primary/50 transition-all duration-200 cursor-pointer">
                    <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
                        <div class="flex-1">
                            <div class="flex items-start space-x-4">
                                <div class="h-12 w-12 bg-green-100 dark:bg-green-900/30 rounded-xl flex items-center justify-center flex-shrink-0">
                                    <svg class="h-6 w-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"></path>
                                    </svg>
                                </div>

                                <div class="flex-1 min-w-0">
                                    <div class="flex items-center space-x-3 mb-2">
                                        <h3 class="text-lg font-semibold text-textdark dark:text-white">客户满意度调查</h3>
                                        <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400">
                                            待审核
                                        </span>
                                    </div>
                                    <p class="text-sm text-slate-600 dark:text-slate-400 mb-3">
                                        基于5,234份客户反馈的满意度分析和NPS评分统计
                                    </p>
                                    <div class="flex flex-wrap items-center gap-4 text-sm text-slate-500 dark:text-slate-400">
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"></path>
                                            </svg>
                                            运营分析
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                            </svg>
                                            2天前
                                        </div>
                                        <div class="flex items-center">
                                            <svg class="h-4 w-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
                                            </svg>
                                            赵六
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="mt-4 lg:mt-0 lg:ml-6 flex items-center space-x-2">
                            <button class="inline-flex items-center px-4 py-2 bg-primary hover:bg-secondary text-white text-sm font-medium rounded-lg transition-colors duration-200 cursor-pointer">
                                <svg class="h-4 w-4 mr-1.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
                                </svg>
                                查看
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="下载">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path>
                                </svg>
                            </button>
                            <button class="p-2 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 rounded-lg transition-colors duration-200 cursor-pointer" title="更多">
                                <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"></path>
                                </svg>
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Pagination -->
            <div class="mt-8 flex items-center justify-between">
                <div class="text-sm text-slate-600 dark:text-slate-400">
                    显示 <span class="font-medium text-textdark dark:text-white">1-4</span><span class="font-medium text-textdark dark:text-white">24</span> 条记录
                </div>
                <div class="flex items-center space-x-2">
                    <button class="px-3 py-2 rounded-lg border border-border dark:border-slate-600 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
                        </svg>
                    </button>
                    <button class="px-4 py-2 rounded-lg bg-primary text-white font-medium cursor-pointer">1</button>
                    <button class="px-4 py-2 rounded-lg border border-border dark:border-slate-600 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">2</button>
                    <button class="px-4 py-2 rounded-lg border border-border dark:border-slate-600 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">3</button>
                    <span class="px-3 py-2 text-slate-600 dark:text-slate-400">...</span>
                    <button class="px-4 py-2 rounded-lg border border-border dark:border-slate-600 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">6</button>
                    <button class="px-3 py-2 rounded-lg border border-border dark:border-slate-600 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors duration-200 cursor-pointer">
                        <svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                        </svg>
                    </button>
                </div>
            </div>
        </div>
    </main>
</body>
</html>

Logo

助力广东及东莞地区开发者,代码托管、在线学习与竞赛、技术交流与分享、资源共享、职业发展,成为松山湖开发者首选的工作与学习平台

更多推荐