Authored by 陈峰

dialog事件绑定延迟500ms

... ... @@ -67,7 +67,7 @@ exports.showDialog = function(data, callback, callbackForLeft, fullWithBtn) {
// 延迟绑定事件,防止触发touch弹出dialog之后直接触发这个click
setTimeout(() => {
$dialogWrapper.on('click', function(event) {
$dialogWrapper.on('touchend', function(event) {
if ($(event.target).hasClass('dialog-left-btn')) {
if (typeof callbackForLeft === 'function') {
callbackForLeft();
... ...