From 2e80a49ca100ca9ec7d1e518e18349b775edebde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 11 Aug 2026 08:48:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(official):=20=E5=AE=9E=E7=8E=B0=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=AE=98=E7=BD=91=E5=88=86=E5=8C=85=E5=8F=8A=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增官方分包目录及页面(首页、资讯列表、详情、关于我们、留言、我的) - 自定义实现底部导航组件 OfficialTabBar,解决微信 tabBar 不支持分包问题 - 统一接口调用走 shop-api 代理,无新增 CMS 域名,减少合法域名负担 - 新增 CMS 站点信息获取接口及留言咨询提交与查询接口 - 设计并完善官网富文本样式,品牌色统一为 #185FA5,并更新 tailwind 配置 - 首页新增企业官网入口卡片,方便用户访问官网内容 - 完成官网分包构建验证,解决 Taro 构建批量删除保护问题 - 规范 CMS 字段使用,适配字段名称及状态含义 - 后续计划对历史页面 NutUI 组件进行空壳化整改,及更新 UI 设计文档 --- .idea/workspace.xml | 33 ++-- .workbuddy/memory/2026-08-11.md | 31 ++++ .workbuddy/memory/MEMORY.md | 11 ++ src/api/cms/cmsContactLead/index.ts | 31 ++++ src/api/cms/cmsContactLead/model/index.ts | 36 +++++ src/api/cms/cmsWebsite/index.ts | 13 ++ src/api/official/index.ts | 19 +++ src/app.config.ts | 11 ++ src/app.scss | 72 +++++++++ src/official/about/index.tsx | 66 ++++++++ src/official/article-detail/index.tsx | 61 ++++++++ src/official/article/index.tsx | 72 +++++++++ src/official/components/ArticleCard.tsx | 49 ++++++ src/official/components/OfficialTabBar.tsx | 38 +++++ src/official/components/SectionTitle.tsx | 29 ++++ src/official/index/index.tsx | 166 +++++++++++++++++++++ src/official/message/index.tsx | 111 ++++++++++++++ src/official/mine/index.tsx | 66 ++++++++ src/pages/index/index.tsx | 12 ++ tailwind.config.js | 15 +- 20 files changed, 926 insertions(+), 16 deletions(-) create mode 100644 src/api/cms/cmsContactLead/index.ts create mode 100644 src/api/cms/cmsContactLead/model/index.ts create mode 100644 src/api/official/index.ts create mode 100644 src/official/about/index.tsx create mode 100644 src/official/article-detail/index.tsx create mode 100644 src/official/article/index.tsx create mode 100644 src/official/components/ArticleCard.tsx create mode 100644 src/official/components/OfficialTabBar.tsx create mode 100644 src/official/components/SectionTitle.tsx create mode 100644 src/official/index/index.tsx create mode 100644 src/official/message/index.tsx create mode 100644 src/official/mine/index.tsx diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 84984d1..6cc1ac3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,10 +4,13 @@