wezard 2.8.8 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +0 -6
- package/CLAUDE.md +36 -16
- package/README.md +41 -54
- package/cli/wezard.sh +3 -0
- package/config.example.jsonc +6 -8
- package/dist/cli/codex-hook.js +20 -4
- package/dist/cli/codex-hook.js.map +1 -1
- package/dist/cli/init.js +45 -8
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/skills.js +113 -0
- package/dist/cli/skills.js.map +1 -0
- package/dist/cli/sync.js +32 -112
- package/dist/cli/sync.js.map +1 -1
- package/dist/daemon/apprentice.js +75 -0
- package/dist/daemon/apprentice.js.map +1 -0
- package/dist/daemon/approval.js +78 -20
- package/dist/daemon/approval.js.map +1 -1
- package/dist/daemon/channel-context.js +69 -0
- package/dist/daemon/channel-context.js.map +1 -0
- package/dist/daemon/channel-posts.js +53 -0
- package/dist/daemon/channel-posts.js.map +1 -0
- package/dist/daemon/channel-store.js +96 -0
- package/dist/daemon/channel-store.js.map +1 -0
- package/dist/daemon/channel.js +805 -0
- package/dist/daemon/channel.js.map +1 -0
- package/dist/daemon/chat-name.js +24 -161
- package/dist/daemon/chat-name.js.map +1 -1
- package/dist/daemon/classes.js +418 -0
- package/dist/daemon/classes.js.map +1 -0
- package/dist/daemon/config-api.js +11 -3
- package/dist/daemon/config-api.js.map +1 -1
- package/dist/daemon/danger.js +24 -205
- package/dist/daemon/danger.js.map +1 -1
- package/dist/daemon/detail.js +14 -8
- package/dist/daemon/detail.js.map +1 -1
- package/dist/daemon/handoff.js +266 -50
- package/dist/daemon/handoff.js.map +1 -1
- package/dist/daemon/http.js +25 -18
- package/dist/daemon/http.js.map +1 -1
- package/dist/daemon/idle-reap.js +30 -0
- package/dist/daemon/idle-reap.js.map +1 -0
- package/dist/daemon/inbound.js +366 -143
- package/dist/daemon/inbound.js.map +1 -1
- package/dist/daemon/index.js +2232 -2616
- package/dist/daemon/index.js.map +1 -1
- package/dist/daemon/last-response.js +44 -9
- package/dist/daemon/last-response.js.map +1 -1
- package/dist/daemon/memory-steward.js +1 -1
- package/dist/daemon/memory-steward.js.map +1 -1
- package/dist/daemon/message-format.js +10 -2
- package/dist/daemon/message-format.js.map +1 -1
- package/dist/daemon/mirror-bridge.js +714 -485
- package/dist/daemon/mirror-bridge.js.map +1 -1
- package/dist/daemon/mirror-store.js +24 -0
- package/dist/daemon/mirror-store.js.map +1 -1
- package/dist/daemon/notices.js +2 -2
- package/dist/daemon/notices.js.map +1 -1
- package/dist/daemon/onboarding.js +384 -0
- package/dist/daemon/onboarding.js.map +1 -0
- package/dist/daemon/outbound.js +21 -11
- package/dist/daemon/outbound.js.map +1 -1
- package/dist/daemon/peers.js +38 -230
- package/dist/daemon/peers.js.map +1 -1
- package/dist/daemon/pending.js +7 -5
- package/dist/daemon/pending.js.map +1 -1
- package/dist/daemon/picker-policy.js +27 -12
- package/dist/daemon/picker-policy.js.map +1 -1
- package/dist/daemon/plans.js.map +1 -1
- package/dist/daemon/room-auto-adhoc.js +18 -0
- package/dist/daemon/room-auto-adhoc.js.map +1 -0
- package/dist/daemon/room-facts.js +35 -0
- package/dist/daemon/room-facts.js.map +1 -0
- package/dist/daemon/room-hub.js +430 -0
- package/dist/daemon/room-hub.js.map +1 -0
- package/dist/daemon/room-overdue.js +98 -0
- package/dist/daemon/room-overdue.js.map +1 -0
- package/dist/daemon/room-prune.js +74 -0
- package/dist/daemon/room-prune.js.map +1 -0
- package/dist/daemon/room-spawn.js +20 -0
- package/dist/daemon/room-spawn.js.map +1 -0
- package/dist/daemon/room-watchdog.js +153 -0
- package/dist/daemon/room-watchdog.js.map +1 -0
- package/dist/daemon/rooms.js +107 -0
- package/dist/daemon/rooms.js.map +1 -0
- package/dist/daemon/route.js +7 -18
- package/dist/daemon/route.js.map +1 -1
- package/dist/daemon/spawn-tmux.js +171 -55
- package/dist/daemon/spawn-tmux.js.map +1 -1
- package/dist/daemon/steward-guard.js +2 -2
- package/dist/daemon/steward.js +132 -0
- package/dist/daemon/steward.js.map +1 -0
- package/dist/daemon/tasks.js +4 -14
- package/dist/daemon/tasks.js.map +1 -1
- package/dist/daemon/turn-opening.js +25 -0
- package/dist/daemon/turn-opening.js.map +1 -0
- package/dist/daemon/wake-tail.js +55 -0
- package/dist/daemon/wake-tail.js.map +1 -0
- package/dist/daemon/weixin-cmd.js +10 -14
- package/dist/daemon/weixin-cmd.js.map +1 -1
- package/dist/daemon/wezard-session.js +7 -2
- package/dist/daemon/wezard-session.js.map +1 -1
- package/dist/daemon/wizard-names.js +0 -22
- package/dist/daemon/wizard-names.js.map +1 -1
- package/dist/daemon/wizard.js +589 -145
- package/dist/daemon/wizard.js.map +1 -1
- package/dist/mcp/output.js +6 -5
- package/dist/mcp/output.js.map +1 -1
- package/dist/mcp/tools.js +258 -236
- package/dist/mcp/tools.js.map +1 -1
- package/dist/shared/allow-rules.js +32 -8
- package/dist/shared/allow-rules.js.map +1 -1
- package/dist/shared/charter-rearm.js +179 -0
- package/dist/shared/charter-rearm.js.map +1 -0
- package/dist/shared/chat-http.js +374 -459
- package/dist/shared/chat-http.js.map +1 -1
- package/dist/shared/chat-record.js +55 -0
- package/dist/shared/chat-record.js.map +1 -0
- package/dist/shared/chat-render.js +7 -4
- package/dist/shared/chat-render.js.map +1 -1
- package/dist/shared/chat-view.js +2 -41
- package/dist/shared/chat-view.js.map +1 -1
- package/dist/shared/cli-backends.js +27 -5
- package/dist/shared/cli-backends.js.map +1 -1
- package/dist/shared/config.js +122 -38
- package/dist/shared/config.js.map +1 -1
- package/dist/shared/detail-render.js +104 -21
- package/dist/shared/detail-render.js.map +1 -1
- package/dist/shared/detail-store.js.map +1 -1
- package/dist/shared/group-members.js +35 -0
- package/dist/shared/group-members.js.map +1 -0
- package/dist/shared/inject-view.js +105 -0
- package/dist/shared/inject-view.js.map +1 -0
- package/dist/shared/json-map-store.js +23 -6
- package/dist/shared/json-map-store.js.map +1 -1
- package/dist/shared/legacy-routes.js +199 -0
- package/dist/shared/legacy-routes.js.map +1 -0
- package/dist/shared/mem-guard.js +32 -0
- package/dist/shared/mem-guard.js.map +1 -0
- package/dist/shared/message-footer.js +4 -3
- package/dist/shared/message-footer.js.map +1 -1
- package/dist/shared/pricing.js +5 -0
- package/dist/shared/pricing.js.map +1 -1
- package/dist/shared/reminder.js +30 -38
- package/dist/shared/reminder.js.map +1 -1
- package/dist/shared/repl-script.js +114 -26
- package/dist/shared/repl-script.js.map +1 -1
- package/dist/shared/role-render.js +209 -210
- package/dist/shared/role-render.js.map +1 -1
- package/dist/shared/role-view.js +61 -299
- package/dist/shared/role-view.js.map +1 -1
- package/dist/shared/room-label.js +13 -0
- package/dist/shared/room-label.js.map +1 -0
- package/dist/shared/room-migrate.js +404 -0
- package/dist/shared/room-migrate.js.map +1 -0
- package/dist/shared/room-overdue.js +81 -0
- package/dist/shared/room-overdue.js.map +1 -0
- package/dist/shared/room-search.js +102 -0
- package/dist/shared/room-search.js.map +1 -0
- package/dist/shared/room-view.js +261 -0
- package/dist/shared/room-view.js.map +1 -0
- package/dist/shared/room.js +610 -0
- package/dist/shared/room.js.map +1 -0
- package/dist/shared/session-hooks.js +58 -0
- package/dist/shared/session-hooks.js.map +1 -0
- package/dist/shared/session-label.js +80 -60
- package/dist/shared/session-label.js.map +1 -1
- package/dist/shared/session-mcp.js +77 -0
- package/dist/shared/session-mcp.js.map +1 -0
- package/dist/shared/session-skills.js +63 -0
- package/dist/shared/session-skills.js.map +1 -0
- package/dist/shared/skill-sync.js +229 -0
- package/dist/shared/skill-sync.js.map +1 -0
- package/dist/shared/smarts.js +39 -0
- package/dist/shared/smarts.js.map +1 -0
- package/dist/shared/stream-page.js +22 -0
- package/dist/shared/stream-page.js.map +1 -0
- package/dist/shared/task-file.js +0 -5
- package/dist/shared/task-file.js.map +1 -1
- package/dist/shared/task-template.js +1 -1
- package/dist/shared/task-template.js.map +1 -1
- package/dist/shared/tool-hints.js +76 -17
- package/dist/shared/tool-hints.js.map +1 -1
- package/dist/shared/workspace-trust.js +8 -0
- package/dist/shared/workspace-trust.js.map +1 -1
- package/dist/shared/world.js +101 -166
- package/dist/shared/world.js.map +1 -1
- package/dist/svr/facts-store.js +26 -0
- package/dist/svr/facts-store.js.map +1 -0
- package/dist/svr/index.js +62 -6
- package/dist/svr/index.js.map +1 -1
- package/hooks/pre-tool-use.sh +18 -0
- package/hooks/stop.sh +26 -0
- package/package.json +7 -3
- package/scripts/install.sh +11 -0
- package/skills/LICENSE.wecom-unified.txt +21 -0
- package/skills/wecom-unified/SKILL.md +151 -0
- package/skills/wecom-unified/assets/templates/broadside/DESIGN.preset.md +172 -0
- package/skills/wecom-unified/assets/templates/broadside/shell/content.jsx +31 -0
- package/skills/wecom-unified/assets/templates/broadside/slides/01_cover.slide +48 -0
- package/skills/wecom-unified/assets/templates/broadside/slides/02_section.slide +58 -0
- package/skills/wecom-unified/assets/templates/broadside/slides/03_cards.slide +53 -0
- package/skills/wecom-unified/assets/templates/broadside/slides/04_image.slide +64 -0
- package/skills/wecom-unified/assets/templates/cartesian/DESIGN.preset.md +139 -0
- package/skills/wecom-unified/assets/templates/cartesian/shell/content.jsx +28 -0
- package/skills/wecom-unified/assets/templates/cartesian/slides/01_cover.slide +44 -0
- package/skills/wecom-unified/assets/templates/cartesian/slides/02_compare.slide +79 -0
- package/skills/wecom-unified/assets/templates/cartesian/slides/03_table.slide +79 -0
- package/skills/wecom-unified/assets/templates/cobalt-grid/DESIGN.preset.md +118 -0
- package/skills/wecom-unified/assets/templates/cobalt-grid/shell/content.jsx +24 -0
- package/skills/wecom-unified/assets/templates/cobalt-grid/slides/01_cover.slide +61 -0
- package/skills/wecom-unified/assets/templates/cobalt-grid/slides/02_structure.slide +85 -0
- package/skills/wecom-unified/assets/templates/cobalt-grid/slides/03_data.slide +60 -0
- package/skills/wecom-unified/assets/templates/editorial-forest/DESIGN.preset.md +135 -0
- package/skills/wecom-unified/assets/templates/editorial-forest/shell/content.jsx +19 -0
- package/skills/wecom-unified/assets/templates/editorial-forest/slides/01_cover.slide +29 -0
- package/skills/wecom-unified/assets/templates/editorial-forest/slides/02_cards.slide +60 -0
- package/skills/wecom-unified/assets/templates/editorial-forest/slides/03_data.slide +49 -0
- package/skills/wecom-unified/assets/templates/editorial-forest/slides/04_image.slide +46 -0
- package/skills/wecom-unified/assets/templates/emerald-editorial/DESIGN.preset.md +119 -0
- package/skills/wecom-unified/assets/templates/emerald-editorial/shell/content.jsx +18 -0
- package/skills/wecom-unified/assets/templates/emerald-editorial/slides/01_cover.slide +36 -0
- package/skills/wecom-unified/assets/templates/emerald-editorial/slides/02_section.slide +39 -0
- package/skills/wecom-unified/assets/templates/emerald-editorial/slides/03_data.slide +79 -0
- package/skills/wecom-unified/assets/templates/emerald-editorial/slides/04_steps.slide +53 -0
- package/skills/wecom-unified/assets/templates/grove/DESIGN.preset.md +159 -0
- package/skills/wecom-unified/assets/templates/grove/shell/content.jsx +18 -0
- package/skills/wecom-unified/assets/templates/grove/shell/content_light.jsx +18 -0
- package/skills/wecom-unified/assets/templates/grove/slides/01_cover.slide +26 -0
- package/skills/wecom-unified/assets/templates/grove/slides/02_compare.slide +92 -0
- package/skills/wecom-unified/assets/templates/grove/slides/03_table.slide +68 -0
- package/skills/wecom-unified/assets/templates/index.json +280 -0
- package/skills/wecom-unified/assets/templates/long-table/DESIGN.preset.md +135 -0
- package/skills/wecom-unified/assets/templates/long-table/shell/content.jsx +36 -0
- package/skills/wecom-unified/assets/templates/long-table/slides/01_cover.slide +71 -0
- package/skills/wecom-unified/assets/templates/long-table/slides/02_cards.slide +72 -0
- package/skills/wecom-unified/assets/templates/long-table/slides/03_timeline.slide +81 -0
- package/skills/wecom-unified/assets/templates/long-table/slides/04_image.slide +60 -0
- package/skills/wecom-unified/assets/templates/sakura-chroma/DESIGN.preset.md +121 -0
- package/skills/wecom-unified/assets/templates/sakura-chroma/shell/content.jsx +13 -0
- package/skills/wecom-unified/assets/templates/sakura-chroma/slides/01_cover.slide +54 -0
- package/skills/wecom-unified/assets/templates/sakura-chroma/slides/02_products.slide +134 -0
- package/skills/wecom-unified/assets/templates/sakura-chroma/slides/03_section.slide +30 -0
- package/skills/wecom-unified/assets/templates/sakura-chroma/slides/04_schedule.slide +65 -0
- package/skills/wecom-unified/assets/templates/signal/DESIGN.preset.md +121 -0
- package/skills/wecom-unified/assets/templates/signal/shell/content.jsx +18 -0
- package/skills/wecom-unified/assets/templates/signal/shell/content_dark.jsx +23 -0
- package/skills/wecom-unified/assets/templates/signal/slides/01_cover.slide +48 -0
- package/skills/wecom-unified/assets/templates/signal/slides/02_cards.slide +67 -0
- package/skills/wecom-unified/assets/templates/signal/slides/03_data.slide +68 -0
- package/skills/wecom-unified/references/wecomcli-calendar-agenda.md +227 -0
- package/skills/wecom-unified/references/wecomcli-calendar-cancel.md +108 -0
- package/skills/wecom-unified/references/wecomcli-calendar-create.md +238 -0
- package/skills/wecom-unified/references/wecomcli-calendar-freebusy.md +207 -0
- package/skills/wecom-unified/references/wecomcli-calendar-meeting-room.md +170 -0
- package/skills/wecom-unified/references/wecomcli-calendar-search.md +209 -0
- package/skills/wecom-unified/references/wecomcli-calendar-update.md +272 -0
- package/skills/wecom-unified/references/wecomcli-calendar.md +296 -0
- package/skills/wecom-unified/references/wecomcli-contact.md +48 -0
- package/skills/wecom-unified/references/wecomcli-disk.md +380 -0
- package/skills/wecom-unified/references/wecomcli-doc-contents-append.md +20 -0
- package/skills/wecom-unified/references/wecomcli-doc-contents-overwrite.md +27 -0
- package/skills/wecom-unified/references/wecomcli-doc-create.md +162 -0
- package/skills/wecom-unified/references/wecomcli-doc-manage-doc-members-update.md +24 -0
- package/skills/wecom-unified/references/wecomcli-doc-manage-doc-names-update.md +20 -0
- package/skills/wecom-unified/references/wecomcli-doc-manage-doc-rules-update.md +22 -0
- package/skills/wecom-unified/references/wecomcli-doc-manage.md +127 -0
- package/skills/wecom-unified/references/wecomcli-doc.md +135 -0
- package/skills/wecom-unified/references/wecomcli-email-forward-mail.md +131 -0
- package/skills/wecom-unified/references/wecomcli-email-get-mail.md +187 -0
- package/skills/wecom-unified/references/wecomcli-email-reply-mail.md +138 -0
- package/skills/wecom-unified/references/wecomcli-email-search-mail.md +114 -0
- package/skills/wecom-unified/references/wecomcli-email-security.md +52 -0
- package/skills/wecom-unified/references/wecomcli-email-send-mail.md +186 -0
- package/skills/wecom-unified/references/wecomcli-email-send-schedule.md +83 -0
- package/skills/wecom-unified/references/wecomcli-email.md +206 -0
- package/skills/wecom-unified/references/wecomcli-media.md +89 -0
- package/skills/wecom-unified/references/wecomcli-meeting-cancel.md +113 -0
- package/skills/wecom-unified/references/wecomcli-meeting-create.md +167 -0
- package/skills/wecom-unified/references/wecomcli-meeting-list.md +228 -0
- package/skills/wecom-unified/references/wecomcli-meeting-original-get.md +101 -0
- package/skills/wecom-unified/references/wecomcli-meeting-search.md +176 -0
- package/skills/wecom-unified/references/wecomcli-meeting-update.md +217 -0
- package/skills/wecom-unified/references/wecomcli-meeting.md +366 -0
- package/skills/wecom-unified/references/wecomcli-message.md +190 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-animation.md +62 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-box.md +102 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-chart.md +261 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-codeblock.md +70 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-diagram.md +54 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-faicon.md +71 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-hyperlink.md +55 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-image.md +107 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-math.md +65 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-qrcode.md +22 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-slide.md +74 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-svg.md +95 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-table.md +72 -0
- package/skills/wecom-unified/references/wecomcli-pptx-component-text.md +96 -0
- package/skills/wecom-unified/references/wecomcli-pptx-content-contract.md +73 -0
- package/skills/wecom-unified/references/wecomcli-pptx-create-from-material.md +67 -0
- package/skills/wecom-unified/references/wecomcli-pptx-create-from-scratch.md +178 -0
- package/skills/wecom-unified/references/wecomcli-pptx-create-from-template.md +123 -0
- package/skills/wecom-unified/references/wecomcli-pptx-design-principle.md +65 -0
- package/skills/wecom-unified/references/wecomcli-pptx-government-contract.md +40 -0
- package/skills/wecom-unified/references/wecomcli-pptx-human-alignment.md +140 -0
- package/skills/wecom-unified/references/wecomcli-pptx-pptx-api.md +161 -0
- package/skills/wecom-unified/references/wecomcli-pptx-pptx-edit.md +37 -0
- package/skills/wecom-unified/references/wecomcli-pptx-story-principle.md +184 -0
- package/skills/wecom-unified/references/wecomcli-pptx-templates-README.md +165 -0
- package/skills/wecom-unified/references/wecomcli-pptx-templates-anti-ai-slop.md +52 -0
- package/skills/wecom-unified/references/wecomcli-pptx.md +158 -0
- package/skills/wecom-unified/references/wecomcli-sheet-conditional-formatting.md +203 -0
- package/skills/wecom-unified/references/wecomcli-sheet-filter.md +179 -0
- package/skills/wecom-unified/references/wecomcli-sheet-float-image.md +235 -0
- package/skills/wecom-unified/references/wecomcli-sheet-formulas.md +71 -0
- package/skills/wecom-unified/references/wecomcli-sheet-history.md +118 -0
- package/skills/wecom-unified/references/wecomcli-sheet-protection.md +170 -0
- package/skills/wecom-unified/references/wecomcli-sheet-range-operations.md +306 -0
- package/skills/wecom-unified/references/wecomcli-sheet-read-data.md +151 -0
- package/skills/wecom-unified/references/wecomcli-sheet-search-replace.md +121 -0
- package/skills/wecom-unified/references/wecomcli-sheet-structure-operations.md +394 -0
- package/skills/wecom-unified/references/wecomcli-sheet-style.md +246 -0
- package/skills/wecom-unified/references/wecomcli-sheet-table-style.md +199 -0
- package/skills/wecom-unified/references/wecomcli-sheet-validation.md +217 -0
- package/skills/wecom-unified/references/wecomcli-sheet-visual-standards.md +166 -0
- package/skills/wecom-unified/references/wecomcli-sheet-workbook.md +264 -0
- package/skills/wecom-unified/references/wecomcli-sheet-write-cells.md +320 -0
- package/skills/wecom-unified/references/wecomcli-sheet-xlsx-process.md +324 -0
- package/skills/wecom-unified/references/wecomcli-sheet.md +96 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-data-driven-pages.md +50 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-edit.md +526 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-arraylist.md +369 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-datetime.md +283 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-logic.md +247 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-math.md +362 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-operators.md +246 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-pageblock.md +76 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-reference.md +192 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-templates.md +410 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-text.md +377 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-formula-user.md +22 -0
- package/skills/wecom-unified/references/wecomcli-smartpage-mdx-syntax.md +739 -0
- package/skills/wecom-unified/references/wecomcli-smartpage.md +179 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-chart-types.md +95 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-common.md +160 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-edit.md +609 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-field-types.md +438 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-formula.md +845 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-read.md +411 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-record-values.md +218 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-ai_efficiency.md +709 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-connect_to_app.md +380 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-financial_accounting.md +369 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-hr_and_administration.md +475 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-ledger_records.md +156 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-manufacturing.md +395 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-marketing.md +186 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-office_essentials.md +299 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-personal_efficiency.md +70 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-procurement_logistics.md +325 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-project_management.md +564 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_customer.md +222 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_ops.md +105 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_project.md +109 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_research.md +92 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-sales_and_operations.md +446 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-store_management.md +431 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-team_tasks.md +274 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-wechat_customer.md +384 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-template-work_report.md +100 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-templates.md +53 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-view-types.md +373 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-webhook-examples.md +176 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet-webhook.md +186 -0
- package/skills/wecom-unified/references/wecomcli-smartsheet.md +147 -0
- package/skills/wecom-unified/references/wecomcli-todo-create.md +137 -0
- package/skills/wecom-unified/references/wecomcli-todo-delete.md +63 -0
- package/skills/wecom-unified/references/wecomcli-todo-finish.md +72 -0
- package/skills/wecom-unified/references/wecomcli-todo-get.md +69 -0
- package/skills/wecom-unified/references/wecomcli-todo-list.md +136 -0
- package/skills/wecom-unified/references/wecomcli-todo-update.md +112 -0
- package/skills/wecom-unified/references/wecomcli-todo.md +68 -0
- package/skills/wecom-unified/scripts/build_docx.py +1274 -0
- package/skills/wecom-unified/scripts/build_page.py +2449 -0
- package/skills/wecom-unified/scripts/collect.py +868 -0
- package/skills/wecom-unified/scripts/doc_image_extractor.py +498 -0
- package/skills/wecom-unified/scripts/pptx2image.py +268 -0
- package/skills/wecom-unified/scripts/recalc.py +403 -0
- package/systemd/wezard.service.template +6 -0
- package/web/chat.css +70 -273
- package/web/chat.js +2228 -2190
- package/dist/daemon/chat-log.js +0 -130
- package/dist/daemon/chat-log.js.map +0 -1
- package/dist/daemon/dispatch.js +0 -6
- package/dist/daemon/dispatch.js.map +0 -1
- package/dist/daemon/idle-nudge.js +0 -69
- package/dist/daemon/idle-nudge.js.map +0 -1
- package/dist/daemon/message-events.js +0 -1083
- package/dist/daemon/message-events.js.map +0 -1
- package/dist/daemon/pending-items.js +0 -160
- package/dist/daemon/pending-items.js.map +0 -1
- package/dist/daemon/router.js +0 -742
- package/dist/daemon/router.js.map +0 -1
- package/dist/daemon/tips.js +0 -25
- package/dist/daemon/tips.js.map +0 -1
- package/dist/daemon/wedoc.js +0 -210
- package/dist/daemon/wedoc.js.map +0 -1
- package/dist/shared/role-search.js +0 -100
- package/dist/shared/role-search.js.map +0 -1
- package/dist/shared/startup-notice.js +0 -21
- package/dist/shared/startup-notice.js.map +0 -1
- package/dist/shared/turn-state.js +0 -27
- package/dist/shared/turn-state.js.map +0 -1
- package/hooks/hooks.json +0 -16
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 教学课件
|
|
3
|
+
parent: academic
|
|
4
|
+
sub_style: 教学课件
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. 气质一句话
|
|
8
|
+
像一份安静的讲义:白底上由蓝色衬线大字撑住整页,等宽小标签当页眉页脚,全篇只有一个蓝色色阶,没有阴影、渐变和装饰线;适合大学课程的单讲课件,一页讲透一个知识点。
|
|
9
|
+
|
|
10
|
+
## 2. 色彩池
|
|
11
|
+
|
|
12
|
+
> **本节是默认配色,不是限制。** 模板只定版式:外壳、分区、字号层级、图位、标志性处理。颜色可以整体替换——按下表的「角色」一一对应给出新色值,用 `build_page.py init --map` 换色,再过 `contrast`。换色时保持角色数量不变(不多加一种彩色),本预设 §6 / §7 里关于「只用某种颜色」「禁止某色相」的话只约束默认配色。
|
|
13
|
+
| 角色 | hex | 用途 | 面积上限 |
|
|
14
|
+
|---|---|---|---|
|
|
15
|
+
| 白 white | `#FFFFFF` | 所有页面的整版底色;蓝色 tile 上的文字色;描边 tile 的填色 | 整版页 100% |
|
|
16
|
+
| 主蓝 blue | `#267EF0` | 33px 以上的衬线大标题;图表主系列;图例色块;monogram 圆章边线 | 只作大字与图形,不铺大面积底 |
|
|
17
|
+
| 面蓝 blue-surface | `#2373DA` | 承载白色小字的 tile 填色(白字对比度 4.6:1);描边 tile 的 2px 边线 | ≤ 30% |
|
|
18
|
+
| 标签蓝 blue-label | `#1F68C5` | 白底上的 15~17px 标签、脚注、序号、坐标轴与数据标签 | 仅作文字 |
|
|
19
|
+
| 深字蓝 blue-ink | `#1B539A` | 浅蓝 tile 上的文字色 | 仅作文字 |
|
|
20
|
+
| 浅蓝 `#DCEBFD` / 次浅蓝 `#ACCFFA`:tile 填色轮换与图表次系列;墨 `#10141A`:白底正文。全部取自企微 accent_blue 色阶,禁止第二色相,禁止粉色、绿色,禁止 rgba 表面色。 |
|
|
21
|
+
|
|
22
|
+
## 3. 字体系统(1280×720 换算后)
|
|
23
|
+
| 角色 | fontFamily | 字号 | 字重 | 行高 | 字距 |
|
|
24
|
+
|---|---|---|---|---|---|
|
|
25
|
+
| display-hero 封面 / 收尾大标题 | `STSong` | 中文 112(西文原 147) | 500 | 1.1 | 0 |
|
|
26
|
+
| display 金句 / 大数字 | `STSong` | 中文 84~96;数字 120~147 | 500(数字可 700) | 1.05 | 0 |
|
|
27
|
+
| headline 页面主标题 | `STSong` | 50(唯一字号,一行,≤ 20 个汉字) | 500 | 1.15 | 0 |
|
|
28
|
+
| title-card tile 标题 | `STSong` | hero tile 50 / 普通 33 | 500 | 1.15~1.2 | 0 |
|
|
29
|
+
| body 正文 | `STSong` | 20 / 卡片内 17 | 400 | 1.6 | 0 |
|
|
30
|
+
| label 页眉标签 | 中文 `Microsoft YaHei`,西文 `Courier New`(span) | 16 | 500 | 1.4 | 西文 3px / 中文 4px |
|
|
31
|
+
| caption 页脚 / tile 序号 / tile 脚标 | 同上 | 页脚 15;tile 序号 16;tile 脚标 15 | 500 | 1.4 | 西文 3px / 中文 4px |
|
|
32
|
+
| monogram 圆章字 | `Courier New` | 19 | 500 | 1 | 2px |
|
|
33
|
+
西文标签全大写;中文标签不做大写转换,用 4px 字距补足「排字机」质感。
|
|
34
|
+
|
|
35
|
+
## 4. 母版三区
|
|
36
|
+
- 页面 padding:所有页面(含封面、金句页、总结页)一律 `60px 80px 56px`,Slide 主轴 `gap: 20`;版心 x 80~1200,宽 1120。
|
|
37
|
+
- A 页眉区:内容页 y 60~166(高 106)= topbar 行(y 60~84,两端各一条 16px mono 标签)+ 12 间距 + 一行 50px 主蓝衬线标题(y 96 起)。标题只有 50px 一种字号,只许一行、最多 20 个汉字,写成结论句;超长就改写,不得缩字号或折行。封面 A 区高 88(y 60~148),左标签仍在 y 60~84,右侧放 88px 圆章。
|
|
38
|
+
- B 内容区:内容页 y 186~620,1120×434,所有页面内容只能放在这个 Box 里(tile grid 整体 434 高,2×2 小 tile 各 209 高;图表页 = 24 图例行 + 16 + 394 图表)。封面 B 区 y 168~620,1120×452,三行 112px 标题在其中垂直居中。
|
|
39
|
+
- C 页脚条:所有页面 y 640~664(高 24),左端一条 15px mono 说明(来源 / 院系名),右端 15px「课程名 · NN/总页」页码;封面右端改放主讲人与日期。每页必有,不得省略。
|
|
40
|
+
- 页码只出现在 C 区右端;topbar 右侧只放说明性标签,不放页码。monogram 圆章只出现在封面与总结页。
|
|
41
|
+
- 金句页、总结页沿用封面外壳(需要时删去圆章,左标签保留);stats、framework 等其余内容页一律用内容页外壳。
|
|
42
|
+
|
|
43
|
+
### 固定骨架
|
|
44
|
+
|
|
45
|
+
内容页外壳以本套 `shell/content.jsx` 为准(占位 `〔…〕`,B 区标记 `〔B区内容〕`),用 `scripts/build_page.py build` 拼装,不照抄手打。
|
|
46
|
+
封面 / 金句 / 总结页外壳:
|
|
47
|
+
```jsx
|
|
48
|
+
<Slide style={{ background: '#FFFFFF', padding: '60px 80px 56px', gap: 20 }}>
|
|
49
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-start', height: 88 }}>
|
|
50
|
+
<Box style={{ justifyContent: 'center', height: 24 }}>
|
|
51
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><><span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>〔年份或讲次〕</span> 〔课程名〕</></Text>
|
|
52
|
+
</Box>
|
|
53
|
+
<Box style={{ width: 88, height: 88, borderRadius: 44, border: '2px solid #267EF0', justifyContent: 'center', alignItems: 'center' }}>
|
|
54
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 19, fontWeight: 500, color: '#1F68C5', letterSpacing: 2 }}>〔讲次〕</Text>
|
|
55
|
+
</Box>
|
|
56
|
+
</Box>
|
|
57
|
+
|
|
58
|
+
<Box style={{ width: 1120, height: 452, justifyContent: 'center' }}>
|
|
59
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 112, fontWeight: 500, color: '#267EF0', lineHeight: 1.1, letterSpacing: 0, whiteSpace: 'nowrap' }}>
|
|
60
|
+
〔标题第一行,≤9 字〕<br />
|
|
61
|
+
〔标题第二行,≤9 字〕<br />
|
|
62
|
+
〔标题第三行,可删〕
|
|
63
|
+
</Text>
|
|
64
|
+
</Box>
|
|
65
|
+
|
|
66
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
67
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>〔院系名〕</Text>
|
|
68
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>〔主讲人〕 <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>/ 〔YYYY.MM.DD〕</span></></Text>
|
|
69
|
+
</Box>
|
|
70
|
+
</Slide>
|
|
71
|
+
```
|
|
72
|
+
| 区 | 页面 | x | y | w | h |
|
|
73
|
+
|---|---|---|---|---|---|
|
|
74
|
+
| A 页眉区 | 内容页 | 80 | 60 | 1120 | 106 |
|
|
75
|
+
| A · topbar 行(左右标签) | 全部页面 | 80 | 60 | 1120 | 24 |
|
|
76
|
+
| A · 标题(50px 一行) | 内容页 | 80 | 96 | 1120 | 70 |
|
|
77
|
+
| A 页眉区 | 封面类 | 80 | 60 | 1120 | 88 |
|
|
78
|
+
| A · 圆章 | 封面类 | 1112 | 60 | 88 | 88 |
|
|
79
|
+
| B 内容区 | 内容页 | 80 | 186 | 1120 | 434 |
|
|
80
|
+
| B 内容区 | 封面类 | 80 | 168 | 1120 | 452 |
|
|
81
|
+
| C 页脚条 | 全部页面 | 80 | 640 | 1120 | 24 |
|
|
82
|
+
|
|
83
|
+
封面两处占位按内容填,不要默认带出季度字样:`〔年份或讲次〕` 与圆章 `〔讲次〕` 都落在 `Courier New` 上,只能填西文和数字(如 `2026`、`LECTURE 06`、`WEEK 12`);圆章最多 4 个字符(如 `06`、`L6`、`W12`、`26`),内容没有讲次概念(专题讲座、导论课等)时填年份后两位,或按上文删去圆章。
|
|
84
|
+
|
|
85
|
+
纵向算账:内容页 60(padding-top)+ 106(A)+ 20(gap)+ 434(B)+ 20(gap)+ 24(C)+ 56(padding-bottom)= 720;封面类 60 + 88 + 20 + 452 + 20 + 24 + 56 = 720。
|
|
86
|
+
|
|
87
|
+
硬规则:所有内容页必须从此外壳复制,只替换占位文字和 B 区内部;不得改动外壳里的任何数值。B 区放不下就删内容或拆页,不得压缩页眉页脚或改 padding。
|
|
88
|
+
- 标签里没有西文时删掉对应的 `span`,只留中文;不得改 Text 的 style。
|
|
89
|
+
- B 区内部另起一层 Box 排版(横排写 `flexDirection: 'row', height: 434`,竖排写 `height: 434, gap: 16`),子项高度之和加 gap 必须等于 434。
|
|
90
|
+
- 112px 三行标题实测占 444 高,只放得进封面类的 452 高 B 区;内容页 B 区里不放 84px 以上的多行大字。
|
|
91
|
+
|
|
92
|
+
**封面标题容量(硬上限)**:112px 衬线标题,B 区 1120×452:最多 3 行,每行最多 9 个汉字;西文大写每行最多 13 个字母(含空格),西文不得自动折行,放不下就不写西文行。确需 4 行时整段降到 84px(每行最多 12 个汉字),不得保持 112px 写 4 行。标题与页脚、底带之间必须留出空隙,任何情况下标题不得压到页脚上。
|
|
93
|
+
|
|
94
|
+
**装饰与文字不重叠(硬约束)**:封面圆章占 x 1112~1200、y 60~148,封面左标签与标题不进入该区域。装饰性 SVG / Box 的矩形与任何文字容器的矩形不得相交;页型没有范例时,装饰只照本套封面或内容页范例的位置放,不另加。
|
|
95
|
+
|
|
96
|
+
### 图位(配图规则)
|
|
97
|
+
- 图位(唯一,正方形):x 80 / y 186 / 434×434,左;右侧 670 宽文字列(两块 209 高 tile)。写法见 `slides/04_image.slide`;封面、章节页及其他内容页不放图。
|
|
98
|
+
- 本套不放 AI 生成的配图(当前环境没有生图工具);图位只放合格的用户材料图,即课堂 / 实验室 / 机房照片、真实实验截图、仪器图这类重画不出来的内容(门槛见 README §5);材料里的表格、流程、对比图、公式截图一律不贴图,改用原生 `<Table>`、Box 排版或 SVG 重画。
|
|
99
|
+
- `<Image>` 只写相等的 width / height,不写 objectFit;图不加描边、相框、包边线、圆角、阴影;图注一行放图下方(C 区左端)。材料图写法见 README §5。
|
|
100
|
+
- 有合格材料图时图文页最多 2~4 张、不连续;没有就不用图文页,改用本套其他版式,不留空图位。
|
|
101
|
+
|
|
102
|
+
## 5. 版式清单
|
|
103
|
+
| 文件 | 类型 | 骨架 |
|
|
104
|
+
|---|---|---|
|
|
105
|
+
| `slides/01_cover.slide` | cover | 讲次封面:封面外壳;A 区 88 高(左「讲次 + 课程名」标签 + 右 88px 蓝框讲次圆章)→ 452 高 B 区内三行 112px 衬线标题(课程 / 本讲主题 / 西文短句)左对齐、垂直居中 → C 区两端 footline(院系名 / 主讲人与日期) |
|
|
106
|
+
| `slides/02_cards.slide` | cards | 本讲提纲:内容页外壳;B 区:左 466×434 hero tile(回顾 / 引入)+ 右 2×2(311×209)知识点 tile,填色面蓝 / 浅蓝 / 白底蓝框 / 次浅蓝轮换,每 tile 序号在上、脚标钉底 |
|
|
107
|
+
| `slides/03_data.slide` | data | 实验数据:内容页外壳;B 区:右对齐的 24 高自绘 swatch 图例行 → 16 → 394px 原生双系列柱状图(主蓝 / 次浅蓝,如两种算法在不同规模上的用时对比);标题写成一句可讲的结论;数据来源写在 C 区左端 |
|
|
108
|
+
| `slides/04_image.slide` | image | 课堂 / 实验照片:内容页外壳;B 区:左 434×434 正方形材料图位(只放用户材料图,图上不叠字)+ 右 670 宽一列两块 209 高文字 tile(上浅蓝标题 tile:标签 + 两行 33px 标题 + 钉底脚标;下白底蓝框要点 tile:标签 + 三条 17px 步骤);图注写在 C 区左端 |
|
|
109
|
+
|
|
110
|
+
## 6. 标志性处理
|
|
111
|
+
1. 衬线字重 500、零阴影、超大显示字号(封面 112、数字可到 147)——大字本身就是主视觉。
|
|
112
|
+
2. 等宽字 chrome:所有标签、脚注、序号、图例、坐标轴都是 mono 小字 + 宽字距,绝不出现在标题尺度。
|
|
113
|
+
3. 每页 topbar:左 mono 标签,右侧说明标签或圆章;每页底部都有 footline,页码固定在 footline 右端。
|
|
114
|
+
4. 白底为主:内容页一律白底,蓝色只出现在大字、tile 与图形上;需要整版重色时只用面蓝,且全篇不超过两页。
|
|
115
|
+
5. tile 填色轮换:面蓝 + 浅蓝 + 次浅蓝 + 白底蓝框 混排,绝不整排同色。
|
|
116
|
+
6. 2px 发丝线是唯一分隔语言(KPI 行上方、meta 行上方、描边 tile 边框、圆章边线)。
|
|
117
|
+
|
|
118
|
+
## 7. Do / Don't
|
|
119
|
+
Do
|
|
120
|
+
- 显示标题一律 `STSong` 字重 500,中文字距 0、行高 1.1~1.2;西文部分可用 span 收 -2px 字距。
|
|
121
|
+
- 标签和脚注一律小写字号(15~17)+ 字距 3~4px;西文用 `Courier New` 全大写,中文用 `Microsoft YaHei` span。
|
|
122
|
+
- tile 用 `borderRadius: 6`,step tile 用 8;填色 Box 直接承载文字,不加边框;只有白底 tile 加 `2px solid #2373DA`。
|
|
123
|
+
- 图表用原生 `Chart`,`colors` 只给主蓝 / 次浅蓝 / 浅蓝,`background` 等于页面底色,`showLegend={false}` 后用 17px swatch Box 自绘图例。
|
|
124
|
+
- 一页一个知识点;标题写成学生能带走的结论句(如「两种遍历用时相近,都随边数线性增长」),不写话题标签。
|
|
125
|
+
- 配图只用 `Image` 放进「图位」小节规定的 434×434 正方形图位,只放用户材料图(课堂、实验室、机房照片或真实实验截图),不写 objectFit、不加圆角,全篇不出现 AI 生成的图。
|
|
126
|
+
- 版心 padding 固定 `60px 80px 56px`,留白要围绕大字而不是均匀撒开。
|
|
127
|
+
Don't
|
|
128
|
+
- 不加 `boxShadow`、渐变、rgba 表面色、圆角 > 8。
|
|
129
|
+
- 不引入第三种字体家族,不用斜体、下划线。
|
|
130
|
+
- 不用 1px 或 ≥ 3px 的结构线;边框只有 2px / 2.5px。
|
|
131
|
+
- 不引入粉、绿、黄、紫等第二色相;白字只放在面蓝 `#2373DA` 上,不放在主蓝或更浅的蓝上。
|
|
132
|
+
- 不在一页里叠两个竞争主体(例如图表 + 卡片组);图文页里照片就是主体,不再加图表或大数字。
|
|
133
|
+
- 不在图位之外放图,不放任何 AI 生成的配图:不用图片做整版背景、tile 底纹或页眉装饰,图上不叠文字,不给图片加边框、阴影、滤色蒙层。
|
|
134
|
+
- 不在每页都放 monogram 圆章。
|
|
135
|
+
- 不省略 topbar 和 footline,不挪动它们的位置。
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<Slide style={{ background: '#FFFFFF', padding: '60px 80px 56px', gap: 20 }}>
|
|
2
|
+
<Box style={{ height: 106, gap: 12 }}>
|
|
3
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>〔章节标签〕 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>〔SECTION LABEL〕</span></></Text>
|
|
5
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>〔右侧说明〕</Text>
|
|
6
|
+
</Box>
|
|
7
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 50, fontWeight: 500, color: '#267EF0', lineHeight: 1.15, letterSpacing: 0, whiteSpace: 'nowrap' }}>〔标题〕</Text>
|
|
8
|
+
</Box>
|
|
9
|
+
|
|
10
|
+
<Box style={{ width: 1120, height: 434 }}>
|
|
11
|
+
|
|
12
|
+
〔B区内容〕
|
|
13
|
+
</Box>
|
|
14
|
+
|
|
15
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
16
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>〔来源或单位名〕</Text>
|
|
17
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>〔演示名〕 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>〔NN/总页〕</span></></Text>
|
|
18
|
+
</Box>
|
|
19
|
+
</Slide>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<Slide style={{ background: '#FFFFFF', padding: '60px 80px 56px', gap: 20 }}>
|
|
2
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-start', height: 88 }}>
|
|
3
|
+
<Box style={{ justifyContent: 'center', height: 24 }}>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><><span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>LECTURE 06</span> 数据结构课程</></Text>
|
|
5
|
+
</Box>
|
|
6
|
+
<Box style={{
|
|
7
|
+
width: 88, height: 88, borderRadius: 44, border: '2px solid #267EF0',
|
|
8
|
+
justifyContent: 'center', alignItems: 'center',
|
|
9
|
+
}}>
|
|
10
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 19, fontWeight: 500, color: '#1F68C5', letterSpacing: 2 }}>06</Text>
|
|
11
|
+
</Box>
|
|
12
|
+
</Box>
|
|
13
|
+
|
|
14
|
+
<Box style={{ width: 1120, height: 452, justifyContent: 'center' }}>
|
|
15
|
+
<Text style={{
|
|
16
|
+
fontFamily: 'STSong', fontSize: 112, fontWeight: 500,
|
|
17
|
+
color: '#267EF0', lineHeight: 1.1, letterSpacing: 0, whiteSpace: 'nowrap',
|
|
18
|
+
}}>
|
|
19
|
+
数据结构<br />
|
|
20
|
+
图的遍历<br />
|
|
21
|
+
<span style={{ letterSpacing: -2 }}>DFS · BFS</span>
|
|
22
|
+
</Text>
|
|
23
|
+
</Box>
|
|
24
|
+
|
|
25
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
26
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>计算机科学系</Text>
|
|
27
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>主讲人 · 陈明远 <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>/ 2026.10.14</span></></Text>
|
|
28
|
+
</Box>
|
|
29
|
+
</Slide>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<Slide style={{ background: '#FFFFFF', padding: '60px 80px 56px', gap: 20 }}>
|
|
2
|
+
<Box style={{ height: 106, gap: 12 }}>
|
|
3
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>本讲内容 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>OUTLINE</span></></Text>
|
|
5
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>五个部分 · 九十分钟</Text>
|
|
6
|
+
</Box>
|
|
7
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 50, fontWeight: 500, color: '#267EF0', lineHeight: 1.15, letterSpacing: 0, whiteSpace: 'nowrap' }}>本讲提纲</Text>
|
|
8
|
+
</Box>
|
|
9
|
+
|
|
10
|
+
<Box style={{ width: 1120, height: 434 }}>
|
|
11
|
+
<Box style={{ flexDirection: 'row', gap: 16, height: 434 }}>
|
|
12
|
+
<Box style={{ width: 466, height: 434, background: '#2373DA', borderRadius: 6, padding: '26px 26px 24px', justifyContent: 'space-between' }}>
|
|
13
|
+
<Box style={{ gap: 18 }}>
|
|
14
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#FFFFFF', letterSpacing: 3 }}>01</Text>
|
|
15
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 50, fontWeight: 500, color: '#FFFFFF', lineHeight: 1.15, letterSpacing: 0 }}>图的定义<br />与邻接表存储<br />回顾</Text>
|
|
16
|
+
</Box>
|
|
17
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#FFFFFF', letterSpacing: 4 }}>回顾 · REVIEW</Text>
|
|
18
|
+
</Box>
|
|
19
|
+
<Box style={{ width: 638, gap: 16 }}>
|
|
20
|
+
<Box style={{ flexDirection: 'row', gap: 16, height: 209 }}>
|
|
21
|
+
<Box style={{ width: 311, height: 209, background: '#DCEBFD', borderRadius: 6, padding: '24px 26px 22px', justifyContent: 'space-between' }}>
|
|
22
|
+
<Box style={{ gap: 14 }}>
|
|
23
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1B539A', letterSpacing: 3 }}>02</Text>
|
|
24
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 33, fontWeight: 500, color: '#1B539A', lineHeight: 1.2, letterSpacing: 0 }}>深度优先<br />递归与栈</Text>
|
|
25
|
+
</Box>
|
|
26
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1B539A', letterSpacing: 4 }}>深度优先 · DFS</Text>
|
|
27
|
+
</Box>
|
|
28
|
+
<Box style={{ width: 311, height: 209, background: '#FFFFFF', border: '2px solid #2373DA', borderRadius: 6, padding: '22px 24px 20px', justifyContent: 'space-between' }}>
|
|
29
|
+
<Box style={{ gap: 14 }}>
|
|
30
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 3 }}>03</Text>
|
|
31
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 33, fontWeight: 500, color: '#1F68C5', lineHeight: 1.2, letterSpacing: 0 }}>广度优先<br />队列与层次</Text>
|
|
32
|
+
</Box>
|
|
33
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>广度优先 · BFS</Text>
|
|
34
|
+
</Box>
|
|
35
|
+
</Box>
|
|
36
|
+
<Box style={{ flexDirection: 'row', gap: 16, height: 209 }}>
|
|
37
|
+
<Box style={{ width: 311, height: 209, background: '#ACCFFA', borderRadius: 6, padding: '24px 26px 22px', justifyContent: 'space-between' }}>
|
|
38
|
+
<Box style={{ gap: 14 }}>
|
|
39
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1B539A', letterSpacing: 3 }}>04</Text>
|
|
40
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 33, fontWeight: 500, color: '#1B539A', lineHeight: 1.2, letterSpacing: 0 }}>运行时间<br />实测对比</Text>
|
|
41
|
+
</Box>
|
|
42
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1B539A', letterSpacing: 4 }}>实验 · LAB</Text>
|
|
43
|
+
</Box>
|
|
44
|
+
<Box style={{ width: 311, height: 209, background: '#DCEBFD', borderRadius: 6, padding: '24px 26px 22px', justifyContent: 'space-between' }}>
|
|
45
|
+
<Box style={{ gap: 14 }}>
|
|
46
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1B539A', letterSpacing: 3 }}>05</Text>
|
|
47
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 33, fontWeight: 500, color: '#1B539A', lineHeight: 1.2, letterSpacing: 0 }}>连通分量<br />与课后习题</Text>
|
|
48
|
+
</Box>
|
|
49
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1B539A', letterSpacing: 4 }}>作业 · HOMEWORK</Text>
|
|
50
|
+
</Box>
|
|
51
|
+
</Box>
|
|
52
|
+
</Box>
|
|
53
|
+
</Box>
|
|
54
|
+
</Box>
|
|
55
|
+
|
|
56
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
57
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>计算机科学系</Text>
|
|
58
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>数据结构第六讲 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>02/08</span></></Text>
|
|
59
|
+
</Box>
|
|
60
|
+
</Slide>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<Slide style={{ background: '#FFFFFF', padding: '60px 80px 56px', gap: 20 }}>
|
|
2
|
+
<Box style={{ height: 106, gap: 12 }}>
|
|
3
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>运行时间 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>RUNNING TIME</span></></Text>
|
|
5
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>每组重复 <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>10</span> 次取均值</></Text>
|
|
6
|
+
</Box>
|
|
7
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 50, fontWeight: 500, color: '#267EF0', lineHeight: 1.15, letterSpacing: 0, whiteSpace: 'nowrap' }}>两种遍历用时相近,都随边数线性增长</Text>
|
|
8
|
+
</Box>
|
|
9
|
+
|
|
10
|
+
<Box style={{ width: 1120, height: 434 }}>
|
|
11
|
+
<Box style={{ height: 434, gap: 16 }}>
|
|
12
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'flex-end', alignItems: 'center', gap: 28, height: 24 }}>
|
|
13
|
+
<Box style={{ flexDirection: 'row', alignItems: 'center', gap: 10 }}>
|
|
14
|
+
<Box style={{ width: 17, height: 17, borderRadius: 2, background: '#267EF0' }} />
|
|
15
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 3 }}>DFS</Text>
|
|
16
|
+
</Box>
|
|
17
|
+
<Box style={{ flexDirection: 'row', alignItems: 'center', gap: 10 }}>
|
|
18
|
+
<Box style={{ width: 17, height: 17, borderRadius: 2, background: '#ACCFFA' }} />
|
|
19
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 3 }}>BFS</Text>
|
|
20
|
+
</Box>
|
|
21
|
+
</Box>
|
|
22
|
+
<Chart
|
|
23
|
+
style={{ height: 394 }}
|
|
24
|
+
chartType='barChart'
|
|
25
|
+
barDirection='column'
|
|
26
|
+
grouping='clustered'
|
|
27
|
+
showLegend={false}
|
|
28
|
+
showDataLabels={true}
|
|
29
|
+
axisColor='#1F68C5'
|
|
30
|
+
dataLabelColor='#1F68C5'
|
|
31
|
+
colors={['#267EF0', '#ACCFFA']}
|
|
32
|
+
background='#FFFFFF'
|
|
33
|
+
data={[
|
|
34
|
+
['边数', 'DFS 用时 ms', 'BFS 用时 ms'],
|
|
35
|
+
['1 万', 4, 4],
|
|
36
|
+
['2 万', 8, 7],
|
|
37
|
+
['5 万', 19, 18],
|
|
38
|
+
['10 万', 38, 35],
|
|
39
|
+
['20 万', 77, 71],
|
|
40
|
+
]}
|
|
41
|
+
/>
|
|
42
|
+
</Box>
|
|
43
|
+
</Box>
|
|
44
|
+
|
|
45
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
46
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>来源 · 课堂上机实测,<span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>2026</span></></Text>
|
|
47
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>数据结构第六讲 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>03/08</span></></Text>
|
|
48
|
+
</Box>
|
|
49
|
+
</Slide>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<Slide style={{ background: '#FFFFFF', padding: '60px 80px 56px', gap: 20 }}>
|
|
2
|
+
<Box style={{ height: 106, gap: 12 }}>
|
|
3
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>课堂实验 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>LAB NOTES</span></></Text>
|
|
5
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}>机房实验 · 第六周</Text>
|
|
6
|
+
</Box>
|
|
7
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 50, fontWeight: 500, color: '#267EF0', lineHeight: 1.15, letterSpacing: 0, whiteSpace: 'nowrap' }}>实验课上用邻接表分别实现两种遍历</Text>
|
|
8
|
+
</Box>
|
|
9
|
+
|
|
10
|
+
<Box style={{ width: 1120, height: 434 }}>
|
|
11
|
+
<Box style={{ flexDirection: 'row', gap: 16, height: 434 }}>
|
|
12
|
+
<Image src="https://placeholder.invalid/image.jpg" style={{ width: 434, height: 434 }} />
|
|
13
|
+
<Box style={{ width: 670, gap: 16 }}>
|
|
14
|
+
<Box style={{ width: 670, height: 209, background: '#DCEBFD', borderRadius: 6, padding: '24px 26px 22px', justifyContent: 'space-between' }}>
|
|
15
|
+
<Box style={{ gap: 14 }}>
|
|
16
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1B539A', letterSpacing: 4 }}><>实验 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>LAB</span></></Text>
|
|
17
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 33, fontWeight: 500, color: '#1B539A', lineHeight: 1.2, letterSpacing: 0 }}>同一张图上两种遍历,<br />访问顺序完全不同</Text>
|
|
18
|
+
</Box>
|
|
19
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1B539A', letterSpacing: 4 }}><>随机生成的无向图 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>1,000</span> 个顶点</></Text>
|
|
20
|
+
</Box>
|
|
21
|
+
<Box style={{ width: 670, height: 209, background: '#FFFFFF', border: '2px solid #2373DA', borderRadius: 6, padding: '22px 24px 20px', gap: 14 }}>
|
|
22
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>步骤 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>STEPS</span></></Text>
|
|
23
|
+
<Box style={{ gap: 8 }}>
|
|
24
|
+
<Box style={{ flexDirection: 'row', gap: 12 }}>
|
|
25
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 3, lineHeight: 1.7, width: 28 }}>01</Text>
|
|
26
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 17, fontWeight: 400, color: '#10141A', lineHeight: 1.6, letterSpacing: 0 }}>先用邻接表读入图,并给每个顶点设置访问标记</Text>
|
|
27
|
+
</Box>
|
|
28
|
+
<Box style={{ flexDirection: 'row', gap: 12 }}>
|
|
29
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 3, lineHeight: 1.7, width: 28 }}>02</Text>
|
|
30
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 17, fontWeight: 400, color: '#10141A', lineHeight: 1.6, letterSpacing: 0 }}>深度优先用递归实现,广度优先用队列逐层扩展</Text>
|
|
31
|
+
</Box>
|
|
32
|
+
<Box style={{ flexDirection: 'row', gap: 12 }}>
|
|
33
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 500, color: '#1F68C5', letterSpacing: 3, lineHeight: 1.7, width: 28 }}>03</Text>
|
|
34
|
+
<Text style={{ fontFamily: 'STSong', fontSize: 17, fontWeight: 400, color: '#10141A', lineHeight: 1.6, letterSpacing: 0 }}>记录两种遍历的访问序列与用时,填入实验报告</Text>
|
|
35
|
+
</Box>
|
|
36
|
+
</Box>
|
|
37
|
+
</Box>
|
|
38
|
+
</Box>
|
|
39
|
+
</Box>
|
|
40
|
+
</Box>
|
|
41
|
+
|
|
42
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
43
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>图 · 机房里同学们在调试遍历程序,<span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>2026.10</span></></Text>
|
|
44
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 15, fontWeight: 500, color: '#1F68C5', letterSpacing: 4 }}><>数据结构第六讲 · <span style={{ fontFamily: 'Courier New', letterSpacing: 3 }}>05/08</span></></Text>
|
|
45
|
+
</Box>
|
|
46
|
+
</Slide>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 开场宣讲
|
|
3
|
+
source: beautiful-html-templates/emerald-editorial (MIT, Zara Zhang)
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## 1. 气质一句话
|
|
8
|
+
像一本时尚杂志的封面或十九世纪的剧院海报:粗黑巨字居中排布、只有大数字与西文编号留衬线,双线饰条把居中的字括起来,企业微信品牌蓝与白两色,直角、无阴影、无渐变,全靠白面板、浅蓝色块和 3px 线做层次。
|
|
9
|
+
|
|
10
|
+
## 2. 色彩池
|
|
11
|
+
|
|
12
|
+
> **本节是默认配色,不是限制。** 模板只定版式:外壳、分区、字号层级、图位、标志性处理。颜色可以整体替换——按下表的「角色」一一对应给出新色值,用 `build_page.py init --map` 换色,再过 `contrast`。换色时保持角色数量不变(不多加一种彩色),本预设 §6 / §7 里关于「只用蓝白」「禁止第二种彩色」的话只约束默认配色。
|
|
13
|
+
|
|
14
|
+
| 角色 | hex | 用途 | 面积上限 |
|
|
15
|
+
|---|---|---|---|
|
|
16
|
+
| 品牌蓝 accent_blue | `#267EF0` | 全套的色相基准;白面板上的 3px 线、图表主系列等非文字元素 | 非文字元素不限 |
|
|
17
|
+
| 承字蓝 darken_1 | `#2373DA` | 整版底色、白 tile 内的大数字与 delta pill 底、白面板上的巨型编号;与白互为文字 / 背景时对比 4.63:1 | 整版 100% |
|
|
18
|
+
| 白 | `#FFFFFF` | 蓝底上的全部文字与 3px 线;章节页半幅面板;KPI tile 底;蓝底上的 pill 底 | 内容页 ≤ 50%,章节页 50% |
|
|
19
|
+
| 深蓝 darken_5 | `#1A4785` | 白面板 / 浅蓝 tile 上的标签、大数字、说明、pill 底(对白 9.2:1,对浅蓝 7.6:1) | 只做文字与 pill |
|
|
20
|
+
| 浅蓝 lighten_5 | `#DCEBFD` | 交替 tile 的底色,图表次系列 | ≤ 30%,只在 tile 轮换里出现 |
|
|
21
|
+
| 中性:近黑 `#10141A`(白 tile 内说明文字)、灰 `#6D7176`(只可用在白底上,4.9:1)、`#E7E7E8`(白面板内的分隔)。禁止蓝以外的任何彩色。 |
|
|
22
|
+
对比度纪律:`#267EF0` 与白互为文字 / 背景只有 3.94:1,因此凡是承载文字的蓝面一律用 `#2373DA`,凡是白底上的蓝字一律用 `#2373DA` 或 `#1A4785`;`#6D7176` 不放在浅蓝 tile 上(4.0:1)。
|
|
23
|
+
|
|
24
|
+
## 3. 字体系统(1280×720 换算后)
|
|
25
|
+
| 角色 | fontFamily | 字号 | 字重 | 行高 | 字距 |
|
|
26
|
+
|---|---|---|---|---|---|
|
|
27
|
+
| numeral-jumbo 章节巨型编号 | 纯西文 / 数字保留 `Times New Roman`;中文用 `Microsoft YaHei` 700 | 300(原 460) | 900 | 0.9 | -8px |
|
|
28
|
+
| display-cover 封面大字 | `Microsoft YaHei` | 中文 116(西文原 123) | 700 | 1.0 | 0 |
|
|
29
|
+
| display 章节标题 / KPI 引导标题 | `Microsoft YaHei` | 中文 76~78(原 130 → 87) | 700 | 1.1 | 0 |
|
|
30
|
+
| headline 常规页标题 | `Microsoft YaHei` | 中文 54(原 92 → 61) | 700 | 1.1 | 0 |
|
|
31
|
+
| ornament-word 饰条连接词 | `Microsoft YaHei` | 45 | 700 | 1.0 | 0 |
|
|
32
|
+
| kpi-figure 大数字 | `STSong` | 90,单位 span 40 | 900 | 1.0 | -3px(单位 0) |
|
|
33
|
+
| title-card tile 标题 | `Microsoft YaHei` | 30~40 | 700 | 1.1 | 0 |
|
|
34
|
+
| body 正文 / 导语 | `Microsoft YaHei` | 18~19,tile 内 15 | 400 | 1.55~1.65 | 0 |
|
|
35
|
+
| eyebrow 引导标签 | `Microsoft YaHei` | 17~18 | 700 | 1.4 | 5px |
|
|
36
|
+
| label masthead / footline / 面板四角 | `Microsoft YaHei`;西文数字 `Courier New` span | 16 | 700 | 1.4 | 3px |
|
|
37
|
+
| tag pill 文字 | `Microsoft YaHei`(西文 `Courier New`) | 14 | 700 | 1.2 | 2~3px |
|
|
38
|
+
中文不做大写转换,靠 700 字重 + 3~5px 字距维持 chrome 质感;西文全大写。**衬线只留给大数字与西文编号**(KPI 90px 数字用 `STSong` 900,「Q3」「2026」这类纯西文用 `Times New Roman`),其余一切标题、连接词、tile 标题一律 `Microsoft YaHei` 700——2026-09-22 按用户要求从衬线改过来。
|
|
39
|
+
|
|
40
|
+
## 4. 母版三区
|
|
41
|
+
- 页面 padding:默认 `44px 73px 44px`(原 110/110/70 → 73/73/47 微调);封面 `40px 73px`;章节页 padding 0,左右两个 640×720 面板各自内 padding `52~60px 60px 56px`。
|
|
42
|
+
- A 标题块:y 44~68 masthead(两端 16px 标签);y 92~326 标题块(eyebrow + 两行 76px 标题,右侧可放 400px 宽说明段底对齐)。
|
|
43
|
+
- B 内容区:y 350~676,宽 1134(KPI tile 行高 326;图表卡 / 步骤 tile 同区)。
|
|
44
|
+
- C 页脚条:封面与收尾页在 y 656~680 放 footline;内容页不放 footline,用顶部 masthead 承担页码。
|
|
45
|
+
- 标题与页码位置全篇固定:masthead 左 73、右 73;标题块左 73。
|
|
46
|
+
|
|
47
|
+
### 固定骨架
|
|
48
|
+
|
|
49
|
+
纵向算账:44(padding-top)+ 24(masthead)+ 24(gap)+ 234(标题块)+ 24(gap)+ 326(B 区 tile 行)+ 44(padding-bottom)= 720。
|
|
50
|
+
横向算账:73 + 1134 + 73 = 1280;B 区 1134 = 4 × 270 + 3 × 18(KPI 行),或 3 × 366 + 2 × 18(三栏行)。
|
|
51
|
+
|
|
52
|
+
内容页外壳以本套 `shell/content.jsx` 为准(占位 `〔…〕`,B 区标记 `〔B区内容〕`),用 `scripts/build_page.py build` 拼装,不照抄手打。Slide style 逐字为 `width: 1280, height: 720, background: '#2373DA', padding: '44px 73px 44px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei'`。
|
|
53
|
+
|
|
54
|
+
封面与章节页有各自的整版版式(见 §5),不套用本外壳;但它们的 masthead / footline 左右边距同为 73,与内容页对齐。
|
|
55
|
+
|
|
56
|
+
| 区 | x | y | w | h |
|
|
57
|
+
|---|---|---|---|---|
|
|
58
|
+
| masthead 行 | 73 | 44 | 1134 | 24 |
|
|
59
|
+
| 标题块(eyebrow + 标题 + 右侧导语) | 73 | 92 | 1134 | 234 |
|
|
60
|
+
| B 区 tile 行 | 73 | 350 | 1134 | 326 |
|
|
61
|
+
| KPI tile(4 张) | 73 起,步进 288 | 350 | 270 | 326 |
|
|
62
|
+
| 三栏 tile(3 张) | 73 起,步进 384 | 350 | 366 | 326 |
|
|
63
|
+
|
|
64
|
+
所有内容页必须从此外壳复制,只替换占位文字和 B 区内部;不得改动外壳里的任何数值。B 区放不下就删内容或拆页,不得压缩 masthead / 标题块或改 padding。
|
|
65
|
+
|
|
66
|
+
**标题容量(硬上限)**:标题块里的 76px 标题行高 1.1,**最多 2 行**,换行只写 `<br />`(字符串里直接回车会被折成空格,编译器按一行量高度,标题下溢 76px 被 tile 盖住);`STSong` 900 在 76px 下每行最多 11 个汉字(右侧 400px 导语占位,标题右边界不得越过 x 734)。eyebrow 一行、≤ 14 个汉字。右侧导语 18px / 行高 1.6、宽 400,最多 4 行(≤ 88 字)。超了改写文案,不得加行、不得缩字号。
|
|
67
|
+
**封面大字容量**:116px `STSong` 900 居中舞台,双线饰条上下各一行,**每行最多 6 个汉字**,只有两行,不得加第三行。
|
|
68
|
+
|
|
69
|
+
**装饰与文字不重叠(硬约束)**:双线饰条是封面与 statement 页的专属件,左右两条 3px 线靠 `flex: 1` 撑满,中间连接词占 45px,整条独占一行,上下与大字各留 ≥ 24px,不得与任何文字容器相交。章节页 300px 巨型编号必须落在左半幅白面板内,四角标签距面板边 16px;巨型编号与右半幅文字分处两个面板,不会相交。装饰性 Box 与任何文字容器的矩形不得相交;页型没有对应样例时,装饰只照本套内容页的位置放,不另加。
|
|
70
|
+
|
|
71
|
+
### 图位(配图规则)
|
|
72
|
+
- 本套不放 AI 生成的配图(当前环境没有生图工具):封面、章节页、内容页都以 §6 的标志性处理作主视觉。
|
|
73
|
+
- 只有用户提供的材料图可以上页,作为证据图,每页最多一张。图位是 B 区 tile 行里替换掉相邻两张 KPI tile 的一个正方形块:x 73 / y 350 / 326×326(右侧 790 宽继续放 tile 或说明);按真实比例居中放置(`<Image>` 宽高 = 图位边长按真实宽高比缩放),不写 objectFit,不加描边、相框、圆角、阴影,图注一行放图下方的 tile 内。
|
|
74
|
+
- 材料图上页的门槛:只有照片、真实图表、界面截图这类重画不出来的内容才放,且原图短边 ≥ 326。材料里的表格、流程图、对比图、文字截图一律不贴图,改用原生 `<Table>`、`<Chart>`、Box 排版或 SVG 重画;重画不了又不清晰的,宁可不放。
|
|
75
|
+
- 图位宽高不得改;没有材料图就不留图位,不得用白面板或浅蓝 tile 冒充图片——本套的白块是版式语言,不是图片替身。
|
|
76
|
+
|
|
77
|
+
## 5. 版式清单
|
|
78
|
+
| 文件 | 类型 | 骨架 |
|
|
79
|
+
|---|---|---|
|
|
80
|
+
| `slides/01_cover.slide` | cover | 蓝整版、全白字;居中舞台:40px 引言 → 116px 大字 → 双线饰条(左右 flex:1 两条 3px 白线 + 45px 连接词「之」)→ 116px 大字 → 18px 署名;底部两端 masthead |
|
|
81
|
+
| `slides/02_section.slide` | section | 左 640×720 白面板(四角 16px 深蓝标签 + 300px Times New Roman 蓝色巨型「Q3」)+ 右蓝半幅(白色 eyebrow、78px 两行标题、19px 导语;底部 3px 白线 + 三枚白底深蓝字方角 pill) |
|
|
82
|
+
| `slides/03_data.slide` | data | 蓝整版;白色 masthead → 左 eyebrow + 76px 两行标题、右 400px 说明段 → 4×270×326 KPI tile,白 / 浅蓝交替,每张:14px 深蓝标签、90px 大数字 + 40px 单位(白 tile 用 `#2373DA`,浅蓝 tile 用 `#1A4785`)、白字 delta pill、15px 说明钉底 |
|
|
83
|
+
| `slides/04_steps.slide` | steps | 蓝整版;同一 masthead 与标题块 → 3×366×326 阶段 tile,白 / 浅蓝交替,每张:14px 深蓝阶段标签(西文季度用 `Courier New` span)、36px 衬线阶段名、310×3px 同色线、15px 正文钉底 |
|
|
84
|
+
|
|
85
|
+
未移植:① agenda 议程行——每行 3px 白线上下封边的三栏(87px 序号 / 标题 / 213px 类别标签),5 行填满版心;② chart-card 数据研究页——左白卡装原生柱图(`#267EF0` / `#ACCFFA` 双系列、网格线 `#E7E7E8`),右侧 tag pill + 32px 结论标题 + 正文。
|
|
86
|
+
|
|
87
|
+
## 6. 标志性处理
|
|
88
|
+
1. 双线饰条:居中词两侧各两条 3px 线(间距 2px),必须左右对称;蓝底上用白线,白面板上用 `#267EF0` 线;用于封面「X 之 Y」和 statement 页的连接词。
|
|
89
|
+
2. 粗黑巨字:`Microsoft YaHei` 700、行高 1.0~1.1、封面 116px;衬线只在大数字与 300px 西文编号上出现,巨型编号只放在白面板上,用 `#2373DA`。
|
|
90
|
+
3. 白面板 / tile:蓝底上的白块是「抬升」语言,浅蓝 `#DCEBFD` tile 交替打破单调,全部直角。
|
|
91
|
+
4. 3px 线:所有分隔(段落之间、tile 内、列表行)都是同一根线,绝不用 1px。
|
|
92
|
+
5. masthead / footline:封面与收尾页顶底各一行两端对齐的 700 字重白色标签。
|
|
93
|
+
6. 方角 pill:标记 / 标签 / delta 都是无圆角小色块;蓝底上为白底深蓝字,白 tile 内为 `#2373DA` 底白字,浅蓝 tile 内为 `#1A4785` 底白字。
|
|
94
|
+
|
|
95
|
+
## 7. Do / Don't
|
|
96
|
+
Do
|
|
97
|
+
- 显示标题一律 `Microsoft YaHei` 字重 700,中文字距 0、行高 1.0~1.1;KPI 大数字用 `STSong` 900,纯西文与数字的巨型编号用 `Times New Roman`。
|
|
98
|
+
- 标签、eyebrow、pill、footline 一律 `Microsoft YaHei` 700 + 3~5px 字距;30px 以下的西文 / 数字标签用 `Courier New` span 全大写。
|
|
99
|
+
- 所有 Box 不写 `borderRadius`;分隔线用 `<Box style={{ height: 3, background: '#FFFFFF' }} />`(白面板上换 `#267EF0`)。
|
|
100
|
+
- 蓝面上的文字只用 `#FFFFFF`;白面板上标题与数字用 `#2373DA` 或 `#1A4785`,正文用 `#10141A` / `#6D7176`;浅蓝 tile 上的文字只用 `#1A4785`。
|
|
101
|
+
- 承载文字的蓝面写 `#2373DA`,不承载文字的蓝色元素(线、图表系列、色条)写 `#267EF0`。
|
|
102
|
+
- 一页一个巨型标题 + 3~4 个支撑元素;tile 内尾部说明用 `justifyContent: 'space-between'` 钉底。
|
|
103
|
+
- 图表用原生 `Chart`,装进白卡,`colors={['#267EF0', '#ACCFFA']}`、`background='#FFFFFF'`。
|
|
104
|
+
Don't
|
|
105
|
+
- 不加 `boxShadow`、`textShadow`、渐变、模糊。
|
|
106
|
+
- 不用圆角,不用 1~2px 结构线(2px 只给图表网格线)。
|
|
107
|
+
- 不把 300px 巨型编号直接放在蓝底上,必须有白面板托底。
|
|
108
|
+
- 不在蓝底上放浅蓝或灰色小字(`#DCEBFD` 对蓝 3.8:1、灰更低),不在白底上放 `#65A4F5` 及更浅的蓝字。
|
|
109
|
+
- 不出现蓝以外的彩色;浅蓝只做 tile 轮换,不做整版底。
|
|
110
|
+
- 不引入第四种字体,不用斜体、下划线;标题字重 700。
|
|
111
|
+
- 不在一页里堆六个以上小元素;不做正文居中(只有封面舞台居中)。
|
|
112
|
+
|
|
113
|
+
## 8. 移植取舍
|
|
114
|
+
- grid:KPI 四栏、章节页两栏都改为 row + 固定 px(270×4 + 18×3 = 1134;640 + 640)。
|
|
115
|
+
- 双线饰条:原 CSS 伪元素改为两组嵌套 Box,各含两条 3px 高 Box,`flex: 1` 撑满两侧。
|
|
116
|
+
- 字体:原模板高反差衬线 display → 中文标题 `Microsoft YaHei`(700,2026-09-22 起)、KPI 大数字 `STSong`(900)、西文与数字 `Times New Roman`;原模板无衬线正文 → `Microsoft YaHei`(700 / 400);`Courier New` 只承担 30px 以下的西文数字标签;大写转换改为直接书写大写。
|
|
117
|
+
- 配色:原模板的绿、深藏青、米纸三色整体换为品牌蓝、白、浅蓝;深色面板的角色交给白面板,文字色按所在底色逐个重定而非互换。
|
|
118
|
+
- 巨型编号 460px → 300px,仅当内容为纯西文时用 `Times New Roman`,中文编号改用 `STSong` 并进一步降至 240px 左右。
|
|
119
|
+
- 绝对定位 masthead / footline 改为 Slide 主轴 `space-between` 的首末子项;单线 / 无线饰条变体、动画与舞台缩放放弃。
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<Slide style={{ width: 1280, height: 720, background: '#2373DA', padding: '44px 73px 44px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei' }}>
|
|
2
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 24 }}>
|
|
3
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#FFFFFF', letterSpacing: 3 }}>〔刊头左〕</Text>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#FFFFFF', letterSpacing: 3 }}>〔刊头右 · NN〕</Text>
|
|
5
|
+
</Box>
|
|
6
|
+
|
|
7
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', height: 234 }}>
|
|
8
|
+
<Box style={{ gap: 12 }}>
|
|
9
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 17, fontWeight: 700, color: '#FFFFFF', letterSpacing: 5 }}>〔引导标签〕</Text>
|
|
10
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 76, fontWeight: 700, color: '#FFFFFF', lineHeight: 1.1, letterSpacing: 0 }}>〔标题〕</Text>
|
|
11
|
+
</Box>
|
|
12
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 400, color: '#FFFFFF', lineHeight: 1.6, width: 400, marginBottom: 8 }}>〔右侧导语〕</Text>
|
|
13
|
+
</Box>
|
|
14
|
+
|
|
15
|
+
<Box style={{ flexDirection: 'row', gap: 18, height: 326 }}>
|
|
16
|
+
〔B区内容〕
|
|
17
|
+
</Box>
|
|
18
|
+
</Slide>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<Slide style={{ background: '#2373DA', padding: '40px 73px 40px', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2
|
+
<Box style={{ height: 24, width: 1134 }} />
|
|
3
|
+
|
|
4
|
+
<Box style={{ alignItems: 'center', width: 1134 }}>
|
|
5
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 40, fontWeight: 700, color: '#FFFFFF', lineHeight: 1.1, letterSpacing: 2, textAlign: 'center' }}>
|
|
6
|
+
<><span style={{ fontFamily: 'Times New Roman', letterSpacing: 0 }}>2026</span> · 第三季度</>
|
|
7
|
+
</Text>
|
|
8
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 116, fontWeight: 700, color: '#FFFFFF', lineHeight: 1.0, letterSpacing: 0, textAlign: 'center', marginTop: 10 }}>
|
|
9
|
+
业务回顾
|
|
10
|
+
</Text>
|
|
11
|
+
<Box style={{ flexDirection: 'row', alignItems: 'center', gap: 22, width: 1134, height: 52, marginTop: 14 }}>
|
|
12
|
+
<Box style={{ flex: 1, gap: 2 }}>
|
|
13
|
+
<Box style={{ height: 3, background: '#FFFFFF' }} />
|
|
14
|
+
<Box style={{ height: 3, background: '#FFFFFF' }} />
|
|
15
|
+
</Box>
|
|
16
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 45, fontWeight: 700, color: '#FFFFFF', lineHeight: 1.0, letterSpacing: 0 }}>之</Text>
|
|
17
|
+
<Box style={{ flex: 1, gap: 2 }}>
|
|
18
|
+
<Box style={{ height: 3, background: '#FFFFFF' }} />
|
|
19
|
+
<Box style={{ height: 3, background: '#FFFFFF' }} />
|
|
20
|
+
</Box>
|
|
21
|
+
</Box>
|
|
22
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 116, fontWeight: 700, color: '#FFFFFF', lineHeight: 1.0, letterSpacing: 0, textAlign: 'center', marginTop: 14 }}>
|
|
23
|
+
增长与效率
|
|
24
|
+
</Text>
|
|
25
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 700, color: '#FFFFFF', letterSpacing: 5, textAlign: 'center', marginTop: 30 }}>
|
|
26
|
+
面向管理层的企业微信季度汇报
|
|
27
|
+
</Text>
|
|
28
|
+
</Box>
|
|
29
|
+
|
|
30
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', width: 1134, height: 24 }}>
|
|
31
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#FFFFFF', letterSpacing: 3 }}>战略与运营部 出品</Text>
|
|
32
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#FFFFFF', letterSpacing: 3 }}>
|
|
33
|
+
<>二〇二六年十月 · <span style={{ fontFamily: 'Courier New', letterSpacing: 2 }}>VOL. 03</span></>
|
|
34
|
+
</Text>
|
|
35
|
+
</Box>
|
|
36
|
+
</Slide>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<Slide style={{ background: '#2373DA', padding: 0, flexDirection: 'row' }}>
|
|
2
|
+
<Box style={{ width: 640, height: 720, background: '#FFFFFF', padding: '52px 60px 56px', justifyContent: 'space-between' }}>
|
|
3
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
4
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#1A4785', letterSpacing: 3 }}>第一章 · 季度概览</Text>
|
|
5
|
+
<Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 700, color: '#1A4785', letterSpacing: 2 }}>8 MIN</Text>
|
|
6
|
+
</Box>
|
|
7
|
+
<Text style={{ fontFamily: 'Times New Roman', fontSize: 300, fontWeight: 900, color: '#2373DA', lineHeight: 0.9, letterSpacing: -8, textAlign: 'center' }}>Q3</Text>
|
|
8
|
+
<Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
9
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#1A4785', letterSpacing: 3 }}>总览</Text>
|
|
10
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 16, fontWeight: 700, color: '#1A4785', letterSpacing: 3 }}>四个主题</Text>
|
|
11
|
+
</Box>
|
|
12
|
+
</Box>
|
|
13
|
+
|
|
14
|
+
<Box style={{ width: 640, height: 720, padding: '60px 64px 56px 56px', justifyContent: 'space-between' }}>
|
|
15
|
+
<Box style={{ gap: 24 }}>
|
|
16
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 17, fontWeight: 700, color: '#FFFFFF', letterSpacing: 5 }}>本季度的一次通读</Text>
|
|
17
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 78, fontWeight: 700, color: '#FFFFFF', lineHeight: 1.1, letterSpacing: 0 }}>
|
|
18
|
+
三季度,<br />回顾与判断
|
|
19
|
+
</Text>
|
|
20
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 19, fontWeight: 400, color: '#FFFFFF', lineHeight: 1.65, marginTop: 6 }}>
|
|
21
|
+
先说清楚这个季度什么变了、什么没变,以及未来几周团队最该把注意力放在哪里。这一章为后面的数据与决策定下基调。
|
|
22
|
+
</Text>
|
|
23
|
+
</Box>
|
|
24
|
+
<Box style={{ gap: 14 }}>
|
|
25
|
+
<Box style={{ height: 3, background: '#FFFFFF' }} />
|
|
26
|
+
<Box style={{ flexDirection: 'row', gap: 10, flexWrap: 'wrap' }}>
|
|
27
|
+
<Box style={{ background: '#FFFFFF', padding: '7px 15px' }}>
|
|
28
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 14, fontWeight: 700, color: '#1A4785', letterSpacing: 3 }}>三个主题</Text>
|
|
29
|
+
</Box>
|
|
30
|
+
<Box style={{ background: '#FFFFFF', padding: '7px 15px' }}>
|
|
31
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 14, fontWeight: 700, color: '#1A4785', letterSpacing: 3 }}>两项决策</Text>
|
|
32
|
+
</Box>
|
|
33
|
+
<Box style={{ background: '#FFFFFF', padding: '7px 15px' }}>
|
|
34
|
+
<Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 14, fontWeight: 700, color: '#1A4785', letterSpacing: 3 }}>一个待答问题</Text>
|
|
35
|
+
</Box>
|
|
36
|
+
</Box>
|
|
37
|
+
</Box>
|
|
38
|
+
</Box>
|
|
39
|
+
</Slide>
|