feat:完善孙中山

This commit is contained in:
zhongyidian committed 2026-01-10 21:09:26 +08:00
1 parent b3d30100da
commit ec7e8e2bd2
14 files changed
+846 -135

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ const HuangyanpeiReflectionScene1 = () => {
<SuccessAlert
visible={showSuccessAlert}
title="拼接毛竹成功!"
title="拼接毛竹单杠成功,同学们可以在课间之余强身健体!"
onContinue={useCallback(() => {
setShowSuccessAlert(false);
setGameCompleted(true);
@@ -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>
);
}}