|
|
@ -4,11 +4,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
$(function () {
|
|
|
|
'use strict';
|
|
|
|
'use strict';
|
|
|
|
document.querySelector('body').addEventListener('touchmove', function(e) {
|
|
|
|
// document.querySelector('body').addEventListener('touchmove', function(e) {
|
|
|
|
if (!document.querySelector('.coupons').contains(e.target)) {
|
|
|
|
// if (!document.querySelector('.coupons').contains(e.target)) {
|
|
|
|
e.preventDefault();
|
|
|
|
// e.preventDefault();
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
var dataCache = {price: '0', coupons: [], coupon_groups: {}};
|
|
|
|
var dataCache = {price: '0', coupons: [], coupon_groups: {}};
|
|
|
|
var exchangeRate = 'CNY' == window.currency ? 1 : parseFloat(window.exchange_rate);
|
|
|
|
var exchangeRate = 'CNY' == window.currency ? 1 : parseFloat(window.exchange_rate);
|
|
|
|
dataCache.paying = false;
|
|
|
|
dataCache.paying = false;
|
|
|
|