revert 提现页面增加近一周收益情况入口,删除原来7日前数据展示
This commit is contained in:
yezian 2024-07-27 14:37:33 +08:00
parent fb2454e6a8
commit 51ad878d22
1 changed files with 14 additions and 6 deletions

View File

@ -85,6 +85,9 @@ export default function WithDrawal() {
verificationStatus:
verificationData.data?.realname_authentication_api_vo?.status,
withdrawal_diamond: withdrawalData.data.withdraw_diamonds,
day7_total_diamonds: withdrawalData.data.day7_total_diamonds,
day7_total_withdraw_diamonds:
withdrawalData.data.day7_total_withdraw_diamonds,
});
} catch (error) {
console.error(error);
@ -265,12 +268,17 @@ export default function WithDrawal() {
兑换比例10钻石=1RMB
</p>
</div>
<Link
className="flex flex-col mt-2 btn rounded-2xl bg-gradient-to-r from-[#FF668B] to-[#FF66F0] items-center text-base font-medium"
href={"/bill/income/income_querry"}
>
<p className="text-white font-medium text-base">查看近一周收益情况</p>
</Link>
<div className="flex flex-col mt-2 items-center justify-around w-full h-12 rounded-2xl bg-gradient-to-r from-[#FF668B] to-[#FF66F0]">
<p className="text-sm text-white font-medium">7日前(0~24)数据</p>
<div className="flex flex-row justify-around w-full">
<p className="text-xs text-white font-medium">
当日钻石收益{data?.day7_total_diamonds}
</p>
<p className="text-xs text-white font-medium">
今日此时已结算{data?.day7_total_withdraw_diamonds}
</p>
</div>
</div>
<p className="text-white text-base mt-2">
<span className="text-error">*</span>提现数量
</p>