From aa8d038e7563467ab0941a7893c0fbbd4297d10e 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 15:47:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor(common):=20=E7=A7=BB=E9=99=A4=20NutUI?= =?UTF-8?q?=20Button=20=E5=B9=B6=E6=94=B9=E7=94=A8=20Taro=20=E5=8E=9F?= =?UTF-8?q?=E7=94=9F=20Button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `EmptyState` 和 `FixedButton` 组件替换 NutUI Button 为 Taro 原生 Button - 解决空状态按钮在微信小程序端不可见问题,确保按钮正常显示 - `FixedButton` 组件调整实现,icon 由 prop 改为 children 渲染 - 统一主色改用 tailwind 的 `bg-red-500`,弃用 NutUI primary 颜色 - 全局样式修复微信小程序原生 button 的 `::after` 灰色描边问题 - NutUI Button 引用文件数由 27 减至 25,`src/components/common/` 无 NutUI 依赖 - CMS 请求链路调整,所有 CMS 接口改用独立 `cmsRequest` 实现 --- .idea/workspace.xml | 64 +++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a9bea2b..7be24e7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,9 @@