...
|
...
|
@@ -8,7 +8,8 @@ var $ = require('jquery'), |
|
|
lazyLoad = require('yoho.lazyload'),
|
|
|
Hammer = require('yoho.hammer');
|
|
|
|
|
|
var chosePanel = require('./chose-panel');
|
|
|
var chosePanel = require('./chose-panel'),
|
|
|
tip = require('../plugin/tip');
|
|
|
|
|
|
var $cartContent = $('.cart-content');
|
|
|
|
...
|
...
|
@@ -46,7 +47,11 @@ if ($('.cart-nav').length > 0) { |
|
|
}
|
|
|
|
|
|
$('.btn-balance').on('touchend', function() {
|
|
|
window.location.href = '/cart/index/orderEnsure?cartType=' + cartType;
|
|
|
if($('.balance span').hasClass('icon-cb-checked')){
|
|
|
window.location.href = '/cart/index/orderEnsure?cartType=' + cartType;
|
|
|
} else {
|
|
|
tip.show('请先勾选商品~');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$('.chose').on('touchend', function() {
|
...
|
...
|
|