This commit is contained in:
parent
c60a0b7ee1
commit
5e0ac669fa
|
|
@ -133,12 +133,12 @@ export function DetailPageHeader({ data }: { data: any }) {
|
|||
};
|
||||
|
||||
return (
|
||||
<div className="sticky top-0 z-30 bg-white">
|
||||
<div className="sticky top-0 z-30 bg-white mt-4">
|
||||
<div className="mb-1 px-6 lg:px-8 w-11/12 lg:w-2/3 xl:w-3/5 mx-auto">
|
||||
<div className="flex items-start space-x-6">
|
||||
{/* 左图标(可点) */}
|
||||
<button
|
||||
className="flex items-center justify-center w-24 h-24 md:w-32 md:h-32 border rounded-md text-xl font-bold hover:bg-gray-100 transition"
|
||||
className="flex items-center justify-center w-24 h-24 md:w-32 md:h-32 border text-xl font-bold hover:bg-gray-100 transition"
|
||||
onClick={() => handleClick("icon")}
|
||||
disabled={loading}
|
||||
>
|
||||
|
|
@ -158,7 +158,7 @@ export function DetailPageHeader({ data }: { data: any }) {
|
|||
</div>
|
||||
|
||||
{/* 状态条 */}
|
||||
<div className="w-full mt-4 bg-gray-200 rounded-full h-6 overflow-hidden">
|
||||
<div className="w-full mt-4 bg-gray-200 h-6 overflow-hidden">
|
||||
<div
|
||||
className="bg-blue-500 h-full text-white text-center text-sm flex items-center justify-center transition-all duration-300"
|
||||
style={{ width: data?.progress || "60%" }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue