This commit is contained in:
parent
c55c092e8f
commit
1f15187e10
|
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue