...
|
...
|
@@ -7,7 +7,7 @@ var $ = require('jquery'), |
|
|
Hammer = require('yoho.hammer'),
|
|
|
tip = require('../../plugin/tip');
|
|
|
|
|
|
var likeHammer = new Hammer('#likeBtn');
|
|
|
var likeHammer = new Hammer(document.getElementById('likeBtn'));
|
|
|
|
|
|
likeHammer.on('tap', function(e) {
|
|
|
var productId = $('#productId').val(),
|
...
|
...
|
@@ -40,4 +40,9 @@ likeHammer.on('tap', function(e) { |
|
|
tip.show('网络断开连接了~');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
$('#likeBtn').on('click', function(e) {
|
|
|
return false;
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|