...
|
...
|
@@ -186,6 +186,21 @@ orderHammer.on('tap', function(e) { |
|
|
//Location to order detail
|
|
|
url = $order.data('href');
|
|
|
location.href = url;
|
|
|
} else if ($cur.closest('.rebuy').length > 0) {
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: '/home/readd',
|
|
|
data: {
|
|
|
orderCode: id
|
|
|
},
|
|
|
success: function(res) {
|
|
|
tip.show(res.message);
|
|
|
location.href = '/cart/index/index';
|
|
|
},
|
|
|
error: function(res) {
|
|
|
tip.show(res.message);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
|