杨树明 5 years ago
parent 96869f609c
commit 3f42a82e91

@ -64,8 +64,8 @@ gem 'elasticsearch-rails'
gem 'oauth2' gem 'oauth2'
# xlsx # xlsx
gem 'axlsx', '3.0.0.pre' # gem 'axlsx', '3.0.0.pre'
gem 'axlsx_rails', '0.3.0' # gem 'axlsx_rails', '0.3.0'
# state machine # state machine
gem 'aasm' gem 'aasm'

@ -294,6 +294,7 @@ class NewHeader extends Component {
</ul> </ul>
</div> </div>
</li> </li>
<li><a href="/libraries">教学案例</a></li>
<li><a href="/competitions">竞赛</a></li> <li><a href="/competitions">竞赛</a></li>
<li className={`${activeForums === true ? 'active' : ''}`}><a href="/forums">问答</a></li> <li className={`${activeForums === true ? 'active' : ''}`}><a href="/forums">问答</a></li>
<li className={`${activeCourses === true ? 'active' : ''}`} style={{display:ecUrl===null||ecUrl===undefined||ecUrl===""?'none':'block'}}><a href={ecUrl}>{ecUrl===null||ecUrl===undefined||ecUrl===""?'':'认证'}</a></li> <li className={`${activeCourses === true ? 'active' : ''}`} style={{display:ecUrl===null||ecUrl===undefined||ecUrl===""?'none':'block'}}><a href={ecUrl}>{ecUrl===null||ecUrl===undefined||ecUrl===""?'':'认证'}</a></li>

Loading…
Cancel
Save