Authored by 陈峰

Merge branch 'hotfix/seckill' into 'release/5.6'

解决webview秒杀bug



See merge request !518
... ... @@ -44,8 +44,21 @@ seckillObj = {
let focus = $el.$navUl.find('>li.focus');
self.$productList = $('.product-list');
$el.$navUl.find('>li').click(function(event) {
self.selectTime(event.currentTarget);
// 在app webview中click捕获不到translate样式后的新位置
let $navLis = $el.$navUl.find('>li');
$navLis.on('touchmove', function() {
self.navMove = true;
});
$navLis.on('touchend', function(event) {
if (self.navMove) {
self.navMove = false;
return;
}
setTimeout(() => {
self.selectTime(event.currentTarget);
}, 200);
});
$(window).resize(function() {
... ...