Authored by biao

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

... ... @@ -233,4 +233,10 @@ function scrollHandler() {
}
//srcoll to load more
$(window).scroll(scrollHandler);
\ No newline at end of file
$(window).scroll(scrollHandler);
$(document).on('touchend', '.swiper-header', function() {
var url = $(this).find('.fav-more').attr('href');
window.location.href = url;
});
... ...
... ... @@ -19,9 +19,9 @@ myImage.onload = function() {
$userAvatar.css('background-image', 'url(' + avatar + ')');
};
$('.yoho-page').on('touchstart', '.list-item, .type-item', function() {
$('.yoho-page').on('touchstart', '.list-item, .type-item, .order-title', function() {
$listItem.removeClass('highlight');
$(this).addClass('highlight');
}).on('touchend touchcancel', '.list-item, .type-item', function() {
}).on('touchend touchcancel', '.list-item, .type-item, .order-title', function() {
$(this).removeClass('highlight');
});
... ...
... ... @@ -136,6 +136,10 @@
color: #e0e0e0;
float: right;
}
&.highlight {
background: #eee;
}
}
.order-type {
... ...