search-list.page.js 497 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.query) {
    $.extend(initParams, { query: qs.query });
}

new ProductListWithFilter(initParams);

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