From 1ebab3f9f45bfc6f3e32865fa1fc8c1296871ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Tue, 9 Jan 2024 11:27:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E9=99=85=E8=AE=A1=E7=AE=97=E4=B8=93?= =?UTF-8?q?=E5=8C=BA=E9=A6=96=E9=A1=B5=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/JCC/homePage.jsx | 9 +++++++++ src/forge/Information/Pages/JCC/index.scss | 0 src/forge/Information/index.jsx | 11 +++++++++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/forge/Information/Pages/JCC/homePage.jsx create mode 100644 src/forge/Information/Pages/JCC/index.scss diff --git a/src/forge/Information/Pages/JCC/homePage.jsx b/src/forge/Information/Pages/JCC/homePage.jsx new file mode 100644 index 000000000..72caf0e48 --- /dev/null +++ b/src/forge/Information/Pages/JCC/homePage.jsx @@ -0,0 +1,9 @@ +import React, { } from 'react'; +import './index.scss'; + +function HomePage(props) { + return ( +
云际计算社区首页(自定义)
+ ) +} +export default HomePage; \ No newline at end of file diff --git a/src/forge/Information/Pages/JCC/index.scss b/src/forge/Information/Pages/JCC/index.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/forge/Information/index.jsx b/src/forge/Information/index.jsx index 125f1a951..cf14149ec 100644 --- a/src/forge/Information/index.jsx +++ b/src/forge/Information/index.jsx @@ -85,6 +85,11 @@ const Help = Loadable({ loading: Loading, }); +const HomePageByJCC = Loadable({ + loader : () => import("./Pages/JCC/homePage"), + loading : Loading, +}); + function Index(props){ const [ data , setData ] = useState(undefined); const [ adminUrl , setAdminUrl ] = useState(undefined); @@ -249,8 +254,10 @@ function Index(props){ ( - deptId==="CCF-ODC"?: - temp === tempEnum.zone ? : + deptId==="CCF-ODC" ? : + deptId === "JCC" ? : + temp === tempEnum.zone ? : + )} >