...
|
...
|
@@ -12,7 +12,15 @@ |
|
|
{{#if searchListPage}}
|
|
|
<script>
|
|
|
seajs.use(['js/product/list', 'js/product/product'], function (list, product) {
|
|
|
|
|
|
$(window).resize(function () {
|
|
|
setTimeout(function () {
|
|
|
function () {
|
|
|
product.init(5);
|
|
|
}
|
|
|
}, 300);
|
|
|
});
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
{{/if}}
|
...
|
...
|
@@ -21,7 +29,15 @@ |
|
|
{{#if productListPage}}
|
|
|
<script>
|
|
|
seajs.use(['js/product/list', 'js/product/product'], function (list, product) {
|
|
|
|
|
|
$(window).resize(function () {
|
|
|
setTimeout(function () {
|
|
|
function () {
|
|
|
product.init(4);
|
|
|
}
|
|
|
}, 300);
|
|
|
});
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
{{/if}}
|
...
|
...
|
|