...
|
...
|
@@ -38,6 +38,13 @@ function handelProduct(data) { |
|
|
}
|
|
|
|
|
|
function refreshBag() {
|
|
|
var time = Date.parse(new Date()),
|
|
|
oldTime = this.time;
|
|
|
|
|
|
if (oldTime && time - oldTime < 100) {
|
|
|
return;
|
|
|
}
|
|
|
this.time = time;
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: '/shopping/cart/data',
|
...
|
...
|
@@ -182,6 +189,7 @@ $searchKey.focus(function() { |
|
|
$searchKey.val('search').css('color', '#aaa');
|
|
|
}
|
|
|
}).val('search').css('color', '#aaa');
|
|
|
|
|
|
// }
|
|
|
|
|
|
$clearInput.click(function() {
|
...
|
...
|
|