Authored by 毕凯

Merge branch 'feature/index-optim' into 'gray'

处理优化lazyload加载, 处理首页直出的部分去掉lazyload



See merge request !25
... ... @@ -15,7 +15,7 @@
<li class="more">
<a class="{{#unless image.src}}default{{/unless}}" href="{{image.url}}">
<img class="lazy" data-original="{{image2 image.src w=320 h=172 q=60}}">
<img src="{{image2 image.src w=320 h=172 q=60}}">
</a>
</li>
</ul>
... ...
... ... @@ -4,7 +4,7 @@
{{# banner}}
<a class="category-banner" href="{{url}}">
<img class="lazy" data-original="{{image2 src q=60}}">
<img src="{{image2 src q=60}}">
</a>
{{/ banner}}
<ul class="category-list clearfix">
... ... @@ -12,7 +12,7 @@
<li>
<a href="{{url}}">
<div class="img-box">
<img class="lazy" data-original="{{image2 src w=140 h=140 q=60}}" alt="">
<img src="{{image2 src w=140 h=140 q=60}}" alt="">
</div>
</a>
</li>
... ...
... ... @@ -96,7 +96,7 @@
"yoho-handlebars": "^4.0.5",
"yoho-iscroll": "^5.2.0",
"yoho-jquery": "^2.2.4",
"yoho-jquery-lazyload": "^1.9.9",
"yoho-jquery-lazyload": "^1.9.10",
"yoho-jquery-qrcode": "^0.14.0",
"yoho-mlellipsis": "0.0.3",
"yoho-qs": "^1.0.1",
... ...
... ... @@ -4,7 +4,7 @@
{{# banner}}
<a class="category-banner" href="{{url}}">
<img class="lazy" data-original="{{image2 src q=60}}">
<img src="{{image2 src q=60}}">
</a>
{{/ banner}}
<ul class="category-list clearfix">
... ... @@ -12,7 +12,7 @@
<li>
<a href="{{url}}">
<div class="img-box">
<img class="lazy" data-original="{{image2 src w=140 h=140 q=60}}" alt="">
<img src="{{image2 src w=140 h=140 q=60}}" alt="">
</div>
</a>
</li>
... ...