Authored by liangxs

原因选择蒙层点击消失

... ... @@ -76,7 +76,8 @@ $(function() {
direction: 'vertical',
slidesPerView: 4,
effect: 'coverflow',
centeredSlides: true
centeredSlides: true,
initialSlide: 2
});
});
... ... @@ -108,3 +109,12 @@ $reaMask.find('.box-cmp').on('touchend', function(e) {
tip.show('网络错误');
});
});
$reaMask.on('touchend', function(event) {
if (event.target.className !== 'reason-mask') {
return false;
}
$reaMask.css('visibility', 'hidden');
event.stopPropagation();
});
\ No newline at end of file
... ...
... ... @@ -189,7 +189,8 @@ $(function() {
direction: 'vertical',
slidesPerView: 4,
effect: 'coverflow',
centeredSlides: true
centeredSlides: true,
initialSlide: 2
});
});
... ... @@ -220,4 +221,13 @@ $reaMask.find('.box-cmp').on('touchend', function(e) {
}).fail(function() {
tip.show('网络错误');
});
});
$reaMask.on('touchend', function(event) {
if (event.target.className !== 'reason-mask') {
return false;
}
$reaMask.css('visibility', 'hidden');
event.stopPropagation();
});
\ No newline at end of file
... ...