feat: 鲁迅体悟场景1、场景2

This commit is contained in:
zhongyidian committed 2026-01-04 01:39:39 +08:00
1 parent dd1cabfb87
commit 3611a0857a
7 files changed
+680 -281

No files matched your search

+2 -2
View File
@@ -379,7 +379,7 @@ const BambooPuzzleGame = ({
/>
) : (
<div className="w-full h-full flex items-center justify-center">
<div className="text-white/30 text-xs">
<div className="text-white/30 text-4xl">
拖拽立柱到这里
</div>
</div>
@@ -432,7 +432,7 @@ const BambooPuzzleGame = ({
/>
) : (
<div className="w-full h-full flex items-center justify-center">
<div className="text-white/30 text-xs">
<div className="text-white/30 text-4xl">
拖拽立柱到这里
</div>
</div>
+7 -5
View File
@@ -417,12 +417,13 @@ const DragFill = forwardRef<HTMLDivElement, DragFillProps>(
<div
className={cn(
layout === "horizontal-options"
? "flex flex-row gap-6 flex-wrap w-full"
? optionClassName || "flex flex-row gap-6 flex-wrap w-full"
: cn(
"grid gap-x-12 gap-y-16",
normalizedOptions.length > 2
optionClassName,
!optionClassName && "grid gap-x-12 gap-y-16",
!optionClassName && normalizedOptions.length > 2
? "grid-cols-2"
: "grid-cols-1"
: !optionClassName && "grid-cols-1"
)
)}
>
@@ -439,7 +440,8 @@ const DragFill = forwardRef<HTMLDivElement, DragFillProps>(
}
}}
className={cn(
renderOption && "select-none flex-1",
renderOption && "select-none",
!optionClassName && renderOption && "flex-1",
isDragging && "opacity-50"
)}
>