From 08031c0b39110be2b6b4e22f5af785e0fcb3f18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 14 Oct 2019 16:37:57 +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 --- .../react/src/modules/login/EducoderLogin.js | 5 +- public/react/src/modules/tpm/NewFooter.js | 25 ++- public/react/src/modules/tpm/NewHeader.js | 191 +++++++++++++----- 3 files changed, 153 insertions(+), 68 deletions(-) diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js index a23b42ec6..c6045fb5c 100644 --- a/public/react/src/modules/login/EducoderLogin.js +++ b/public/react/src/modules/login/EducoderLogin.js @@ -154,10 +154,7 @@ class EducoderLogin extends Component { }}>
{ - this.props.getHelmetapi===undefined? - this.gohome()} src={educodernet}/> - : - this.props.getHelmetapi.login_logo_url===undefined? + this.props.getHelmetapi===undefined||this.props.getHelmetapi.login_logo_url===null|| this.props.getHelmetapi.login_logo_url===undefined? this.gohome()} src={educodernet}/> : this.gohome()} src={getImageUrl(this.props.getHelmetapi.login_logo_url)}/> diff --git a/public/react/src/modules/tpm/NewFooter.js b/public/react/src/modules/tpm/NewFooter.js index be1a1ed29..b258a001d 100644 --- a/public/react/src/modules/tpm/NewFooter.js +++ b/public/react/src/modules/tpm/NewFooter.js @@ -39,16 +39,23 @@ class NewFooter extends Component {
-

- © 2019 EduCoder - 湘ICP备17009477号 - - 湘公网安备43019002000962号 - - Trustie   &   IntelliDE inside. + © 2019 EduCoder + 湘ICP备17009477号 + + 湘公网安备43019002000962号 + + Trustie   &   IntelliDE inside. 版权所有 湖南智擎科技有限公司 -

+

+ : +
+ + } +
diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 019726296..bc45f45fe 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -706,9 +706,7 @@ submittojoinclass=(value)=>{ />:""} { - this.props.getHelmetapi===undefined? - 高校智能化教学与实训平台 - :this.props.getHelmetapi.nav_logo_url===undefined? + this.props.getHelmetapi===undefined||this.props.getHelmetapi.nav_logo_url===null||this.props.getHelmetapi.nav_logo_url===undefined? 高校智能化教学与实训平台 : 高校智能化教学与实训平台 @@ -729,66 +727,149 @@ submittojoinclass=(value)=>{
{/*<%= link_to image_tag("/images/educoder/logo.png", alt:"高校智能化教学与实训平台", className:"logoimg"), home_path %>*/} -
-