From d37709b1a5f05ed8acd79a962f73512d324d6a92 Mon Sep 17 00:00:00 2001 From: caishi Date: Mon, 25 Oct 2021 11:24:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Index.js | 11 +++++++++++ src/forge/Main/projecthome/Index.jsx | 10 ++++++++++ src/forge/Main/projecthome/Index.scss | 0 src/modules/tpm/TPMIndex.css | 6 +++--- 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/forge/Main/projecthome/Index.jsx create mode 100644 src/forge/Main/projecthome/Index.scss diff --git a/src/forge/Index.js b/src/forge/Index.js index c2e369169..5cdf4b4fb 100644 --- a/src/forge/Index.js +++ b/src/forge/Index.js @@ -22,6 +22,11 @@ const ProjectIndex = Loadable({ loading: Loading, }); +const ProjectHome = Loadable({ + loader: () => import("./Main/projecthome/Index"), + loading: Loading, +}); + // 项目详情放在用户和组织下作为二级菜单存在 // const ProjectDetail = Loadable({ // loader: () => import("./Main/Detail"), @@ -68,6 +73,12 @@ class Index extends Component { > */} ( + + )} + > + ( )} diff --git a/src/forge/Main/projecthome/Index.jsx b/src/forge/Main/projecthome/Index.jsx new file mode 100644 index 000000000..c2e8a21e3 --- /dev/null +++ b/src/forge/Main/projecthome/Index.jsx @@ -0,0 +1,10 @@ +import React from 'react'; +import './Index.scss'; + + +function Index(props) { + return( +
首页index
+ ) +} +export default Index; \ No newline at end of file diff --git a/src/forge/Main/projecthome/Index.scss b/src/forge/Main/projecthome/Index.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/modules/tpm/TPMIndex.css b/src/modules/tpm/TPMIndex.css index bdd6d36a8..09bd0a72b 100644 --- a/src/modules/tpm/TPMIndex.css +++ b/src/modules/tpm/TPMIndex.css @@ -28,13 +28,13 @@ body>.-task-title { height:70px; min-width: 1200px; z-index: 1000; - background:rgba(255,255,255,1); + background: rgba(0, 0, 0, 0.4); + box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5); position: fixed; - box-shadow: 0px 0px 14px rgb(0 0 0 / 10%); } .headerContent{ - width:1200px; margin:0px auto; + padding:0px 30px; display: flex; align-items: center; height: 100%;