教程帮助界面更改
This commit is contained in:
@@ -1369,14 +1369,15 @@ input {
|
||||
}
|
||||
|
||||
.listUl {
|
||||
padding: 10px 30px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.listUl li {
|
||||
list-style: none;
|
||||
border-bottom: 1px solid #f5f5f5;
|
||||
margin: 20px 0;
|
||||
margin: 10px 0;
|
||||
color: white;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.listUl li:first-child {
|
||||
@@ -1390,7 +1391,6 @@ input {
|
||||
|
||||
.newsTit .item:first-child {
|
||||
width: 90%;
|
||||
color: #1f3b96;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@@ -1399,7 +1399,7 @@ input {
|
||||
}
|
||||
|
||||
.gaiyao {
|
||||
color: #5E5E5E;
|
||||
color: white;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
130
Host/wwwroot/help_style/css/nav.css
Normal file
130
Host/wwwroot/help_style/css/nav.css
Normal file
File diff suppressed because one or more lines are too long
27
Host/wwwroot/help_style/js/nav.js
Normal file
27
Host/wwwroot/help_style/js/nav.js
Normal file
@@ -0,0 +1,27 @@
|
||||
$(function(){
|
||||
// navhelp收缩展开
|
||||
$('.navhelp-item>a').on('click',function(){
|
||||
if (!$('.navhelp').hasClass('navhelp-mini')) {
|
||||
if ($(this).next().css('display') == "none") {
|
||||
//展开未展开
|
||||
$('.navhelp-item').children('ul').slideUp(300);
|
||||
$(this).next('ul').slideDown(300);
|
||||
$(this).parent('li').addClass('navhelp-show').siblings('li').removeClass('navhelp-show');
|
||||
}else{
|
||||
//收缩已展开
|
||||
$(this).next('ul').slideUp(300);
|
||||
$('.navhelp-item.navhelp-show').removeClass('navhelp-show');
|
||||
}
|
||||
}
|
||||
});
|
||||
//navhelp-mini切换
|
||||
$('#mini').on('click',function(){
|
||||
if (!$('.navhelp').hasClass('navhelp-mini')) {
|
||||
$('.navhelp-item.navhelp-show').removeClass('navhelp-show');
|
||||
$('.navhelp-item').children('ul').removeAttr('style');
|
||||
$('.navhelp').addClass('navhelp-mini');
|
||||
}else{
|
||||
$('.navhelp').removeClass('navhelp-mini');
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user