shop-list.page.js 463 Bytes
require('product/shop/shop.page.css');
let ProductListWithFilter = require('product/list/product-list-with-filter');

let shopId = $('#shopId').val();

let productListWithFilterModel =
    new ProductListWithFilter({
        shop_id: shopId,
        page: 2, // 首页服务端已经渲染
        isShopList: 'Y' // 传给 filter,表明调用哪个接口获取筛选面板的数据
    }, 'product/search/shop/goods');

productListWithFilterModel.getFilter();