Authored by yyq

未读消息数量替换为new图标

@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 <li class="row{{#if @first}} first{{/if}}{{#if active}} active{{/if}}"> 18 <li class="row{{#if @first}} first{{/if}}{{#if active}} active{{/if}}">
19 <a href="{{href}}" target="{{#if isBlank}}_blank{{/if}}" >{{name}}</a> 19 <a href="{{href}}" target="{{#if isBlank}}_blank{{/if}}" >{{name}}</a>
20 {{#if count}} 20 {{#if count}}
21 - <span>{{count}}</span> 21 + <span class="new-count">{{count}}</span>
22 {{/if}} 22 {{/if}}
23 </li> 23 </li>
24 {{/each}} 24 {{/each}}
@@ -111,6 +111,15 @@ @@ -111,6 +111,15 @@
111 color: #e0012b; 111 color: #e0012b;
112 font-weight: bold; 112 font-weight: bold;
113 } 113 }
  114 +
  115 + .new-count {
  116 + text-indent: -9999px;
  117 + background: resolve(home/new-ico.gif) no-repeat;
  118 + display: inline-block;
  119 + width: 30px;
  120 + height: 14px;
  121 + vertical-align: middle;
  122 + }
114 } 123 }
115 124
116 .nav-group li:hover { 125 .nav-group li:hover {