Authored by 刘传洋

m

... ... @@ -40,7 +40,7 @@ function toastNoStore(parent) {
$tip.fadeIn();
setTimeout(function(){
setTimeout(function() {
$tip.fadeOut();
}, 2000);
}
... ... @@ -273,7 +273,7 @@ var Cart = {
sku: $this.closest('li[data-role="pitem"]').data('id')
}));
},
reAdd2Cart: function(){
reAdd2Cart: function() {
var $this = $(this);
var $li = $this.closest('li');
... ... @@ -284,7 +284,7 @@ var Cart = {
promotionId: $li.data('promotionid')
});
},
reFav: function(){
reFav: function() {
var $this = $(this);
var $li = $this.closest('li');
... ...
... ... @@ -93,7 +93,7 @@ $togetherSlide.on('click', '.pagenext, .pageprev', function() {
loadTogetherProduct(Math.ceil(Math.random() * 100) + 1);
});
$('.bottom-tab-slide .change').on('click', function(){
$('.bottom-tab-slide .change').on('click', function() {
var pageNum = Number($fineSlide.data('pagenum') || 1);
... ... @@ -108,7 +108,7 @@ $('.bottom-tab-slide .change').on('click', function(){
});
// 为您优选翻页
/*$fineSlide.on('click', '.pagenext, .pageprev', function() {
/* $fineSlide.on('click', '.pagenext, .pageprev', function() {
var pageNum = Number($fineSlide.data('pagenum') || 1);
... ... @@ -145,7 +145,7 @@ $('.bottom-tab-slide').on('click', '.bottom-title', function() {
$triggers.removeClass('cur');
$this.addClass('cur');
if($this.data('type') === 'fine') {
if ($this.data('type') === 'fine') {
$chgBtn.show();
} else {
$chgBtn.hide();
... ... @@ -164,7 +164,7 @@ function showTogetherSelWin(id, skn) {
capi.showMDialog('#Y_goodsSelectWinDialog');
}
$('.bottom-slide-content').on('click', '[data-role=add2cart]', function(){
$('.bottom-slide-content').on('click', '[data-role=add2cart]', function() {
var $this = $(this);
var id = $this.data('id');
var skn = $this.data('skn');
... ...