Authored by 郝肖肖

常见问题改成字体图标

1 <div class="yoho-list-empty"> 1 <div class="yoho-list-empty">
2 2
3 <div class="tip-search"> 3 <div class="tip-search">
4 - <div class="tip-search-img"></div> 4 + <i class="icon iconfont"></i>
5 </div> 5 </div>
6 6
7 <p class="tip-cn">抱歉! 未找到{{#if query}}与"<span>{{query}}</span>"{{/if}}相关商品</p> 7 <p class="tip-cn">抱歉! 未找到{{#if query}}与"<span>{{query}}</span>"{{/if}}相关商品</p>
@@ -139,14 +139,11 @@ @@ -139,14 +139,11 @@
139 box-sizing: border-box; 139 box-sizing: border-box;
140 140
141 .title:before { 141 .title:before {
142 - content: "";  
143 - width: 18px;  
144 - height: 18px;  
145 - background: resolve("help/file.png") no-repeat;  
146 - background-size: 18px 18px; 142 + content: "\e6e6";
147 position: absolute; 143 position: absolute;
148 left: 3px; 144 left: 3px;
149 top: 1px; 145 top: 1px;
  146 + font-size: 18px;
150 } 147 }
151 } 148 }
152 } 149 }
@@ -194,6 +191,7 @@ @@ -194,6 +191,7 @@
194 color: #989898; 191 color: #989898;
195 margin-top: 15px; 192 margin-top: 15px;
196 line-height: 22px; 193 line-height: 22px;
  194 + font-size: 14px;
197 } 195 }
198 196
199 .show-all { 197 .show-all {
@@ -210,23 +208,17 @@ @@ -210,23 +208,17 @@
210 box-sizing: border-box; 208 box-sizing: border-box;
211 209
212 .title:before { 210 .title:before {
213 - content: "";  
214 - width: 18px;  
215 - height: 18px;  
216 - background: resolve("help/q.png") no-repeat;  
217 - background-size: 18px 18px; 211 + content: "\e6e4";
218 position: absolute; 212 position: absolute;
219 left: 0; 213 left: 0;
  214 + font-size: 18px;
220 } 215 }
221 216
222 .cont:before { 217 .cont:before {
223 - content: "";  
224 - width: 18px;  
225 - height: 18px;  
226 - background: resolve("help/a.png") no-repeat;  
227 - background-size: 18px 18px; 218 + content: "\e6e5";
228 position: absolute; 219 position: absolute;
229 left: 0; 220 left: 0;
  221 + font-size: 18px;
230 } 222 }
231 } 223 }
232 } 224 }
@@ -452,11 +452,9 @@ @@ -452,11 +452,9 @@
452 padding-top: 100px; 452 padding-top: 100px;
453 text-align: center; 453 text-align: center;
454 454
455 - .tip-search-img {  
456 - height: 100px;  
457 - background-image: resolve("product/search.svg");  
458 - background-repeat: no-repeat;  
459 - background-position-x: 50%; 455 + i {
  456 + color: #b0b0b0;
  457 + font-size: 70px;
460 } 458 }
461 } 459 }
462 460
@@ -6,14 +6,17 @@ @@ -6,14 +6,17 @@
6 <div class="search-result">关于“<span class="blue">{{keywords}}</span>”,共为您查询到<span class="blue">{{total}}</span>个答案</div> 6 <div class="search-result">关于“<span class="blue">{{keywords}}</span>”,共为您查询到<span class="blue">{{total}}</span>个答案</div>
7 <ul class="search-list"> 7 <ul class="search-list">
8 {{#helper_list}} 8 {{#helper_list}}
9 - <li class="{{#if problem}}problem-li{{else}}article-li{{/if}}">  
10 - <p class="title">{{{caption}}}</p>  
11 - {{#if problem}} 9 + {{#if problem}}
  10 + <li class="problem-li">
  11 + <p class="icon iconfont icon-q title">{{{caption}}}</p>
  12 + <div class="icon iconfont icon-a cont">{{{content}}}</div>
  13 + </li>
  14 + {{else}}
  15 + <li class="article-li">
  16 + <p class="icon iconfont icon-file title">{{{caption}}}</p>
12 <div class="cont">{{{content}}}</div> 17 <div class="cont">{{{content}}}</div>
13 - {{else}}  
14 - <div class="cont">{{{content}}}</div>  
15 - {{/if}}  
16 - </li> 18 + </li>
  19 + {{/if}}
17 {{/helper_list}} 20 {{/helper_list}}
18 </ul> 21 </ul>
19 {{!-- 分页 --}} 22 {{!-- 分页 --}}