Showing
4 changed files
with
9 additions
and
4 deletions
@@ -7749,14 +7749,19 @@ if ($brandHeader.length > 0) { | @@ -7749,14 +7749,19 @@ if ($brandHeader.length > 0) { | ||
7749 | var appVersion = $('input[name="app_version"]').val(); | 7749 | var appVersion = $('input[name="app_version"]').val(); |
7750 | 7750 | ||
7751 | /* 如果是基础店铺,POST 的数据一样 */ | 7751 | /* 如果是基础店铺,POST 的数据一样 */ |
7752 | + if ($this.hasClass('coled')) { | ||
7752 | postData = { | 7753 | postData = { |
7753 | shop_id: id, | 7754 | shop_id: id, |
7754 | - app_version: appVersion | 7755 | + app_version: appVersion, |
7756 | + opt: 'cancel' | ||
7755 | }; | 7757 | }; |
7756 | - | ||
7757 | - if ($this.hasClass('coled')) { | ||
7758 | postUrl = '/product/index/cancelShopFav'; | 7758 | postUrl = '/product/index/cancelShopFav'; |
7759 | } else { | 7759 | } else { |
7760 | + postData = { | ||
7761 | + shop_id: id, | ||
7762 | + app_version: appVersion, | ||
7763 | + opt: 'ok' | ||
7764 | + }; | ||
7760 | postUrl = '/product/index/shopFav'; | 7765 | postUrl = '/product/index/shopFav'; |
7761 | } | 7766 | } |
7762 | } else { | 7767 | } else { |
@@ -9958,7 +9963,7 @@ document.addEventListener('touchmove', function(e) { | @@ -9958,7 +9963,7 @@ document.addEventListener('touchmove', function(e) { | ||
9958 | 9963 | ||
9959 | //window ready 后重新refresh iscroll | 9964 | //window ready 后重新refresh iscroll |
9960 | $(window).ready(function() { | 9965 | $(window).ready(function() { |
9961 | - // myScroll && myScroll.refresh(); | 9966 | + myScroll && myScroll.refresh(); |
9962 | imgH = $('#nav-top').outerHeight(); | 9967 | imgH = $('#nav-top').outerHeight(); |
9963 | nav1H = $('#nav').outerHeight(); | 9968 | nav1H = $('#nav').outerHeight(); |
9964 | main1H = $('#nav-main').height(); | 9969 | main1H = $('#nav-main').height(); |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment