实现一个“视频彩铃智能创作系统”的推理界面,整体风格采用清新简洁的设计,顶部为渐变紫蓝色导航栏,包含系统名称与功能导航(如首页、文档、案例、关于),主体区域以卡片式布局分为三大模块:数据加载、参数设置和原子能力选择。在数据加载部分,用户可通过标签页上传或输入文本、图像、视频和音频,支持文件上传、拍摄、URL导入与素材库调用,并配有预览区域;文本输入还可选择文本类型、语言、情感风格等。在参数设置部分,界面分为三栏,左侧为语音参数,支持音色选择、语速、音调与情绪强度调节;中间为视频参数,支持设置分辨率、帧率、风格和视频时长;右侧为高级参数,涵盖生成质量、随机种子、创意度与文本相关性调节。原子能力选择部分以九宫格卡片方式展示功能组件,包括文本转语音、音色提取、图像生成、视频生成、歌声合成、跨模态对齐等,用户可灵活勾选所需功能,底部提供“保存配置”和“开始生成”按钮,整体界面简洁直观、模块清晰,适用于智能视频内容创作场景。修改如下:(1)全用中文,禁止用英文,标题为视频彩铃智能创作系统;(2)上传部分对于文本、图像、视频、音频应该是不同的,比如上传图像时不应该有文本输入;(3)原子能力部分只展示前6个,每一个都应该有非常美观匹配的图标 - Initial Deployment
2a72a0f
verified
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>视频彩铃智能创作系统</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .tab-active { | |
| border-bottom: 3px solid #7c3aed; | |
| color: #7c3aed; | |
| font-weight: 600; | |
| } | |
| .preview-area { | |
| border: 2px dashed #cbd5e1; | |
| border-radius: 0.5rem; | |
| background-color: #f8fafc; | |
| } | |
| .ability-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .slider-thumb::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| background: #7c3aed; | |
| cursor: pointer; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- 导航栏 --> | |
| <nav class="gradient-bg text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-video text-2xl"></i> | |
| <h1 class="text-2xl font-bold">视频彩铃智能创作系统</h1> | |
| </div> | |
| <div class="hidden md:flex space-x-6"> | |
| <a href="#" class="hover:text-gray-200 transition">首页</a> | |
| <a href="#" class="hover:text-gray-200 transition">文档</a> | |
| <a href="#" class="hover:text-gray-200 transition">案例</a> | |
| <a href="#" class="hover:text-gray-200 transition">关于</a> | |
| </div> | |
| <button class="md:hidden"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| </nav> | |
| <!-- 主体内容 --> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- 数据加载模块 --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8"> | |
| <h2 class="text-xl font-semibold mb-4 text-gray-800">数据加载</h2> | |
| <!-- 标签页导航 --> | |
| <div class="border-b border-gray-200 mb-6"> | |
| <div class="flex space-x-4 overflow-x-auto"> | |
| <button class="tab-btn py-2 px-4 tab-active" data-tab="text">文本</button> | |
| <button class="tab-btn py-2 px-4" data-tab="image">图像</button> | |
| <button class="tab-btn py-2 px-4" data-tab="video">视频</button> | |
| <button class="tab-btn py-2 px-4" data-tab="audio">音频</button> | |
| </div> | |
| </div> | |
| <!-- 文本上传面板 --> | |
| <div id="text-tab" class="tab-content"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">文本内容</label> | |
| <textarea class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500" rows="5" placeholder="请输入或粘贴您的文本内容..."></textarea> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">文本类型</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <option>普通文本</option> | |
| <option>歌词</option> | |
| <option>诗歌</option> | |
| <option>广告文案</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">语言</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <option>中文</option> | |
| <option>英文</option> | |
| <option>粤语</option> | |
| <option>日语</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 mb-2">情感风格</label> | |
| <div class="flex flex-wrap gap-2"> | |
| <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">欢快</button> | |
| <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">浪漫</button> | |
| <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">激情</button> | |
| <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">温柔</button> | |
| <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">悲伤</button> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-3"> | |
| <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition"> | |
| <i class="fas fa-upload mr-2"></i>上传文本文件 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-link mr-2"></i>从URL导入 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-book mr-2"></i>素材库调用 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="preview-area flex items-center justify-center p-4"> | |
| <div class="text-center text-gray-500"> | |
| <i class="fas fa-file-alt text-4xl mb-2"></i> | |
| <p>文本预览区域</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 图像上传面板 --> | |
| <div id="image-tab" class="tab-content hidden"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-2">图像上传</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center"> | |
| <i class="fas fa-image text-4xl text-gray-400 mb-3"></i> | |
| <p class="text-gray-500 mb-3">拖放图像文件到此处或点击上传</p> | |
| <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition"> | |
| <i class="fas fa-upload mr-2"></i>选择图像文件 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-3"> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-camera mr-2"></i>拍摄照片 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-link mr-2"></i>从URL导入 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-book mr-2"></i>素材库调用 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="preview-area flex items-center justify-center p-4"> | |
| <div class="text-center text-gray-500"> | |
| <i class="fas fa-image text-4xl mb-2"></i> | |
| <p>图像预览区域</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 视频上传面板 --> | |
| <div id="video-tab" class="tab-content hidden"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-2">视频上传</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center"> | |
| <i class="fas fa-video text-4xl text-gray-400 mb-3"></i> | |
| <p class="text-gray-500 mb-3">拖放视频文件到此处或点击上传</p> | |
| <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition"> | |
| <i class="fas fa-upload mr-2"></i>选择视频文件 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-3"> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-video mr-2"></i>拍摄视频 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-link mr-2"></i>从URL导入 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-book mr-2"></i>素材库调用 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="preview-area flex items-center justify-center p-4"> | |
| <div class="text-center text-gray-500"> | |
| <i class="fas fa-video text-4xl mb-2"></i> | |
| <p>视频预览区域</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 音频上传面板 --> | |
| <div id="audio-tab" class="tab-content hidden"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-700 mb-2">音频上传</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center"> | |
| <i class="fas fa-music text-4xl text-gray-400 mb-3"></i> | |
| <p class="text-gray-500 mb-3">拖放音频文件到此处或点击上传</p> | |
| <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition"> | |
| <i class="fas fa-upload mr-2"></i>选择音频文件 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-3"> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-microphone mr-2"></i>录制音频 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-link mr-2"></i>从URL导入 | |
| </button> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition"> | |
| <i class="fas fa-book mr-2"></i>素材库调用 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="preview-area flex items-center justify-center p-4"> | |
| <div class="text-center text-gray-500"> | |
| <i class="fas fa-music text-4xl mb-2"></i> | |
| <p>音频预览区域</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 参数设置模块 --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8"> | |
| <h2 class="text-xl font-semibold mb-6 text-gray-800">参数设置</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- 语音参数 --> | |
| <div class="border-r border-gray-200 pr-6"> | |
| <h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center"> | |
| <i class="fas fa-microphone-alt mr-2"></i>语音参数 | |
| </h3> | |
| <div class="space-y-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">音色选择</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <option>甜美女声</option> | |
| <option>磁性男声</option> | |
| <option>温柔女声</option> | |
| <option>活力男声</option> | |
| <option>儿童音</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">语速</label> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-500 mr-2">慢</span> | |
| <input type="range" min="0" max="100" value="50" class="w-full slider-thumb"> | |
| <span class="text-sm text-gray-500 ml-2">快</span> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">音调</label> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-500 mr-2">低</span> | |
| <input type="range" min="0" max="100" value="50" class="w-full slider-thumb"> | |
| <span class="text-sm text-gray-500 ml-2">高</span> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">情绪强度</label> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-500 mr-2">弱</span> | |
| <input type="range" min="0" max="100" value="70" class="w-full slider-thumb"> | |
| <span class="text-sm text-gray-500 ml-2">强</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 视频参数 --> | |
| <div class="border-r border-gray-200 pr-6"> | |
| <h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center"> | |
| <i class="fas fa-video mr-2"></i>视频参数 | |
| </h3> | |
| <div class="space-y-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">分辨率</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <option>720p (1280×720)</option> | |
| <option>1080p (1920×1080)</option> | |
| <option>2K (2560×1440)</option> | |
| <option>4K (3840×2160)</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">帧率</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <option>24 fps</option> | |
| <option>25 fps</option> | |
| <option>30 fps</option> | |
| <option>60 fps</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">视频风格</label> | |
| <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <option>写实风格</option> | |
| <option>卡通风格</option> | |
| <option>水墨风格</option> | |
| <option>赛博朋克</option> | |
| <option>复古胶片</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">视频时长</label> | |
| <div class="flex items-center"> | |
| <input type="number" min="5" max="60" value="15" class="w-20 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <span class="text-sm text-gray-500 ml-2">秒</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 高级参数 --> | |
| <div> | |
| <h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center"> | |
| <i class="fas fa-cog mr-2"></i>高级参数 | |
| </h3> | |
| <div class="space-y-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">生成质量</label> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-500 mr-2">标准</span> | |
| <input type="range" min="0" max="100" value="80" class="w-full slider-thumb"> | |
| <span class="text-sm text-gray-500 ml-2">高质</span> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">随机种子</label> | |
| <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="留空则随机生成"> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">创意度</label> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-500 mr-2">保守</span> | |
| <input type="range" min="0" max="100" value="60" class="w-full slider-thumb"> | |
| <span class="text-sm text-gray-500 ml-2">创新</span> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">文本相关性</label> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-500 mr-2">宽松</span> | |
| <input type="range" min="0" max="100" value="75" class="w-full slider-thumb"> | |
| <span class="text-sm text-gray-500 ml-2">严格</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 原子能力选择模块 --> | |
| <div class="bg-white rounded-xl shadow-md p-6"> | |
| <h2 class="text-xl font-semibold mb-6 text-gray-800">原子能力选择</h2> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4"> | |
| <!-- 文本转语音 --> | |
| <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-comment-dots text-purple-600"></i> | |
| </div> | |
| <h3 class="font-medium">文本转语音</h3> | |
| </div> | |
| <p class="text-sm text-gray-600 mb-3">将输入的文本转换为自然流畅的语音输出</p> | |
| <label class="inline-flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded"> | |
| <span class="ml-2 text-gray-700">启用</span> | |
| </label> | |
| </div> | |
| <!-- 音色提取 --> | |
| <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-user-voice text-blue-600"></i> | |
| </div> | |
| <h3 class="font-medium">音色提取</h3> | |
| </div> | |
| <p class="text-sm text-gray-600 mb-3">从音频中提取特定人物的音色特征</p> | |
| <label class="inline-flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded"> | |
| <span class="ml-2 text-gray-700">启用</span> | |
| </label> | |
| </div> | |
| <!-- 图像生成 --> | |
| <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-image text-green-600"></i> | |
| </div> | |
| <h3 class="font-medium">图像生成</h3> | |
| </div> | |
| <p class="text-sm text-gray-600 mb-3">根据文本描述生成高质量的图像内容</p> | |
| <label class="inline-flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded"> | |
| <span class="ml-2 text-gray-700">启用</span> | |
| </label> | |
| </div> | |
| <!-- 视频生成 --> | |
| <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-film text-red-600"></i> | |
| </div> | |
| <h3 class="font-medium">视频生成</h3> | |
| </div> | |
| <p class="text-sm text-gray-600 mb-3">基于文本或图像生成动态视频内容</p> | |
| <label class="inline-flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded"> | |
| <span class="ml-2 text-gray-700">启用</span> | |
| </label> | |
| </div> | |
| <!-- 歌声合成 --> | |
| <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-music text-yellow-600"></i> | |
| </div> | |
| <h3 class="font-medium">歌声合成</h3> | |
| </div> | |
| <p class="text-sm text-gray-600 mb-3">将文本歌词合成为自然流畅的歌声</p> | |
| <label class="inline-flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded"> | |
| <span class="ml-2 text-gray-700">启用</span> | |
| </label> | |
| </div> | |
| <!-- 跨模态对齐 --> | |
| <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3"> | |
| <i class="fas fa-random text-indigo-600"></i> | |
| </div> | |
| <h3 class="font-medium">跨模态对齐</h3> | |
| </div> | |
| <p class="text-sm text-gray-600 mb-3">确保文本、语音和视频内容的时间对齐</p> | |
| <label class="inline-flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded"> | |
| <span class="ml-2 text-gray-700">启用</span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- 操作按钮 --> | |
| <div class="flex justify-end space-x-4 mt-8"> | |
| <button class="px-6 py-2 border border-gray-300 text-gray-700 rounded-md hover:bg-gray-100 transition"> | |
| <i class="fas fa-save mr-2"></i>保存配置 | |
| </button> | |
| <button class="px-6 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition"> | |
| <i class="fas fa-play mr-2"></i>开始生成 | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| <script> | |
| // 标签页切换功能 | |
| document.querySelectorAll('.tab-btn').forEach(btn => { | |
| btn.addEventListener('click', function() { | |
| // 移除所有标签页的active类 | |
| document.querySelectorAll('.tab-btn').forEach(t => t.classList.remove('tab-active')); | |
| // 给当前点击的标签页添加active类 | |
| this.classList.add('tab-active'); | |
| // 隐藏所有内容面板 | |
| document.querySelectorAll('.tab-content').forEach(content => { | |
| content.classList.add('hidden'); | |
| }); | |
| // 显示对应的内容面板 | |
| const tabId = this.getAttribute('data-tab') + '-tab'; | |
| document.getElementById(tabId).classList.remove('hidden'); | |
| }); | |
| }); | |
| // 为能力卡片添加悬停效果 | |
| document.querySelectorAll('.ability-card').forEach(card => { | |
| card.addEventListener('mouseenter', function() { | |
| this.style.transform = 'translateY(-5px)'; | |
| this.style.boxShadow = '0 10px 25px -5px rgba(0, 0, 0, 0.1)'; | |
| }); | |
| card.addEventListener('mouseleave', function() { | |
| this.style.transform = ''; | |
| this.style.boxShadow = ''; | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=NJU-Jet/mgai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |