Authored by 郭成尧

js-ok

... ... @@ -3,9 +3,22 @@
* @author: wsl<shuiling.wang@yoho.cn>
* @date: 2016/7/21
*/
require('product/search/list.page.css');
require('./search/list');
const ProductListWithFilter = require('./list/product-list-with-filter');
const qs = require('yoho-qs');
let initParams = {
page: 2,
currentUrl: location.pathname
};
if (qs.query) {
$.extend(initParams, { query: qs.query });
}
new ProductListWithFilter(initParams);
// require('./search/list');
require('common/footer');
require('./shop/coupon');
... ...