shop-brand.page.js
430 Bytes
require('scss/product/shop/shop.page.scss');
let ProductListWithFilter = require('js/product/list/product-list-with-filter');
const brandId = $('#brandId').val();
new ProductListWithFilter({
brand_id: brandId,
page: 2, // 首页服务端已经渲染
isShopBrand: 'Y' // 传给 filter,表明调用哪个接口获取筛选面板的数据
}, 'product/search/brand/goods');
// productListWithFilterModel.getFilter();