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%;