Revert "feat(claim): Rock 同一提货号过期后自动换新二维码"

This reverts commit 9d981c253f.
This commit is contained in:
yml2213
2026-10-06 18:08:20 +08:00
parent 9d981c253f
commit 98dc675b88
4 changed files with 42 additions and 177 deletions
@@ -169,64 +169,50 @@ export function AffiliateDashClaimPanel({
) : null}
{!canSubmit ? (
<>
<div
className="claim-bind-area"
<div
className="claim-bind-area"
style={{
marginBottom: 16,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
gap: 20,
}}
>
<span
style={{
marginBottom: 16,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
gap: 20,
color: '#ff4d4f',
writingMode: 'vertical-rl',
textOrientation: 'upright',
fontSize: 17,
fontWeight: 600,
letterSpacing: 8,
}}
>
<span
style={{
color: '#ff4d4f',
writingMode: 'vertical-rl',
textOrientation: 'upright',
fontSize: 17,
fontWeight: 600,
letterSpacing: 8,
}}
>
Q区用Q扫
</span>
{hasBindQr ? (
<img
src={qrCodeDataUrl}
alt="绑定二维码"
style={{ width: 220, height: 220, borderRadius: 8 }}
/>
) : (
<Typography.Text type="secondary">绑定二维码生成中,请稍候自动刷新…</Typography.Text>
)}
<span
style={{
color: '#ff4d4f',
writingMode: 'vertical-rl',
textOrientation: 'upright',
fontSize: 17,
fontWeight: 600,
letterSpacing: 8,
}}
>
V区用V扫
</span>
</div>
{hasBindQr &&
String(affiliateDash.sku || '')
.toLowerCase()
.startsWith('rock_') &&
!rockTokenLocked ? (
<Typography.Text
type="secondary"
style={{ display: 'block', margin: '-8px 0 16px', textAlign: 'center' }}
>
二维码会过期,页面会自动换成新的,请扫当前这一张
</Typography.Text>
) : null}
</>
Q区用Q扫
</span>
{hasBindQr ? (
<img
src={qrCodeDataUrl}
alt="绑定二维码"
style={{ width: 220, height: 220, borderRadius: 8 }}
/>
) : (
<Typography.Text type="secondary">绑定二维码生成中,请稍候自动刷新…</Typography.Text>
)}
<span
style={{
color: '#ff4d4f',
writingMode: 'vertical-rl',
textOrientation: 'upright',
fontSize: 17,
fontWeight: 600,
letterSpacing: 8,
}}
>
V区用V扫
</span>
</div>
) : (
<>
<Button