Authored by 郝肖肖

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

... ... @@ -24,7 +24,7 @@
<ul class="menu-common new-guide">
{{#each categoryItems}}
<li>
<a href="{{jumpLink}}"><img src="{{categoryIco}}" width="70" href="70"></a>
<a href="{{jumpLink}}"><img src="{{categoryIco}}" width="70" height="70"></a>
<p>{{categoryName}}</p>
</li>
{{/each}}
... ... @@ -36,7 +36,7 @@
<ul class="menu-common self-service">
{{#each list}}
<li>
<a href="{{jumpUrl}}"><img src="{{categoryIco}}" width="70" href="70"></a>
<a href="{{jumpUrl}}"><img src="{{categoryIco}}" width="70" height="70"></a>
<p>{{categoryName}}</p>
</li>
{{/each}}
... ...
... ... @@ -23,6 +23,22 @@ $(function() {
}
});
$('.new-guide li').each(function(key, item) {
if (key % 5 === 0) {
$(item).css({
marginLeft: 0
});
}
});
$('.self-service li').each(function(key, item) {
if (key % 6 === 0) {
$(item).css({
marginLeft: 0
});
}
});
setTimeout(function() {
new Scroller('notice', 30, 5);
}, 5000);
... ...
... ... @@ -132,12 +132,13 @@
.menu-common {
width: 992px;
margin: 65px auto;
margin: 45px auto;
height: auto;
overflow: hidden;
li {
float: left;
margin-top: 20px;
&:first-child {
margin-left: 0;
... ...