优化领取页第一步布局与第二步操作提示
- 去掉与顶部重复的商品信息,压缩间距便于一屏展示 - 移动端步骤指示器保持右上角 - 更新 UID、换绑角色增加悬浮功能说明
This commit is contained in:
@@ -178,15 +178,19 @@ function ClaimBindingStep({
|
||||
<Button size="large" icon={<ReloadOutlined />} loading={refreshingRole} onClick={onRefreshRole}>
|
||||
刷新角色信息
|
||||
</Button>
|
||||
<Button
|
||||
size="large"
|
||||
icon={<SwapOutlined />}
|
||||
loading={rebindingRole}
|
||||
disabled={confirmingRole || redeeming}
|
||||
onClick={onRebindRole}
|
||||
>
|
||||
换绑角色
|
||||
</Button>
|
||||
<Tooltip title="角色绑定错误时,请点击「换绑角色」,然后重新扫码绑定正确的角色">
|
||||
<span className="claim-action-tooltip-wrap">
|
||||
<Button
|
||||
size="large"
|
||||
icon={<SwapOutlined />}
|
||||
loading={rebindingRole}
|
||||
disabled={confirmingRole || redeeming}
|
||||
onClick={onRebindRole}
|
||||
>
|
||||
换绑角色
|
||||
</Button>
|
||||
</span>
|
||||
</Tooltip>
|
||||
{snapshot.isUidMatched ? (
|
||||
<Button
|
||||
type="primary"
|
||||
@@ -262,15 +266,19 @@ function ClaimConfirmStep({
|
||||
<Alert type="warning" showIcon message="兑换后不可取消,也不可退货。" />
|
||||
|
||||
<Space size={12} wrap className="claim-action-row">
|
||||
<Button
|
||||
size="large"
|
||||
icon={<SwapOutlined />}
|
||||
loading={rebindingRole}
|
||||
disabled={redeeming}
|
||||
onClick={onRebindRole}
|
||||
>
|
||||
换绑角色
|
||||
</Button>
|
||||
<Tooltip title="角色绑定错误时,请点击「换绑角色」,然后重新扫码绑定正确的角色">
|
||||
<span className="claim-action-tooltip-wrap">
|
||||
<Button
|
||||
size="large"
|
||||
icon={<SwapOutlined />}
|
||||
loading={rebindingRole}
|
||||
disabled={redeeming}
|
||||
onClick={onRebindRole}
|
||||
>
|
||||
换绑角色
|
||||
</Button>
|
||||
</span>
|
||||
</Tooltip>
|
||||
<Button
|
||||
type="primary"
|
||||
size="large"
|
||||
|
||||
Reference in New Issue
Block a user