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 @@
-
+
+
+
@@ -57,7 +59,7 @@
-
+
@@ -80,8 +82,8 @@
-
+
@@ -118,31 +120,7 @@
-
-
-
-
- 1782803960387
-
-
-
- 1782803960387
-
-
-
- 1782803963602
-
-
-
- 1782803963602
-
-
-
- 1782804027400
-
-
-
- 1782804027400
+
@@ -512,7 +490,31 @@
1786417481138
-
+
+
+ 1786417523542
+
+
+
+ 1786417523542
+
+
+
+ 1786417577350
+
+
+
+ 1786417577350
+
+
+
+ 1786417944432
+
+
+
+ 1786417944432
+
+
@@ -532,7 +534,6 @@
-
@@ -557,7 +558,8 @@
-
+
+
\ No newline at end of file