Authored by 郝肖肖

Merge branch 'release/2.0' of git.yoho.cn:fe/yoho-blk into release/2.0

@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 <ul class="menu-common new-guide"> 24 <ul class="menu-common new-guide">
25 {{#each categoryItems}} 25 {{#each categoryItems}}
26 <li> 26 <li>
27 - <a href="{{jumpLink}}"><img src="{{categoryIco}}" width="70" href="70"></a> 27 + <a href="{{jumpLink}}"><img src="{{categoryIco}}" width="70" height="70"></a>
28 <p>{{categoryName}}</p> 28 <p>{{categoryName}}</p>
29 </li> 29 </li>
30 {{/each}} 30 {{/each}}
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 <ul class="menu-common self-service"> 36 <ul class="menu-common self-service">
37 {{#each list}} 37 {{#each list}}
38 <li> 38 <li>
39 - <a href="{{jumpUrl}}"><img src="{{categoryIco}}" width="70" href="70"></a> 39 + <a href="{{jumpUrl}}"><img src="{{categoryIco}}" width="70" height="70"></a>
40 <p>{{categoryName}}</p> 40 <p>{{categoryName}}</p>
41 </li> 41 </li>
42 {{/each}} 42 {{/each}}
@@ -23,6 +23,22 @@ $(function() { @@ -23,6 +23,22 @@ $(function() {
23 } 23 }
24 }); 24 });
25 25
  26 + $('.new-guide li').each(function(key, item) {
  27 + if (key % 5 === 0) {
  28 + $(item).css({
  29 + marginLeft: 0
  30 + });
  31 + }
  32 + });
  33 +
  34 + $('.self-service li').each(function(key, item) {
  35 + if (key % 6 === 0) {
  36 + $(item).css({
  37 + marginLeft: 0
  38 + });
  39 + }
  40 + });
  41 +
26 setTimeout(function() { 42 setTimeout(function() {
27 new Scroller('notice', 30, 5); 43 new Scroller('notice', 30, 5);
28 }, 5000); 44 }, 5000);
@@ -132,12 +132,13 @@ @@ -132,12 +132,13 @@
132 132
133 .menu-common { 133 .menu-common {
134 width: 992px; 134 width: 992px;
135 - margin: 65px auto; 135 + margin: 45px auto;
136 height: auto; 136 height: auto;
137 overflow: hidden; 137 overflow: hidden;
138 138
139 li { 139 li {
140 float: left; 140 float: left;
  141 + margin-top: 20px;
141 142
142 &:first-child { 143 &:first-child {
143 margin-left: 0; 144 margin-left: 0;