From 6ded1816e48aa48babaabd4c12c51a654ea7280c Mon Sep 17 00:00:00 2001 From: "wang.yu" Date: Wed, 19 Aug 2026 16:07:12 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=20Cube=20=E7=BC=96=E8=BE=91?= =?utf8?q?=E5=99=A8=E8=A1=A8=E6=A0=BC=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE?= =?utf8?q?=E6=BA=A2=E5=87=BA=E5=AF=BC=E8=87=B4=E5=8F=B3=E4=BE=A7=E9=9D=A2?= =?utf8?q?=E6=9D=BF=E6=B5=AE=E8=B5=B7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app/globals.css | 7 +++++++ app/page.tsx | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/globals.css b/app/globals.css index a6aa1a6..6c91e25 100644 --- a/app/globals.css +++ b/app/globals.css @@ -116,8 +116,15 @@ .mu-items label input{margin-top:2px;accent-color:var(--blue)} .mu-items label span{display:flex;flex-direction:column;line-height:1.3} .mu-items label small{color:var(--muted);font-size:10px} +.two-column>div:first-child{min-width:0} +.cube-editor{overflow-x:auto} .cube-editor table{width:100%} .cube-editor input{width:100%} +.cube-editor .cube-editor-table th:nth-child(1){width:120px} +.cube-editor .cube-editor-table th:nth-child(2){width:auto} +.cube-editor .cube-editor-table th:nth-child(3){width:140px} +.cube-editor .cube-editor-table th:nth-child(4){width:200px} +.cube-editor .cube-editor-table td:nth-child(3){white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .cube-actions{display:flex;gap:5px;white-space:nowrap} .cube-actions button{border:1px solid var(--line);background:#fff;border-radius:4px;height:26px;padding:0 9px;font-size:11px;color:#444} .cube-actions button:hover{border-color:var(--blue);color:var(--blue)} diff --git a/app/page.tsx b/app/page.tsx index 81eea3a..a1ef3a6 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -783,7 +783,7 @@ function Functions({site,muTree,onMuChange,onSiteChange,pageStyles,notify,onView {/* Cube 扩展页面:左右两栏,右栏为填写建议 + AI 智能补全 */} {tab==="cube"&&
-
{site.cubes.map((cube,i)=> +
页面名称 最多6字页面内容生成文件操作
{site.cubes.map((cube,i)=> -- 2.43.0
页面名称 最多6字页面内容生成文件操作
updateCube(i,{name:e.target.value})}/> updateCube(i,{content:e.target.value})}/> {cube.status==="generated"? : 未生成}