Authored by 王水玲

订单列表穿透

... ... @@ -8,7 +8,6 @@ require('layout/_modal.css');
require('home/order-list.page.css');
let $ = require('yoho-jquery'),
Hammer = require('yoho-hammer'),
lazyLoad = require('yoho-jquery-lazyload'),
tip = require('plugin/tip'),
Swiper = require('yoho-swiper');
... ... @@ -33,8 +32,7 @@ let loading = require('plugin/loading');
let dialog = require('plugin/dialog');
let orderHammer,
$reaMask = $('.reason-mask'),
let $reaMask = $('.reason-mask'),
$refundReaMask = $('.refund-reason-mask'),
reasonSwiper,
refundReasonSwiper;
... ... @@ -222,8 +220,7 @@ function sureOrder(orderId) {
}
// 点击订单区域跳转订单详情页
orderHammer = new Hammer(document.getElementById('order-container'));
orderHammer.on('tap', function(e) {
$('#order-container').on('click', function(e) {
let $cur = $(e.target),
$order,
id,
... ...