From 1f812908a75eaf9034096de83c7bb832bc879b7a Mon Sep 17 00:00:00 2001 From: wwwwwwwww <526125649@qq.com> Date: Wed, 1 Jul 2026 20:28:34 +0800 Subject: [PATCH] 1 --- video-gen-admin/src/pages/AdminCreditRatios.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video-gen-admin/src/pages/AdminCreditRatios.tsx b/video-gen-admin/src/pages/AdminCreditRatios.tsx index d88dea32..81008aab 100644 --- a/video-gen-admin/src/pages/AdminCreditRatios.tsx +++ b/video-gen-admin/src/pages/AdminCreditRatios.tsx @@ -258,7 +258,7 @@ const AdminCreditRatios: React.FC = () => { ), }, { - title: '示例计算', key: 'example', width: 140, + title: '示例计算(视频15秒,上传视频15秒)', key: 'example', width: 140, render: (_: any, r: CreditRatio) => { let total: number; if (r.genType === 'image') { @@ -267,7 +267,7 @@ const AdminCreditRatios: React.FC = () => { total = Math.round((r.baseCredits + r.perSecondCredits * 15) * r.ratio); if (r.inputVideoRatio && r.inputVideoPerSecondCredits) { total += Math.round( - (r.inputVideoBaseCredits + r.inputVideoPerSecondCredits * 10) * r.inputVideoRatio + (r.inputVideoBaseCredits + r.inputVideoPerSecondCredits * 15) * r.inputVideoRatio ); } }