From b75ebe1a2442564dfeda90a2318e33933e93e06a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 27 Jul 2019 17:40:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_logined_header.html.erb | 8 +++++--- app/views/layouts/_unlogin_header.html.erb | 9 ++++++--- public/react/src/modules/tpm/NewHeader.js | 23 ++++++++++++++++------ public/stylesheets/educoder/edu-all.css | 4 ++-- 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/app/views/layouts/_logined_header.html.erb b/app/views/layouts/_logined_header.html.erb index 5089fb28..3e01f7cb 100644 --- a/app/views/layouts/_logined_header.html.erb +++ b/app/views/layouts/_logined_header.html.erb @@ -1,7 +1,9 @@ -
- <%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg"), home_path %> +<%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg ml20 fl"), home_path %> +
+
    +
  • "><%= link_to "首页", home_path %>
  • "><%= link_to "实践课程", subjects_path %>
  • "><%= link_to "翻转课堂", courses_path %>
  • @@ -70,7 +72,7 @@
  • <%= link_to '退出', signout_path %>
-
+
diff --git a/app/views/layouts/_unlogin_header.html.erb b/app/views/layouts/_unlogin_header.html.erb index 17b5ea12..d17c2744 100644 --- a/app/views/layouts/_unlogin_header.html.erb +++ b/app/views/layouts/_unlogin_header.html.erb @@ -1,8 +1,11 @@ -
- <%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg"), home_path %> + +<%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg ml20 fl"), home_path %> + +
+
    - +
  • "><%= link_to "首页", home_path %>
  • "><%= link_to "实践课程", subjects_path %>
  • "><%= link_to "翻转课堂", courses_path %>
  • diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index b62ab515..d5e601b8 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -352,15 +352,17 @@ class NewHeader extends Component {
-
+ + {ImageUrlType===true?高校智能化教学与实训平台:高校智能化教学与实训平台} + +
{/*<%= link_to image_tag("/images/educoder/logo.png", alt:"高校智能化教学与实训平台", className:"logoimg"), home_path %>*/} - - {ImageUrlType===true?高校智能化教学与实训平台:高校智能化教学与实训平台} - +
-