Authored by xuqi

逛页面js修正

... ... @@ -20,7 +20,8 @@ exports.init = function() {
$(function() {
var isInit = true,
scrollToEl = document.querySelector('#wrapper .article-type-three'),
thumbs;
thumbs,
arrowPosition;
container = $('.article-type-three');
thumbContainer = container.find('.thumb-container');
... ... @@ -87,9 +88,7 @@ exports.init = function() {
.removeClass('hide');
//图片懒加载
$("img.lazy").lazyload({
placeholder : "data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
});
$("img.lazy").lazyload();
if (!isInit) {
if (myscroll) {
... ...
... ... @@ -19,7 +19,8 @@ exports.init = function() {
isInit = true,
tContainerH,
containerH,
containerTop;
containerTop,
arrowPosition;
//fastclick
Fastclick(document.body);
... ... @@ -70,9 +71,7 @@ exports.init = function() {
.removeClass('hide');
//图片懒加载
$("img.lazy").lazyload({
placeholder: "data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
});
$("img.lazy").lazyload();
//scroll to top
if (!isInit) {
... ...