From 64d30e1b6277aa2911a391e7f47a2da1364a2377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 28 Feb 2026 20:10:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(user):=20=E4=BF=AE=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E8=87=AA=E5=8A=A8=E7=99=BB=E5=BD=95=E5=92=8C=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E7=BB=84=E4=BB=B6=E9=85=8D=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改导航栏标题从"成为经销商"为"注册成为会员" - 隐藏团队页面中的手机号显示功能 - 为订单确认页面的数量输入组件添加步长和只读属性 - 为用户票券页面的数量输入组件添加步长和只读属性 - 移除未使用的getStoredInviteParams导入 - 优化自动登录失败处理逻辑,避免不必要的页面跳转 - 添加错误消息过滤,避免预期失败情况下的控制台刷屏 --- src/dealer/apply/add.config.ts | 2 +- src/dealer/team/index.tsx | 2 +- src/shop/orderConfirm/index.tsx | 2 ++ src/user/ticket/use.tsx | 24 +++++++++++++----------- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/dealer/apply/add.config.ts b/src/dealer/apply/add.config.ts index f165569..71f30bd 100644 --- a/src/dealer/apply/add.config.ts +++ b/src/dealer/apply/add.config.ts @@ -1,4 +1,4 @@ export default definePageConfig({ - navigationBarTitleText: '成为经销商', + navigationBarTitleText: '注册成为会员', navigationBarTextStyle: 'black' }) diff --git a/src/dealer/team/index.tsx b/src/dealer/team/index.tsx index af7d8e7..cc22373 100644 --- a/src/dealer/team/index.tsx +++ b/src/dealer/team/index.tsx @@ -325,7 +325,7 @@ const DealerTeam: React.FC = () => { {/* 显示手机号(仅本级可见) */} {showPhone && member.phone && ( - { + { e.stopPropagation(); makePhoneCall(member.phone || ''); }}> diff --git a/src/shop/orderConfirm/index.tsx b/src/shop/orderConfirm/index.tsx index 37d2033..d9360fb 100644 --- a/src/shop/orderConfirm/index.tsx +++ b/src/shop/orderConfirm/index.tsx @@ -858,6 +858,8 @@ const OrderConfirm = () => { value={quantity} min={isTicketTemplateActive ? minBuyQty : 1} max={goods.stock || 999} + step={10} + readOnly disabled={((goods.canBuyNumber ?? 0) !== 0) && !isTicketTemplateActive} onChange={handleQuantityChange} /> diff --git a/src/user/ticket/use.tsx b/src/user/ticket/use.tsx index 04a2d1e..23cb3ff 100644 --- a/src/user/ticket/use.tsx +++ b/src/user/ticket/use.tsx @@ -1033,17 +1033,19 @@ const OrderConfirm = () => { : `最低起送 ${MIN_START_QTY} 桶(当前最多 ${maxQuantity} 桶)` } extra={( - - - - )} - /> + + + + )} + />