|
@@ -38,20 +38,6 @@ function Scene() {
|
|
];
|
|
];
|
|
}, []);
|
|
}, []);
|
|
|
|
|
|
- const list2 = useMemo(() => {
|
|
|
|
- return [
|
|
|
|
- { id: 1, name: "威远+靖远炮台", img: demoImg },
|
|
|
|
- { id: 2, name: "靖远炮台1", img: demoImg },
|
|
|
|
- { id: 3, name: "靖远炮台2", img: demoImg },
|
|
|
|
- { id: 4, name: "靖远炮台3", img: demoImg },
|
|
|
|
- {
|
|
|
|
- id: 5,
|
|
|
|
- name: "靖远炮台2靖远炮台2靖远炮台2靖远炮台2靖远炮台2靖远炮台2靖远炮台2",
|
|
|
|
- img: demoImg,
|
|
|
|
- },
|
|
|
|
- { id: 6, name: "靖远炮台A", img: demoImg },
|
|
|
|
- ];
|
|
|
|
- }, []);
|
|
|
|
|
|
|
|
const lookFu = useCallback(async (code: string) => {
|
|
const lookFu = useCallback(async (code: string) => {
|
|
const res = await isTokenFlagAPI();
|
|
const res = await isTokenFlagAPI();
|
|
@@ -72,7 +58,6 @@ function Scene() {
|
|
<div className="pageTitlt">场景管理</div>
|
|
<div className="pageTitlt">场景管理</div>
|
|
{/* 场景编辑器 */}
|
|
{/* 场景编辑器 */}
|
|
<div className="box1">
|
|
<div className="box1">
|
|
- <div className="titleTxt">场景编辑器</div>
|
|
|
|
<div className="box1RowBox">
|
|
<div className="box1RowBox">
|
|
{list1.map((v) => (
|
|
{list1.map((v) => (
|
|
<div className="box1Row" key={v.id}>
|
|
<div className="box1Row" key={v.id}>
|
|
@@ -89,22 +74,6 @@ function Scene() {
|
|
))}
|
|
))}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- {/* 数字场景档案 */}
|
|
|
|
- <div className="box1">
|
|
|
|
- <div className="titleTxt">数字场景档案</div>
|
|
|
|
- <div className="box1RowBox">
|
|
|
|
- {list2.map((v) => (
|
|
|
|
- <div className="box1Row" key={v.id}>
|
|
|
|
- <ImageLazy src={v.img} width="100%" height={180} offline={true} />
|
|
|
|
- <div className="txt">{v.name}</div>
|
|
|
|
- <div className="button">
|
|
|
|
- <Button type="primary">预览</Button>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- ))}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
);
|
|
);
|
|
}
|
|
}
|