Authored by 郭成尧

goods-list

1 -require('feature.css');  
2 -require('product/search/list.page.css');  
3 -require('product/shop/redshop.page.css');  
4 -  
5 -require('../plugin/sticky');  
6 -require('./shop/coupon');  
7 -require('./shop/red-shop');  
8 -  
9 const $ = require('yoho-jquery'); 1 const $ = require('yoho-jquery');
10 const allProduct = require('./shop/all-product'); 2 const allProduct = require('./shop/all-product');
11 let Tab = require('../plugin/tab'); 3 let Tab = require('../plugin/tab');
12 4
  5 +require('feature.css');
  6 +require('product/search/list.page.css');
  7 +require('product/shop/redshop.page.css');
  8 +
13 let $filterBox = $('.filter-box'); 9 let $filterBox = $('.filter-box');
14 let $goodsContainer = $('#goods-container'); 10 let $goodsContainer = $('#goods-container');
15 11
@@ -25,3 +21,7 @@ Tab.prototype.filtershow = function() { // 显示筛选 TAB @@ -25,3 +21,7 @@ Tab.prototype.filtershow = function() { // 显示筛选 TAB
25 21
26 // 页面打开直接加载筛选项 22 // 页面打开直接加载筛选项
27 allProduct.getFilter(); 23 allProduct.getFilter();
  24 +
  25 +require('../plugin/sticky');
  26 +require('./shop/coupon');
  27 +require('./shop/red-shop');