...
|
...
|
@@ -22,9 +22,11 @@ lazyLoad({ |
|
|
try_again_css: 'good-failure'
|
|
|
});
|
|
|
|
|
|
$('.shopping-cart-good .name').each(function() {
|
|
|
this.mlellipsis(2);
|
|
|
});
|
|
|
setTimeout(function() {
|
|
|
$('.shopping-cart-good .name').each(function() {
|
|
|
this.mlellipsis(2);
|
|
|
});
|
|
|
}, 0);
|
|
|
|
|
|
function GoodInfo(properties) {
|
|
|
this.goods_type = properties.goods_type;
|
...
|
...
|
@@ -190,11 +192,13 @@ function bottomCheckBoxHandeler(isSelected, type, handlerAfterTouch) { |
|
|
|
|
|
//全选按钮点击事件
|
|
|
$selectAllBtn.on('touchend', function() {
|
|
|
if ($('.low-stocks').length > 0) {
|
|
|
var isSelect = $(this).hasClass('icon-cb-checked');
|
|
|
|
|
|
if (!isSelect && $('.low-stocks').length > 0) {
|
|
|
tip.show('所选商品中含有库存不足的商品');
|
|
|
return false;
|
|
|
}
|
|
|
bottomCheckBoxHandeler($(this).hasClass('icon-cb-checked'), $('#cartType').val(), didUpdateAllGoodsCheckStatus);
|
|
|
bottomCheckBoxHandeler(isSelect, $('#cartType').val(), didUpdateAllGoodsCheckStatus);
|
|
|
});
|
|
|
|
|
|
$('.down').on('touchend', function() {
|
...
|
...
|
|