search-list.page.js
474 Bytes
/**
* 搜索商品列表页
* @author: wsl<shuiling.wang@yoho.cn>
* @date: 2016/7/21
*/
require('product/search/list.page.css');
const ProductListWithFilter = require('./list/product-list-with-filter');
const qs = require('yoho-qs');
let initParams = {
page: 2,
currentUrl: location.pathname
};
if (qs) {
$.extend(initParams, qs);
}
new ProductListWithFilter(initParams);
// require('./search/list');
require('common/footer');
require('./shop/coupon');