Blame view

public/js/product/shop-brand.page.js 421 Bytes
郭成尧 authored
1
require('product/shop/shop.page.css');
郭成尧 authored
2
let ProductListWithFilter = require('product/list/product-list-with-filter');
郭成尧 authored
3
郭成尧 authored
4
const brandId = $('#brandId').val();
郭成尧 authored
5
郭成尧 authored
6 7 8 9 10
new ProductListWithFilter({
    brand_id: brandId,
    page: 2, // 首页服务端已经渲染
    isShopBrand: 'Y' // 传给 filter,表明调用哪个接口获取筛选面板的数据
}, 'product/search/brand/goods');
郭成尧 authored
11
郭成尧 authored
12
// productListWithFilterModel.getFilter();