...
|
...
|
@@ -9,14 +9,10 @@ var $ = require('jquery'), |
|
|
lazyLoad = require('yoho.lazyload');
|
|
|
|
|
|
var dialog = require('../me/dialog'),
|
|
|
tip = require('../plugin/tip'),
|
|
|
chosePanel = require('./chose-panel');
|
|
|
tip = require('../plugin/tip');
|
|
|
|
|
|
var $names;
|
|
|
|
|
|
//chosePanel = require('./chose-panel');
|
|
|
|
|
|
var cartType = 'ordinary';
|
|
|
var $names;
|
|
|
|
|
|
//var $curDelPanel;
|
|
|
|
...
|
...
|
@@ -153,27 +149,3 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { |
|
|
//})
|
|
|
|
|
|
|
|
|
$('.btn-balance').on('touchend', function() {
|
|
|
window.location.href = '/shoppingCart/orderEnsure?cartType=' + cartType;
|
|
|
});
|
|
|
|
|
|
$('.advance-buy').on('touchend', function() {
|
|
|
var $advanceBuy = $('#advanceBuy'),
|
|
|
$mainCart = $('#mainCart');
|
|
|
|
|
|
if ($advanceBuy.hasClass('hide')) {
|
|
|
$mainCart.removeClass('show').addClass('hide');
|
|
|
$advanceBuy.removeClass('hide').addClass('show');
|
|
|
} else {
|
|
|
$advanceBuy.removeClass('show').addClass('hide');
|
|
|
$mainCart.removeClass('hide').addClass('show');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
$('.chose').on('touchend', function() {
|
|
|
|
|
|
//var id = $(this).closest('.gift-advance-good').data('id');
|
|
|
chosePanel.show();
|
|
|
});
|
|
|
|
...
|
...
|
|