Showing
2 changed files
with
21 additions
and
2 deletions
@@ -1926,7 +1926,14 @@ module.exports = function(specificGender) { | @@ -1926,7 +1926,14 @@ module.exports = function(specificGender) { | ||
1926 | if (data === ' ') { | 1926 | if (data === ' ') { |
1927 | searching = false; | 1927 | searching = false; |
1928 | loading.hideLoadingMask(); | 1928 | loading.hideLoadingMask(); |
1929 | - if (gender) { | 1929 | + |
1930 | + //修复有货币页面最后一条数据显示被遮挡的问题 | ||
1931 | + if (specificGender) { | ||
1932 | + window.rePosFooter(); | ||
1933 | + } | ||
1934 | + | ||
1935 | + // 有货币页面不加载底部 | ||
1936 | + if (gender && !specificGender) { | ||
1930 | if (gender === '1,3') { | 1937 | if (gender === '1,3') { |
1931 | url = '/boys/bottomBanner'; | 1938 | url = '/boys/bottomBanner'; |
1932 | } else { | 1939 | } else { |
@@ -6024,6 +6031,9 @@ define("js/product/detail/fav", ["jquery","hammer"], function(require, exports, | @@ -6024,6 +6031,9 @@ define("js/product/detail/fav", ["jquery","hammer"], function(require, exports, | ||
6024 | var goodsConsultsEle = $('#goods-consults')[0], | 6031 | var goodsConsultsEle = $('#goods-consults')[0], |
6025 | goodsConsultsHammer = goodsConsultsEle && new Hammer(goodsConsultsEle); | 6032 | goodsConsultsHammer = goodsConsultsEle && new Hammer(goodsConsultsEle); |
6026 | 6033 | ||
6034 | +var productId, | ||
6035 | + total; | ||
6036 | + | ||
6027 | function showCountPlus($el) { | 6037 | function showCountPlus($el) { |
6028 | var $count = $el.find('.animate-count'); | 6038 | var $count = $el.find('.animate-count'); |
6029 | 6039 | ||
@@ -6037,6 +6047,13 @@ function showCountPlus($el) { | @@ -6037,6 +6047,13 @@ function showCountPlus($el) { | ||
6037 | }); | 6047 | }); |
6038 | } | 6048 | } |
6039 | 6049 | ||
6050 | +(function() { | ||
6051 | + var queryStr = window.location.search.substring(1); | ||
6052 | + | ||
6053 | + productId = queryStr.split('&')[0].split('=')[1]; | ||
6054 | + total = queryStr.split('&')[1] ? queryStr.split('&')[1].split('=')[1] : undefined; | ||
6055 | +})(); | ||
6056 | + | ||
6040 | if (goodsConsultsHammer) { | 6057 | if (goodsConsultsHammer) { |
6041 | 6058 | ||
6042 | goodsConsultsHammer.on('tap', function(e) { | 6059 | goodsConsultsHammer.on('tap', function(e) { |
@@ -6058,7 +6075,9 @@ if (goodsConsultsHammer) { | @@ -6058,7 +6075,9 @@ if (goodsConsultsHammer) { | ||
6058 | method: 'post', | 6075 | method: 'post', |
6059 | url: url, | 6076 | url: url, |
6060 | data: { | 6077 | data: { |
6061 | - id: id | 6078 | + id: id, |
6079 | + productId: productId, | ||
6080 | + total: total | ||
6062 | } | 6081 | } |
6063 | }).done(function(data) { | 6082 | }).done(function(data) { |
6064 | if (data.code === 200) { | 6083 | if (data.code === 200) { |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment