From 98186270a6af4f21977b095b18c6adc5e0590f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 5 Mar 2020 22:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/tpm/NewHeader.js | 100 ++++++++++++---------- 1 file changed, 54 insertions(+), 46 deletions(-) diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 87ecb601c..5b6ac30f5 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -1087,43 +1087,42 @@ class NewHeader extends Component { <%= link_to '注册', user_join_path, :className => "ml5" %> */} - { - user === undefined ? - - this.educoderlogin()} className="mr5 color-white">登录 - - 注册 - : user.login === "" ? - this.educoderlogin()} className="mr5 color-white">登录 - - 注册 - : -
- - - - - +
+ } + {/*href="https://www.educoder.net/login"*/} + +
+ {/*/!*{ loadHeader()}*!/padding-top: 16px!important;*/} + {showSearchOpentype===true?"":this.props.user&&this.props.user.main_site===true?this.showSearchOpen(e)}> + {/*"/images/educoder/icon/search.svg" */}