Authored by zhangxiaoru

局部样式

@@ -38,6 +38,7 @@ const index = (req, res, next) => { @@ -38,6 +38,7 @@ const index = (req, res, next) => {
38 pageHeader: headerModel.setNav({ 38 pageHeader: headerModel.setNav({
39 navTitle: '' 39 navTitle: ''
40 }), 40 }),
  41 + localCss: true,
41 categoryTab: isCate, 42 categoryTab: isCate,
42 channel: result.channel ? result.channel : '', 43 channel: result.channel ? result.channel : '',
43 brandList: result.brandList, 44 brandList: result.brandList,
@@ -63,6 +64,7 @@ const brandList = (req, res, next) => { @@ -63,6 +64,7 @@ const brandList = (req, res, next) => {
63 brandModel.brandListData(code, gender).then(result => { 64 brandModel.brandListData(code, gender).then(result => {
64 res.render('brand/brand-list', { 65 res.render('brand/brand-list', {
65 layout: false, 66 layout: false,
  67 + localCss: true,
66 brandList: result.brandList 68 brandList: result.brandList
67 }); 69 });
68 }).catch(next); 70 }).catch(next);
  1 +require('guang/brand-cate/brand-list.page.css');
  2 +
1 var $ = require('yoho-jquery'), 3 var $ = require('yoho-jquery'),
2 Swiper = require('yoho-swiper2'); 4 Swiper = require('yoho-swiper2');
3 5
  1 +@import "index";
  2 +@import "layout/swiper";