diff --git a/prototype/docs-index.html b/prototype/docs-index.html index 593fdb2..2efd00e 100644 --- a/prototype/docs-index.html +++ b/prototype/docs-index.html @@ -23,16 +23,6 @@ .stat-item { background: linear-gradient(135deg, var(--primary-blue), #40a9ff); } - .doc-content { - margin-top: 1rem; - padding: 2rem; - background: white; - border-radius: 0.5rem; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - } - .doc-content.hidden { - display: none; - } .markdown-body h1, .markdown-body h2 { border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5em; margin-bottom: 1em; } .markdown-body pre { background: #1f2937; color: #e5e7eb; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; } .markdown-body code { background: #f3f4f6; padding: 0.2em 0.4em; border-radius: 0.25rem; } @@ -155,11 +145,10 @@ 技术架构 数据模型 - + 查看文档 - @@ -202,11 +191,10 @@ 色彩系统 无障碍 - + 查看文档 - @@ -249,11 +237,10 @@ 任务制定 AI抽背 - + 查看文档 - @@ -338,39 +325,5 @@ - diff --git a/prototype/index.html b/prototype/index.html index ebb7b17..694f2b0 100644 --- a/prototype/index.html +++ b/prototype/index.html @@ -295,10 +295,10 @@ 基于 PRD 和 UX 设计规范自动生成 | 2026-03-28
- + PRD - + UX
@@ -306,60 +306,5 @@ - - - - - - - diff --git a/prototype/server.js b/prototype/server.js index a54e800..0f65b96 100644 --- a/prototype/server.js +++ b/prototype/server.js @@ -45,7 +45,7 @@ const MIME_TYPES = { // 创建服务器 const server = http.createServer((req, res) => { // 解析 URL - let urlPath = req.url; + let urlPath = req.url.split('?')[0] || '/'; // 处理根路径 if (urlPath === '/') { diff --git a/prototype/view-doc.html b/prototype/view-doc.html index 45db797..f6dd822 100644 --- a/prototype/view-doc.html +++ b/prototype/view-doc.html @@ -8,93 +8,284 @@ + -
-
+ + +
+ +
+
+
+ +
-