diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css index 8fe59797..bf9e791b 100644 --- a/public/css/edu-purge.css +++ b/public/css/edu-purge.css @@ -3947,7 +3947,7 @@ html>body #ajax-indicator { } .head-nav { text-align: center; - height: 70px; + height: 58px; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; @@ -3959,14 +3959,14 @@ html>body #ajax-indicator { position: absolute; top: 0px; z-index: 3; - height: 70px; + height: 58px; box-sizing: border-box; } .head-nav ul#header-nav li { float: left; - height: 70px; - line-height: 70px; + height: 58px; + line-height: 58px; cursor: pointer; position: relative; font-size: 16px; @@ -3992,10 +3992,6 @@ html>body #ajax-indicator { margin-right: 0px } -.head-nav ul#header-nav li.active{ - /* background-color: #3B3B3B; */ -} - .head-nav ul#header-nav li p:hover { color: #cccccc; @@ -6714,13 +6710,10 @@ p{ right: 0px; top:4px; color: #999; -<<<<<<< HEAD -======= } .ant-input, .ant-input .ant-input-suffix{ background-color: #fff!important; } .has-error .ant-input{ background-color: #FEF1F0!important; ->>>>>>> pre_develop } \ No newline at end of file diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js index 622eef3c..76423e38 100644 --- a/src/forge/Head/Header.js +++ b/src/forge/Head/Header.js @@ -279,7 +279,7 @@ class NewHeader extends Component { }; render() { - const { match ,resetUserInfo ,showNotification} = this.props; + const { match ,resetUserInfo ,showNotification,publicNav} = this.props; let current_user = this.props.user; let { AccountProfiletype, @@ -368,7 +368,7 @@ class NewHeader extends Component { let search_url = settings && settings.common && settings.common.search; return ( -
新一代开源创新服务平台
-Gitlink(确实开源)-CCF官网指定的产学研融合面向软件开源创新的开源社区
+GitLink(确实开源)-CCF官网指定的产学研融合面向软件开源创新的开源社区
- {i.project && i.project.name} + {i.project && i.project.name}
选择头像:
Gitlink,新一代开源创新服务平台
+GitLink,新一代开源创新服务平台
{ flag &&加入Gitlink,和社区伙伴们一起踏上开源创新的辉煌旅程!
+加入GitLink,和社区伙伴们一起踏上开源创新的辉煌旅程!
快速注册开源生态
-Gitlink与各大企业、高校、科研机构开展广泛的技术合作,推动我国开源软件生态的快速构建与发展
+GitLink与各大企业、高校、科研机构开展广泛的技术合作,推动我国开源软件生态的快速构建与发展
- {active === 1 ? "Gitlink分享最新平台资讯、社区活动通知、开源竞赛信息,把握开源生态发展脉搏" - : active===2 ? "Gitlink汇聚精英企业仓库、前沿技术仓库、人气热门仓库,孵化优质开源创新成果" - :active===3 ? "Gitlink集萃社区精选项目介绍、平台使用技巧等优秀文章,助力开源开放协同创新" - :"Gitlink甄选技术研究、心得体会、经验交流等高质量内容,推动社区健康稳定发展"} + {active === 1 ? "GitLink分享最新平台资讯、社区活动通知、开源竞赛信息,把握开源生态发展脉搏" + : active===2 ? "GitLink汇聚精英企业仓库、前沿技术仓库、人气热门仓库,孵化优质开源创新成果" + :active===3 ? "GitLink集萃社区精选项目介绍、平台使用技巧等优秀文章,助力开源开放协同创新" + :"GitLink甄选技术研究、心得体会、经验交流等高质量内容,推动社区健康稳定发展"}
{ active === 1&& diff --git a/src/modules/tpm/TPMIndex.css b/src/modules/tpm/TPMIndex.css index 8d513feb..40f3a35f 100644 --- a/src/modules/tpm/TPMIndex.css +++ b/src/modules/tpm/TPMIndex.css @@ -25,14 +25,17 @@ body>.-task-title { .newHeaders{ max-width: unset; width: 100%; - height:70px; + height:58px; min-width: 1200px; z-index: 1000; - box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 50%); position: fixed; - background-image: linear-gradient(to right, #0F141F, #0C2A5B,#101417); + background: #1B2440; color: #fff; } +.newHeaders.publicNav{ + position: absolute; + background: rgba(27, 36, 64,0.2); +} .headerContent{ margin:0px auto; padding:0px 30px; diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js index 2597950f..a3166c35 100644 --- a/src/modules/tpm/TPMIndexHOC.js +++ b/src/modules/tpm/TPMIndexHOC.js @@ -153,11 +153,11 @@ export function TPMIndexHOC(WrappedComponent) { console.log(this.props.match) if (this.props.match.path === "/") { this.setState({ - publicNav:false + publicNav:true }) }else{ this.setState({ - publicNav:true + publicNav:false }) } let url = `/users/get_user_info.json`; @@ -256,12 +256,12 @@ export function TPMIndexHOC(WrappedComponent) { {...this.props} {...this.state} /> : ""} - { publicNav &&