Authored by lijing

重复绑定click事件

@@ -808,18 +808,11 @@ $yohoPage.on('touchstart', '.btn-minus', function() { @@ -808,18 +808,11 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
808 }); 808 });
809 809
810 } else { 810 } else {
811 -  
812 - $('#chose-btn-sure').click(  
813 - function() {  
814 var thisSkn = $('#productSkn').val(); 811 var thisSkn = $('#productSkn').val();
815 var thisSku = ''; 812 var thisSku = '';
816 -  
817 thisSku = $('.size-list').find('.chosed').attr('data-skuid'); 813 thisSku = $('.size-list').find('.chosed').attr('data-skuid');
818 -  
819 window.location.href = '/cart/index/seckill?skn=' + thisSkn + '&sku=' + thisSku; 814 window.location.href = '/cart/index/seckill?skn=' + thisSkn + '&sku=' + thisSku;
820 } 815 }
821 - );  
822 - }  
823 816
824 } 817 }
825 return false; // 阻止加入购物车按钮冒泡 818 return false; // 阻止加入购物车按钮冒泡