Authored by 毕凯

Merge branch 'feature/page-penetration' into 'gray'

订单列表穿透



See merge request !1389
@@ -8,7 +8,6 @@ require('layout/_modal.css'); @@ -8,7 +8,6 @@ require('layout/_modal.css');
8 require('home/order-list.page.css'); 8 require('home/order-list.page.css');
9 9
10 let $ = require('yoho-jquery'), 10 let $ = require('yoho-jquery'),
11 - Hammer = require('yoho-hammer'),  
12 lazyLoad = require('yoho-jquery-lazyload'), 11 lazyLoad = require('yoho-jquery-lazyload'),
13 tip = require('plugin/tip'), 12 tip = require('plugin/tip'),
14 Swiper = require('yoho-swiper'); 13 Swiper = require('yoho-swiper');
@@ -33,8 +32,7 @@ let loading = require('plugin/loading'); @@ -33,8 +32,7 @@ let loading = require('plugin/loading');
33 32
34 let dialog = require('plugin/dialog'); 33 let dialog = require('plugin/dialog');
35 34
36 -let orderHammer,  
37 - $reaMask = $('.reason-mask'), 35 +let $reaMask = $('.reason-mask'),
38 $refundReaMask = $('.refund-reason-mask'), 36 $refundReaMask = $('.refund-reason-mask'),
39 reasonSwiper, 37 reasonSwiper,
40 refundReasonSwiper; 38 refundReasonSwiper;
@@ -222,8 +220,7 @@ function sureOrder(orderId) { @@ -222,8 +220,7 @@ function sureOrder(orderId) {
222 } 220 }
223 221
224 // 点击订单区域跳转订单详情页 222 // 点击订单区域跳转订单详情页
225 -orderHammer = new Hammer(document.getElementById('order-container'));  
226 -orderHammer.on('tap', function(e) { 223 +$('#order-container').on('click', function(e) {
227 let $cur = $(e.target), 224 let $cur = $(e.target),
228 $order, 225 $order,
229 id, 226 id,