import { useState } from "react"; import { useNavigate, useParams } from "react-router-dom"; import { Image } from "@/components"; import { getBackgroundImage, getStaticImage } from "@/lib/utils"; const starName = "luxun"; const cityMap: Record<1 | 2 | 3 | 4 | 5, string> = { 1: "luxun/reflection/scene1/绍兴", 2: "luxun/reflection/scene1/北京", 3: "luxun/reflection/scene1/厦门", 4: "luxun/reflection/scene1/广州", 5: "luxun/reflection/scene1/上海", }; const LuxunReflectionScene1 = () => { const navigate = useNavigate(); const { moduleName } = useParams<{ moduleName: string; }>(); return (
{ if (moduleName && starName) { navigate(`/${moduleName}/${starName}/home`); } }} /> {/* 左侧 */}
{/* 两个拖拽接收区域 */}
{/* 右侧 */}
{/* 任务进度 */}
任务进度:(0/8)
{/* 鲁迅画廊-拖拽区域 */}
{/* 任务展示窗口 */}
任务展示窗口
); }; export default LuxunReflectionScene1;