feat: md-deck print
This commit is contained in:
@@ -25,6 +25,14 @@ export function DeckHeader(props: DeckHeaderProps) {
|
||||
{store.state.isEditing ? '✓ 编辑中' : '✏️ 编辑'}
|
||||
</button>
|
||||
|
||||
{/* 打印按钮 */}
|
||||
<button
|
||||
onClick={() => store.actions.printDeck()}
|
||||
class="px-2 py-1 rounded text-xs font-medium transition-colors cursor-pointer bg-green-100 text-green-600 hover:bg-green-200"
|
||||
>
|
||||
🖨️ 打印
|
||||
</button>
|
||||
|
||||
{/* Tab 选择器 */}
|
||||
<div class="flex gap-1 overflow-x-auto flex-1 min-w-0 flex-wrap">
|
||||
<For each={store.state.cards}>
|
||||
|
||||
Reference in New Issue
Block a user