feat: add heritage discovery tab and AIGC consent dialog

- Add new HeritageDiscoverySection and HeritageQuickPrompts components for dedicated heritage discovery view
- Implement reusable AigcConsentDialog component for AI service user agreement prompts
- Update Discovery page to toggle between explore and heritage tab layouts
- Refactor legacy CardSwiper component into generic ExploreCards
- Adjust ChatMainList layout to include home hero sprite animation and restructure welcome section
- Refine NoticeMessage component styling and layout for better consistency
- Add build best practices guidance to AGENTS.md documentation
- Clean up minor config whitespace and formatting issues across files
This commit is contained in:
duanshuwen
2026-07-05 14:56:55 +08:00
parent 251f92bc1a
commit ca680ab41b
16 changed files with 1021 additions and 125 deletions

View File

@@ -123,6 +123,9 @@ yarn switch-client <client-name>
仓库当前没有明确的测试脚本。完成修改后至少做对应平台构建或运行:
- 本地开发阶段不需要频繁使用 `yarn build:mp-weixin` 做构建验证;优先按变更范围使用 `yarn dev:h5``yarn dev:mp-weixin``git diff --check` 或页面手动检查。
- 仅在涉及微信小程序编译能力、发布前验证、依赖/配置变更、跨端兼容风险,或用户明确要求时,再运行 `yarn build:mp-weixin`
```bash
yarn build:mp-weixin
```