This commit is contained in:
2026-06-30 10:33:56 +08:00
commit 6e047dc0a5
607 changed files with 65966 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { useNavigate } from 'react-router-dom';
import PageHeader from '@dukang/shared-ui/PageHeader';
export default function RedeemCodePage() {
const navigate = useNavigate();
const token = sessionStorage.getItem('redeemToken') || '';
const amount = sessionStorage.getItem('redeemAmount') || '0';
return (
<div className="page-no-tab" style={{ textAlign: 'center' }}>
<PageHeader title="核销码展示" onBack={() => navigate(-1)} />
<p className="text-variant body-md page-actions" style={{ marginBottom: 0, paddingBottom: 0 }}></p>
<div className="card" style={{ padding: 32 }}>
<div className="label-md text-muted"></div>
<div className="amount-xl" style={{ margin: '8px 0 24px' }}>¥{amount}</div>
<div className="code-box">{token}</div>
<p className="label-md text-muted" style={{ marginTop: 16 }}>5 </p>
</div>
<div className="page-actions">
<button type="button" className="btn btn-outline btn-block" onClick={() => navigate('/redeem/success')}></button>
</div>
</div>
);
}