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