...
|
...
|
@@ -34,7 +34,7 @@ if (keywords) { |
|
|
|
|
|
if (result.helper_list) {
|
|
|
$.each(result.helper_list, function(k, s) {
|
|
|
if (s.helperType === '2') {
|
|
|
if (s.helperType === 2) {
|
|
|
s.problem = true;
|
|
|
s.allCont = s.content;
|
|
|
}
|
...
|
...
|
@@ -69,6 +69,9 @@ if (keywords) { |
|
|
* 目录切换
|
|
|
*/
|
|
|
|
|
|
/**
|
|
|
* 目录切换
|
|
|
*/
|
|
|
$subsets.click(function() {
|
|
|
var $this = $(this);
|
|
|
var className = $this.attr('class').split(' ')[1];
|
...
|
...
|
@@ -77,13 +80,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');
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -91,7 +94,7 @@ if (!$cate.hasClass('big-category')) { |
|
|
parentID = $cate.data('parentId');
|
|
|
|
|
|
$('.parentId-' + parentID).show();
|
|
|
$('.cateId-' + parentID).find('.plus').css('background-image', 'url(\'../img/help/minus.png\')');
|
|
|
$('.cateId-' + parentID).find('.icon').removeClass('plus').addClass('minus');
|
|
|
}
|
|
|
|
|
|
$('.center-content').css('border-top-color', '#fff'); |
...
|
...
|
|