Authored by zhangxiaoru

首页收藏

... ... @@ -34,6 +34,8 @@ var $subNav = $('.home-sub-nav'),
$shopId = $('input[name="shop_id"]').val(),
$appVersion = $('input[name="app_version"]').val();
var swiper;
var winH = $(window).height(),
noResult = '<p class="no-result">未找到相关搜索结果</p>';
... ... @@ -317,9 +319,9 @@ document.addEventListener('touchmove', function(e) {
e.preventDefault();
}, false);
if (!isIphone) {
/*if (!isIphone) {
return;
}
}*/
//window onload 后重新refresh iscroll
... ... @@ -766,8 +768,9 @@ function cancelShop() {
postCollect(qew);
}
$('#collect').bind('touchstart', function() {
$('#collect').on('touchstart', function(e) {
if ($('#collect').hasClass('alreadyCollect')) {
console.log(1)
cancelShop();
} else {
collectShop();
... ...