search-list-new.page.js 472 Bytes
/**
 * 搜索商品列表页
 * @author: wsl<shuiling.wang@yoho.cn>
 * @date: 2016/7/21
 */
require('product/search/list.page.css');

const qs = require('yoho-qs');
const ProductListWithFilter = require('./list/product-list-with-filter');

let initParams = {
    page: 2,
    currentUrl: location.pathname
};

if (qs) {
    $.extend(initParams, qs);
}

new ProductListWithFilter(initParams, 'product/search/category');

require('common/footer');
require('./shop/coupon');