首页排版

This commit is contained in:
iqudoo
2026-06-13 08:42:06 +08:00
parent f71ee2f861
commit e486ad342d

View File

@@ -1006,7 +1006,7 @@ export default function App() {
</div> </div>
{/* Actions */} {/* Actions */}
<div className={`flex flex-wrap items-center gap-2 mt-4 text-xs ${isMobile ? 'mobile-template-actions' : ''}`}> <div className={`flex flex-wrap items-center gap-2 mt-4 text-xs justify-end ${isMobile ? 'mobile-template-actions' : ''}`}>
{!isMobile && ( {!isMobile && (
<button <button
onClick={(e) => { onClick={(e) => {
@@ -1045,7 +1045,7 @@ export default function App() {
}`} }`}
> >
<Printer className={`${isMobile ? 'w-4 h-4' : 'w-3.5 h-3.5'} shrink-0`} /> <Printer className={`${isMobile ? 'w-4 h-4' : 'w-3.5 h-3.5'} shrink-0`} />
{isMobile ? '生成' : '排版导出'}
</button> </button>
<div <div
ref={templateMenuId === tmpl.id ? templateMenuAnchorRef : null} ref={templateMenuId === tmpl.id ? templateMenuAnchorRef : null}
@@ -1083,7 +1083,7 @@ export default function App() {
className="inline-flex items-center gap-3 w-full px-3 py-2.5 text-left text-sm text-gray-700 hover:bg-gray-50 active:bg-gray-100 cursor-pointer" className="inline-flex items-center gap-3 w-full px-3 py-2.5 text-left text-sm text-gray-700 hover:bg-gray-50 active:bg-gray-100 cursor-pointer"
> >
<Pencil className="w-4 h-4 shrink-0" /> <Pencil className="w-4 h-4 shrink-0" />
</button> </button>
<button <button
type="button" type="button"