This commit is contained in:
hailin 2025-05-20 13:45:36 +08:00
parent c55c092e8f
commit 1f15187e10
1 changed files with 2 additions and 2 deletions

View File

@ -774,8 +774,8 @@ export function DetailPageHeader({ data }: { data: any }) {
{/* 蓝色进度条 */} {/* 蓝色进度条 */}
<div <div
className={`transition-all duration-300 h-full rounded ${progressBarColor}`} className={`${progressBarColor} h-full transition-all duration-300 rounded`}
style={{ width: progress }} style={{ width: typeof progress === "string" ? progress : `${progress}%` }}
/> />
</div> </div>
)} )}