...
|
...
|
@@ -7,12 +7,13 @@ var $ = require('jquery'), |
|
|
Hammer = require('yoho.hammer'),
|
|
|
tip = require('../../plugin/tip');
|
|
|
|
|
|
var likeHammer = new Hammer(document.getElementById('likeBtn'));
|
|
|
var likeHammer = new Hammer(document.getElementById('likeBtn')),
|
|
|
addToCartHammer = new Hammer(document.getElementById('addtoCart'));
|
|
|
|
|
|
var productId = $('#productId').val();
|
|
|
|
|
|
likeHammer.on('tap', function(e) {
|
|
|
var productId = $('#productId').val(),
|
|
|
opt,
|
|
|
var opt,
|
|
|
favorite;
|
|
|
|
|
|
|
...
|
...
|
|