...
|
...
|
@@ -34,7 +34,6 @@ var $subsets = $('.subsets'); |
|
|
/**
|
|
|
* 目录切换
|
|
|
*/
|
|
|
|
|
|
$subsets.click(function() {
|
|
|
var $this = $(this);
|
|
|
var className = $this.attr('class').split(' ')[1];
|
...
|
...
|
@@ -43,13 +42,13 @@ $subsets.click(function() { |
|
|
|
|
|
if ($this.hasClass('open')) {
|
|
|
$child.hide();
|
|
|
$this.removeClass('open').children('.plus').css('background-image', 'url(\'../img/help/plus.png\')');
|
|
|
$this.removeClass('open').children('.icon').removeClass('minus').addClass('plus');
|
|
|
} else {
|
|
|
$('.smll-category').hide();
|
|
|
$('.subsets').children('.plus').css('background-image', 'url(\'../img/help/plus.png\')');
|
|
|
$('.subsets').children('.icon').removeClass('minus').addClass('plus');
|
|
|
$child.show();
|
|
|
$subsets.removeClass('open');
|
|
|
$this.addClass('open').children('.plus').css('background-image', 'url(\'../img/help/minus.png\')');
|
|
|
$this.addClass('open').children('.icon').removeClass('plus').addClass('minus');
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
|