search-list-new.page.js
457 Bytes
/**
* 商品列表页、品类落地页
*/
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/suspend-cart');
require('common/footer');
require('./shop/coupon');