feat:完善孙中山
This commit is contained in:
1 parent
b3d30100da
commit
ec7e8e2bd2
14 files changed
+846
-135
No files matched your search
@@ -76,9 +76,9 @@ const ViseAssemblyDialog = ({
|
||||
// 转换为 DragFill 的 options
|
||||
const options = useMemo(
|
||||
() => [
|
||||
{ value: "A", label: "A" },
|
||||
{ value: "B", label: "B" },
|
||||
{ value: "C", label: "C" },
|
||||
{ value: "A", label: "丝杠和丝杆" },
|
||||
{ value: "B", label: "活动钳口" },
|
||||
{ value: "C", label: "固定钳口和基座" },
|
||||
],
|
||||
[]
|
||||
);
|
||||
@@ -339,15 +339,24 @@ const ViseAssemblyDialog = ({
|
||||
: "hover:scale-110 opacity-100"
|
||||
)}
|
||||
>
|
||||
<div className="mr-16 text-8xl font-bold text-[#cf9e51] [text-shadow:_3px_3px_0_#fff,_-3px_-3px_0_#fff,_3px_-3px_0_#fff,_-3px_3px_0_#fff]">
|
||||
{option.value}
|
||||
<div className="flex flex-col gap-y-4">
|
||||
<div className="flex items-center justify-center">
|
||||
<div className="mr-16 text-8xl font-bold text-[#cf9e51] [text-shadow:_3px_3px_0_#fff,_-3px_-3px_0_#fff,_3px_-3px_0_#fff,_-3px_3px_0_#fff]">
|
||||
{option.value}
|
||||
</div>
|
||||
<img
|
||||
src={partSrc}
|
||||
alt={`零件${option.value}`}
|
||||
className="w-56 h-56 object-contain pointer-events-none"
|
||||
draggable={false}
|
||||
/>
|
||||
</div>
|
||||
<div className="flex items-center justify-center">
|
||||
<div className="mr-16 text-3xl font-bold text-white">
|
||||
{option.label}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<img
|
||||
src={partSrc}
|
||||
alt={`零件${option.value}`}
|
||||
className="w-56 h-56 object-contain pointer-events-none"
|
||||
draggable={false}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user