ソースを参照

🔧 fix: 修复订单状态宫格图标与文字对齐问题

- 修复图标容器布局,添加flex居中
- 修复标题文字对齐方式,确保居中显示
- 解决真机中图标偏左显示问题

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname 1 ヶ月 前
コミット
76288976e2
1 ファイル変更5 行追加0 行削除
  1. 5 0
      mini/src/components/tdesign/order-group/index.css

+ 5 - 0
mini/src/components/tdesign/order-group/index.css

@@ -54,6 +54,8 @@
   font-size: 24rpx;
   color: #666;
   line-height: 32rpx;
+  text-align: center;
+  width: 100%;
 }
 
 /* 图标区域 */
@@ -62,6 +64,9 @@
   width: 56rpx;
   height: 56rpx;
   position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: center;
 }
 
 /* 徽章位置调整 - 使用TDesignBadge组件 */