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
className={`transition-all duration-300 h-full rounded ${progressBarColor}`}
style={{ width: progress }}
className={`${progressBarColor} h-full transition-all duration-300 rounded`}
style={{ width: typeof progress === "string" ? progress : `${progress}%` }}
/>
</div>
)}