Authored by 梁志锋

gulp ge 生成的dist文件提交

... ... @@ -1926,7 +1926,14 @@ module.exports = function(specificGender) {
if (data === ' ') {
searching = false;
loading.hideLoadingMask();
if (gender) {
//修复有货币页面最后一条数据显示被遮挡的问题
if (specificGender) {
window.rePosFooter();
}
// 有货币页面不加载底部
if (gender && !specificGender) {
if (gender === '1,3') {
url = '/boys/bottomBanner';
} else {
... ... @@ -6024,6 +6031,9 @@ define("js/product/detail/fav", ["jquery","hammer"], function(require, exports,
var goodsConsultsEle = $('#goods-consults')[0],
goodsConsultsHammer = goodsConsultsEle && new Hammer(goodsConsultsEle);
var productId,
total;
function showCountPlus($el) {
var $count = $el.find('.animate-count');
... ... @@ -6037,6 +6047,13 @@ function showCountPlus($el) {
});
}
(function() {
var queryStr = window.location.search.substring(1);
productId = queryStr.split('&')[0].split('=')[1];
total = queryStr.split('&')[1] ? queryStr.split('&')[1].split('=')[1] : undefined;
})();
if (goodsConsultsHammer) {
goodsConsultsHammer.on('tap', function(e) {
... ... @@ -6058,7 +6075,9 @@ if (goodsConsultsHammer) {
method: 'post',
url: url,
data: {
id: id
id: id,
productId: productId,
total: total
}
}).done(function(data) {
if (data.code === 200) {
... ...
This diff could not be displayed because it is too large.