From c48d497bd86c7142d1883f7686a5351b4fc0bfb2 Mon Sep 17 00:00:00 2001 From: pan Date: Fri, 4 Sep 2026 14:52:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(hero):=20=E7=A7=BB=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E8=8B=B1=E9=9B=84=E6=93=8D=E4=BD=9C=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=B8=8E=E7=9B=B8=E5=85=B3=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 从App.vue中删除英雄列表的修改和删除操作按钮 2. 移除全局和移动端适配下的.row-actions相关样式代码 3. 清理heroes.json中多余的技能配置字段 --- put/server/data/heroes.json | 13 +++++-------- put/web/src/App.vue | 4 ---- put/web/src/style.css | 4 ---- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/put/server/data/heroes.json b/put/server/data/heroes.json index 4863f38b..1379c264 100644 --- a/put/server/data/heroes.json +++ b/put/server/data/heroes.json @@ -43,8 +43,7 @@ "cd": 8, "cdExpr": null, "overrides": { - "ap": 30, - "summon_count": 1 + "ap": 30 }, "desc": "{target}获得生命最大值{ap}%的护盾", "lv_entries": [ @@ -52,19 +51,17 @@ "lv": 8, "s_lv": 2, "overrides": { - "ap": 60, - "summon_count": 1 + "ap": 60 }, - "desc": "" + "desc": "{target}获得生命最大值{ap}%的护盾" }, { "lv": 16, "s_lv": 3, "overrides": { - "ap": 120, - "summon_count": 2 + "ap": 120 }, - "desc": "" + "desc": "{target}获得生命最大值{ap}%的护盾" } ] } diff --git a/put/web/src/App.vue b/put/web/src/App.vue index 9a43d508..6611a37e 100644 --- a/put/web/src/App.vue +++ b/put/web/src/App.vue @@ -46,10 +46,6 @@ 加成: ×{{ bonusCount(h) }}
{{ h.comment || h.info }}
-
- 修改 - 删除 -
diff --git a/put/web/src/style.css b/put/web/src/style.css index a1158d61..794d3b79 100644 --- a/put/web/src/style.css +++ b/put/web/src/style.css @@ -151,9 +151,6 @@ body { line-height: 18px; } -/* 行尾操作按钮 */ -.row-actions { display: flex; gap: 6px; margin-left: auto; } - /* 编辑弹窗:内容区内部滚动 */ .editor-dialog .el-dialog__body { max-height: 78vh; overflow-y: auto; padding: 8px 16px; } @@ -227,7 +224,6 @@ body { .hero-row { gap: 4px 10px; } .row-main { min-width: 0; } .row-skills { min-width: 100%; } - .row-actions { margin-left: 0; } .editor-dialog { width: 98% !important; } .editor-dialog .el-dialog__body { max-height: 76vh; padding: 6px 10px; } .form-grid { grid-template-columns: 1fr; }