Authored by yyq

帮助中心样式调整

19.3 KB | W: | H:

19.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -23,13 +23,10 @@ var problemBox = function() { @@ -23,13 +23,10 @@ var problemBox = function() {
23 $problemBox.find('.a-area').html(ask); 23 $problemBox.find('.a-area').html(ask);
24 $problemBox.find('.q-area').html(answer); 24 $problemBox.find('.q-area').html(answer);
25 $problemBox.show(); 25 $problemBox.show();
26 -  
27 - $('body').css({overflow: 'hidden'});  
28 }); 26 });
29 27
30 $('.problem-box .close, .problem-box .mark').on('click', function() { 28 $('.problem-box .close, .problem-box .mark').on('click', function() {
31 $problemBox.hide(); 29 $problemBox.hide();
32 - $('body').css({overflow: 'auto'});  
33 }); 30 });
34 }; 31 };
35 32
@@ -64,12 +64,9 @@ if (keywords) { @@ -64,12 +64,9 @@ if (keywords) {
64 }); 64 });
65 } 65 }
66 66
67 -  
68 if (!$cate.hasClass('big-category')) { 67 if (!$cate.hasClass('big-category')) {
69 parentID = $cate.data('parentId'); 68 parentID = $cate.data('parentId');
70 69
71 $('.parentId-' + parentID).show(); 70 $('.parentId-' + parentID).show();
72 $('.cateId-' + parentID).find('.icon').removeClass('plus').addClass('minus'); 71 $('.cateId-' + parentID).find('.icon').removeClass('plus').addClass('minus');
73 } 72 }
74 -  
75 -$('.center-content').css('border-top-color', '#fff');  
@@ -122,7 +122,7 @@ @@ -122,7 +122,7 @@
122 content: ""; 122 content: "";
123 width: 18px; 123 width: 18px;
124 height: 18px; 124 height: 18px;
125 - background: url("/help/a.png") no-repeat; 125 + background: url("/help/q.png") no-repeat;
126 position: absolute; 126 position: absolute;
127 left: 0; 127 left: 0;
128 top: 2px; 128 top: 2px;
@@ -132,7 +132,7 @@ @@ -132,7 +132,7 @@
132 content: ""; 132 content: "";
133 width: 18px; 133 width: 18px;
134 height: 18px; 134 height: 18px;
135 - background: url("/help/q.png") no-repeat; 135 + background: url("/help/a.png") no-repeat;
136 position: absolute; 136 position: absolute;
137 left: 0; 137 left: 0;
138 } 138 }
@@ -184,11 +184,11 @@ @@ -184,11 +184,11 @@
184 } 184 }
185 185
186 .a-area:before { 186 .a-area:before {
187 - background: url("/help/a.png") no-repeat; 187 + background: url("/help/q.png") no-repeat;
188 } 188 }
189 189
190 .q-area:before { 190 .q-area:before {
191 - background: url("/help/q.png") no-repeat; 191 + background: url("/help/a.png") no-repeat;
192 } 192 }
193 193
194 .iconfont { 194 .iconfont {