diff --git a/frontend/index.html b/frontend/index.html index c48547b..c30660f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,7 +2,7 @@ - + `n diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg index beb2ecb..2b0f971 100644 --- a/frontend/public/favicon.svg +++ b/frontend/public/favicon.svg @@ -1,8 +1,8 @@ - - + + diff --git a/frontend/public/manifest.json b/frontend/public/manifest.json new file mode 100644 index 0000000..fb257c6 --- /dev/null +++ b/frontend/public/manifest.json @@ -0,0 +1,18 @@ +{ + "name": "智教助手 - 教师专属AI备课工具", + "short_name": "智教助手", + "description": "面向K12教师的AI备课与教学创作平台,一句话生成互动课件、教学动画、课堂游戏与智能测练", + "start_url": "/", + "display": "standalone", + "background_color": "#f5f7fa", + "theme_color": "#0f766e", + "orientation": "any", + "icons": [ + { + "src": "/favicon.svg", + "sizes": "any", + "type": "image/svg+xml", + "purpose": "any maskable" + } + ] +} diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index 33164b7..6d48896 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -401,3 +401,65 @@ html, body, #app { background: var(--primary-bg); color: var(--primary); } + +/* ===== Print Styles ===== */ +@media print { + .zj-sidebar, + .zj-header, + .floating-composer, + .create-topbar, + .result-actions, + .toolbar-actions, + .canvas-toolbar, + .prompt-toolbar, + .task-toolbar, + .quick-nav, + .help-footer, + .el-message, + .el-dialog, + .el-overlay, + .back-btn, + .action-btn, + .gen-btn, + .tool-btn, + .save-btn, + .new-task, + .points-banner, + .sidebar-bottom, + .filter-panel button, + .card-actions, + .saved-actions, + .prompt-actions, + .settings-row, + .material-row, + .input-settings, + .gen-input-section, + .guide-section, + .loading-section, + .saved-section, + nav, + aside, + header, + footer { display: none !important; } + + body { background: #fff !important; } + .page-container, + .create-body, + .create-page, + .canvas-scroll, + .result-section, + .animation-preview, + .mm-canvas-panel { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; border: none !important; } + .zj-home, + .create-page, + .page-container { padding: 0 !important; } + .html-preview-frame, + .preview-iframe { width: 100% !important; height: auto !important; min-height: 500px !important; page-break-inside: avoid; } + * { color: #000 !important; } + a { text-decoration: none !important; } + .el-card, + .el-table { box-shadow: none !important; border: 1px solid #ddd !important; } + h1, h2, h3 { page-break-after: avoid; } + .courseware-page, + .exam-question { page-break-inside: avoid; } +}