From cb52022662b2b1acd4beb2c82e395001aafb4345 Mon Sep 17 00:00:00 2001 From: hubian <908234780@qq.com> Date: Thu, 9 Apr 2026 12:36:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=8D=E7=AB=AF=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=8F=E6=94=B9=E4=B8=BA=E5=8A=A8=E6=80=81=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复问题: 1. 顶部导航栏不显示后台新增的类别 → 改为从API动态加载 2. 前端页面移除"添加数据"按钮 → 数据由后台管理员管理 3. 前端移除"后台"入口 → 管理员直接访问/admin --- templates/category.html | 60 ++++++++++++++++++++++++++++------------ templates/compare.html | 46 ++++++++++++++++++++++++------ templates/cpus.html | 46 ++++++++++++++++++++++++------ templates/gpus.html | 46 ++++++++++++++++++++++++------ templates/index.html | 48 ++++++++++++++++++++++++++------ templates/knowledge.html | 10 ++----- templates/models.html | 45 ++++++++++++++++++++++++------ templates/tools.html | 46 ++++++++++++++++++++++++------ 8 files changed, 269 insertions(+), 78 deletions(-) diff --git a/templates/category.html b/templates/category.html index 8c93bb6..27c0385 100644 --- a/templates/category.html +++ b/templates/category.html @@ -17,15 +17,8 @@ ParamHub -
@@ -61,9 +54,6 @@ - - 添加数据 - @@ -83,6 +73,45 @@