diff --git a/src/components/editor/WechatEditor.tsx b/src/components/editor/WechatEditor.tsx
index e468c58..3383664 100644
--- a/src/components/editor/WechatEditor.tsx
+++ b/src/components/editor/WechatEditor.tsx
@@ -14,6 +14,7 @@ import { EditorPreview } from './components/EditorPreview'
import { MobileToolbar } from './components/MobileToolbar'
import { MarkdownToolbar } from './components/MarkdownToolbar'
import { type PreviewSize } from './constants'
+import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
export default function WechatEditor() {
const { toast } = useToast()
@@ -356,50 +357,98 @@ export default function WechatEditor() {
/>
-
t.id === selectedTemplate)?.styles
- )}
- >
-
-
-
-
+ {/* Mobile Tabs */}
+
+
+
+ 编辑
+ 预览
+
+
+
t.id === selectedTemplate)?.styles
+ )}
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Desktop Split View */}
+
+
t.id === selectedTemplate)?.styles
+ )}
+ >
+
+
+
+
+
+
+ {showPreview && (
+
+ )}
-
- {showPreview && (
-
- )}
- setShowPreview(!showPreview)}
- onSave={handleSave}
- onCopy={copyContent}
- onCopyPreview={handleCopy}
- />
+ {/* Only show mobile toolbar on desktop */}
+