From 49bd7b74c68af68e1c438a0502d04de9b74bc300 Mon Sep 17 00:00:00 2001 From: toom1996 <23cm.cn@gmail.com> Date: Mon, 21 Sep 2026 23:04:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(street):=20=E5=AE=A1=E6=A0=B8=E9=A1=B5?= =?UTF-8?q?=E3=80=8C=E8=AE=BE=E4=B8=BA=E4=B8=BB=E5=9B=BE=E3=80=8D=E6=94=B9?= =?UTF-8?q?=E4=B8=BAGET=E9=93=BE=E6=8E=A5=E5=B9=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=8B=BE=E9=80=89=E6=89=B9=E9=87=8F=E5=B9=B6=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/handler/backstage_handler.go | 29 +++++++++++++++++---------- internal/router/backstage_test.go | 12 +++++++++++ 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/internal/handler/backstage_handler.go b/internal/handler/backstage_handler.go index 7ff2ded..a05b10f 100644 --- a/internal/handler/backstage_handler.go +++ b/internal/handler/backstage_handler.go @@ -1353,8 +1353,11 @@ button.ghost{background:#fff;color:#111;border:1px solid #ccc} .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin-top:14px} .cell{background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden} .cell img{width:100%;display:block;aspect-ratio:2/3;object-fit:cover} -.cell .acts{padding:8px;display:flex;gap:6px} -.cell .acts button{margin:0;flex:1;padding:7px;font-size:13px} +.cell .acts{padding:8px;display:flex;flex-wrap:wrap;gap:6px} +.cell .acts button{margin:0;flex:1 1 auto;padding:7px;font-size:13px} +.btn{display:inline-block;flex:1 1 auto;margin:0;padding:7px 10px;background:#fff;color:#111;border:1px solid #ccc;border-radius:6px;text-decoration:none;font-size:13px;text-align:center} +.chk{display:flex;align-items:center;gap:4px;flex:1 1 auto;font-size:12px;color:#333;white-space:nowrap;cursor:pointer} +.chk input{margin:0}
@@ -1364,14 +1367,13 @@ button.ghost{background:#fff;color:#111;border:1px solid #ccc} {{range .Draft.Fields}}?main= 参数),再勾选要并入的图、点底部「并入到当前主图」。{{end}}该草稿暂无图片。
{{end}} -