竞赛标签

dev_aliyun
杨树明 5 years ago
parent a6365c76ea
commit b2b4d7e7c7

@ -22,7 +22,7 @@
<% end %>
<li class="<%= params[:controller] == "competitions" ? " active" : "" %>">
<%= link_to "在线竞赛", competitions_path %>
<img class="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>
<!-- <img class="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>-->
</li>
<li class="<%= params[:controller] == "libraries" ? " active" : "" %>"><%= link_to "教学案例", libraries_path %></li>
<!-- <li class="<%#= params[:controller] == "project_packages" ? " active" : "" %>"><%#= link_to "众包创新", project_packages_path %></li>-->

@ -24,7 +24,7 @@
<% end %>
<li class="<%= params[:controller] == "competitions" ? " active" : "" %>">
<%= link_to "在线竞赛", competitions_path %>
<img class="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>
<!-- <img class="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>-->
</li>
<li class="<%= params[:controller] == "libraries" ? " active" : "" %>"><%= link_to "教学案例", libraries_path %></li>
<!-- <li class="<%#= params[:controller] == "project_packages" ? " active" : "" %>"><%#= link_to "众包创新", project_packages_path %></li>-->

@ -398,7 +398,7 @@ class NewHeader extends Component {
<li className={`${competitions === true ? 'active' : ''}`} >
<a href="/competitions">在线竞赛</a>
<img className="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>
{/*<img className="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>*/}
</li>
<li><a href="/moop_cases">教学案例</a></li>

Loading…
Cancel
Save