From 5496df9e5edd5e448df0d59c29d5eab46aef4efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 1 Jul 2019 13:47:07 +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/javascripts/educoder/edu_application.js | 2 +- public/react/src/modules/tpm/NewHeader.js | 10 +++++----- public/react/src/modules/tpm/SiderBar.js | 2 +- public/react/src/modules/tpm/TPMIndexHOC.js | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/javascripts/educoder/edu_application.js b/public/javascripts/educoder/edu_application.js index feacff0dd..612a5a44b 100644 --- a/public/javascripts/educoder/edu_application.js +++ b/public/javascripts/educoder/edu_application.js @@ -125,7 +125,7 @@ $(window).resize(function() { rightSlider(); }); function rightSlider() { - var poi = parseInt((parseInt($(window).width()) - 1200) / 2) - 34; + var poi = parseInt((parseInt($(window).width()) - 1200) / 2) - 81; // console.log(parseInt($(window).width())+" "+poi); if (poi > 0) { $(".-task-sidebar").css("right", poi); diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index ff0ece9f9..691f8bb1e 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -638,7 +638,7 @@ submittojoinclass=(value)=>{ {/*
  • 实训路径
  • */}
  • - 实训课程
  • + 实践课程 {/*
  • 课堂
  • */}
  • @@ -671,13 +671,13 @@ submittojoinclass=(value)=>{
  • -
  • 教学案例
  • -
  • 竞赛
  • + {/*
  • 教学案例
  • */} +
  • 在线竞赛
  • -
  • 问答
  • +
  • 交流问答
  • 认证
  • + >工程认证 diff --git a/public/react/src/modules/tpm/SiderBar.js b/public/react/src/modules/tpm/SiderBar.js index bc1a80ed4..bc5800153 100644 --- a/public/react/src/modules/tpm/SiderBar.js +++ b/public/react/src/modules/tpm/SiderBar.js @@ -23,7 +23,7 @@ $(window).scroll(function(){ }); function rightSlider(){ - var poi=parseInt((parseInt($(window).width())- 1200 )/2)-34; + var poi=parseInt((parseInt($(window).width())- 1200 )/2)-81; // console.log(parseInt($(window).width())+" "+poi); if(poi>0){ $(".-task-sidebar").css("right",poi); diff --git a/public/react/src/modules/tpm/TPMIndexHOC.js b/public/react/src/modules/tpm/TPMIndexHOC.js index 68f3c2e56..f03d59751 100644 --- a/public/react/src/modules/tpm/TPMIndexHOC.js +++ b/public/react/src/modules/tpm/TPMIndexHOC.js @@ -131,7 +131,7 @@ export function TPMIndexHOC(WrappedComponent) { }else if(this.props.match.path==="/shixuns"){ document.title="开发社区"; }else if(this.props.match.path==="/paths"){ - document.title="实训课程"; + document.title="实践课程"; }else if(this.props.match.path==="/courses"){ document.title="翻转课堂"; }