Authored by 陈轩

save new-arrival

@@ -60,6 +60,30 @@ const newGoods = (req, res, next) => { @@ -60,6 +60,30 @@ const newGoods = (req, res, next) => {
60 }).catch(next); 60 }).catch(next);
61 }; 61 };
62 62
  63 +const _newGoods = (req, res, next) => {
  64 + res.render('new/index', {
  65 + module: 'product',
  66 + page: 'new-arrival',
  67 + width750: true,
  68 + localCss: true,
  69 + pageHeader: headerModel.setNav({
  70 + navTitle: '新品到着'
  71 + }),
  72 + });
  73 +};
  74 +
  75 +const brands = (req, res, next) => {
  76 + res.render('new/brands', {
  77 + module: 'product',
  78 + page: 'new-brands',
  79 + width750: true,
  80 + localCss: true,
  81 + pageHeader: headerModel.setNav({
  82 + navTitle: '为您推荐'
  83 + }),
  84 + });
  85 +};
  86 +
63 const selectNewSale = (req, res, next) => { 87 const selectNewSale = (req, res, next) => {
64 let params = _.assign({}, req.query); 88 let params = _.assign({}, req.query);
65 89
@@ -98,6 +122,8 @@ let filter = (req, res, next) => { @@ -98,6 +122,8 @@ let filter = (req, res, next) => {
98 module.exports = { 122 module.exports = {
99 blkNewGoods, 123 blkNewGoods,
100 newGoods, 124 newGoods,
  125 + _newGoods,
  126 + brands,
101 selectNewSale, 127 selectNewSale,
102 filter 128 filter
103 }; 129 };
@@ -142,7 +142,7 @@ router.get('/index/baseShopFav', newShop.baseShopFav); @@ -142,7 +142,7 @@ router.get('/index/baseShopFav', newShop.baseShopFav);
142 router.get('/index/brandFav', newShop.brandFav); 142 router.get('/index/brandFav', newShop.brandFav);
143 router.get('/new/shop/hotlist', newShop.shopHotList); 143 router.get('/new/shop/hotlist', newShop.shopHotList);
144 144
145 -router.get('/red_shop', newShop.redShop); 145 +router.get('/red_shop', newShop.redShop); // TODO,TODO,TODO,TODO
146 146
147 // end- 店铺重构 147 // end- 店铺重构
148 148
@@ -158,6 +158,9 @@ router.get('/list/new', news.newGoods); // 兼容 PC 的链接 @@ -158,6 +158,9 @@ router.get('/list/new', news.newGoods); // 兼容 PC 的链接
158 router.get('/new/selectNewSale', news.selectNewSale); 158 router.get('/new/selectNewSale', news.selectNewSale);
159 router.get('/new/filter', news.filter); 159 router.get('/new/filter', news.filter);
160 160
  161 +router.get('/newnew', news._newGoods);
  162 +router.get('/new/brands', news.brands);
  163 +
161 // 新品到着(blk) 164 // 新品到着(blk)
162 router.get('/blknew', news.blkNewGoods); 165 router.get('/blknew', news.blkNewGoods);
163 166
  1 +<div class="new-brands">
  2 + {{!--浏览过的品牌--}}
  3 + {{> new/recommend-brands
  4 + title="浏览过的品牌"
  5 + }}
  6 +
  7 + {{!--热门品牌--}}
  8 + {{> new/recommend-brands title="热门品牌"}}
  9 +
  10 + {{!--新入驻品牌--}}
  11 + {{> new/recommend-brands title="新入驻品牌"}}
  12 +</div>
  1 +{{!--新品到着--}}
  2 +<div>
  3 + {{!--top banner--}}
  4 + <div class="banner-top">
  5 + <div class="banner-swiper swiper-container">
  6 + <!-- Additional required wrapper -->
  7 + <div class="swiper-wrapper">
  8 + <!-- Slides -->
  9 + <div class="swiper-slide">
  10 + <a href="">
  11 + <img class="banner-top-pic" src="//img12.static.yhbimg.com/yhb-img01/2016/03/21/05/02c8856b64157f6fe018e76d1d5dbe6a92.jpg?imageView2/2/w/640/h/240/q/60" alt="">
  12 + </a>
  13 + </div>
  14 + </div>
  15 + <div class="swiper-pagination"></div>
  16 + </div>
  17 + </div>
  18 +
  19 + {{!--为您推荐--}}
  20 + {{> 'new/recommend-brands'
  21 + style="new-recommend "
  22 + title="为您推荐"
  23 + more='/product/new/brands'
  24 + }}
  25 +
  26 + {{!--精选抢先看--}}
  27 + {{> 'new/handpick'}}
  28 +
  29 + {{!--最新上架--}}
  30 + {{> 'new/goods'}}
  31 +</div>
  1 +<div class="good-info">
  2 + <div class="guang-article">
  3 + <div class="cate tip">潮品</div>
  4 + <img src="//img13.static.yhbimg.com/article/2016/12/28/09/024949cb26c998cb9fccd2e0819e1a9e43.jpg?imageView2/2/w/640/h/640/q/60" alt="">
  5 + <div class="footer">
  6 + <p class="digest">Supreme这个牌子有什么超魔力为什么玩潮女生都爱穿它?</p>
  7 + <div class="meta clearfix">
  8 + <div class="pull-left">
  9 + <i class="iconfont">&#xe603;</i>&nbsp;<span>12月27日 13:05</span>
  10 + </div>
  11 + <div class="pull-right">
  12 + <i class="iconfont">&#xe602;</i>&nbsp;<span>26789</span>
  13 + </div>
  14 + </div>
  15 + </div>
  16 + </div>
  17 +</div>
  1 +<div class="good-info brand-recommend">
  2 + <img src="" alt="">
  3 + <div class="footer">
  4 + <div class="brand-name">品牌名</div>
  5 + <h5 class="good-name">这是商品名称</h5>
  6 + <div class="price">
  7 + <span class="sale-price">¥ 799.00</span>
  8 + </div>
  9 + </div>
  10 +</div>
  1 +{{!-- 商品列表中的 品牌上新--}}
  2 +<div class="good-info brand-info">
  3 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  4 + <h5 class="bname">这是一个品牌</h5>
  5 + <p class="summary">上新<span class="red">11</span>&nbsp;&nbsp;<span class="red">1111</span>人收藏</p>
  6 + <a href="#" class="entry">进入店铺</a>
  7 +</div>
  1 +{{!-- 新品到着: 最新上架--}}
  2 +<div>
  3 + <div>
  4 + {{> common/filter-nav}}
  5 + </div>
  6 +
  7 + <div class="goods-container">
  8 + {{# goods}}
  9 + {{> common/goods}}
  10 + {{/ goods}}
  11 +
  12 + {{> new/tags}}
  13 + {{> new/brand}}
  14 + {{> new/brand-recommend}}
  15 + {{> new/article}}
  16 +
  17 + {{> common/filter}}
  18 + </div>
  19 +
  20 + {{> common/query-param}}
  21 +</div>
  1 +{{!-- 新品到着: 精选 --}}
  2 +<div id="handpick" class="panel handpick">
  3 + <header class="panel-header">
  4 + <h4>精选抢先看</h4>
  5 + <a href="#javascript" class="panel-header-r more">
  6 + <i class="iconfont">&#xe606;</i>
  7 + </a>
  8 + </header>
  9 + <main class="panel-body">
  10 + <!-- Slider main container -->
  11 + <div class="handpick-swiper swiper-container">
  12 + <!-- Additional required wrapper -->
  13 + <div class="swiper-wrapper">
  14 + <!-- Slides -->
  15 + <div class="swiper-slide">Slide 1</div>
  16 + <div class="swiper-slide">Slide 2</div>
  17 + <div class="swiper-slide">Slide 3</div>
  18 + </div>
  19 + </div>
  20 + </main>
  21 +</div>
  1 +{{!-- 新品到着: 为您推荐--}}
  2 +<div id="new-recommend" class="{{style}} panel">
  3 + <header class="panel-header">
  4 + <h3>{{title}}</h3>
  5 + {{#more}}
  6 + <a href="{{.}}" class="panel-header-r more">
  7 + <i class="iconfont more">&#xe606;</i>
  8 + </a>
  9 + {{/more}}
  10 + </header>
  11 + <div class="panel-body">
  12 + <div class="brand-news-count">
  13 + <div class="brand-logo">
  14 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  15 + <h5>品牌品牌</h5>
  16 + </div>
  17 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  18 + </div>
  19 + <div class="brand-news-count">
  20 + <div class="brand-logo">
  21 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  22 + <h5>品牌品牌</h5>
  23 + </div>
  24 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  25 + </div>
  26 + <div class="brand-news-count">
  27 + <div class="brand-logo">
  28 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  29 + <h5>品牌品牌</h5>
  30 + </div>
  31 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  32 + </div>
  33 + <div class="brand-news-count">
  34 + <div class="brand-logo">
  35 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  36 + <h5>品牌品牌</h5>
  37 + </div>
  38 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  39 + </div>
  40 + <div class="brand-news-count">
  41 + <div class="brand-logo">
  42 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  43 + <h5>品牌品牌</h5>
  44 + </div>
  45 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  46 + </div>
  47 + <div class="brand-news-count">
  48 + <div class="brand-logo">
  49 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  50 + <h5>品牌品牌</h5>
  51 + </div>
  52 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  53 + </div>
  54 + <div class="brand-news-count">
  55 + <div class="brand-logo">
  56 + <img src="//img11.static.yhbimg.com/brandLogo/2016/08/16/16/01cfd27979a572e6d26018eebfcb6d3583.jpg?imageMogr2/thumbnail/120x120/extent/120x120/background/d2hpdGU=/position/center/quality/80" alt="">
  57 + <h5>品牌品牌</h5>
  58 + </div>
  59 + <div class="count">上新10款<i class="iconfont">&#xe604;</i></div>
  60 + </div>
  61 + </div>
  62 +</div>
  1 +<div class="good-info good-tags season-tags ">
  2 + <div>
  3 + <ul class="good-tags-list">
  4 + <li><a href="#" class="good-tag">夹克</a></li>
  5 + <li><a href="#" class="good-tag">夹克</a></li>
  6 + <li><a href="#" class="good-tag">夹克</a></li>
  7 + <li><a href="#" class="good-tag">夹克</a></li>
  8 + <li><a href="#" class="good-tag">夹克</a></li>
  9 + <li><a href="#" class="good-tag">夹克</a></li>
  10 + <li><a href="#" class="good-tag">夹克</a></li>
  11 + <li><a href="#" class="good-tag">夹克</a></li>
  12 + </ul>
  13 + </div>
  14 +</div>
1 -<ul id="list-nav" class="list-nav clearfix"> 1 +<ul id="list-nav" class="list-nav filter-nav clearfix">
2 <li class="new active"> 2 <li class="new active">
3 <a href="javascript:void(0);"> 3 <a href="javascript:void(0);">
4 <span class="span-test">最新</span> 4 <span class="span-test">最新</span>
  1 +require('product/new-arrival.page.css');
  2 +
  3 +let Swiper = require('yoho-swiper');
  4 +
  5 +
  6 +var mySwiper = new Swiper('.handpick-swiper', {
  7 + // Optional parameters
  8 + loop: true,
  9 +
  10 + // If we need pagination
  11 + slidesPerView: 'auto',
  12 + centeredSlides: true,
  13 + paginationClickable: true,
  14 + spaceBetween: 30,
  15 + pagination: '.swiper-pagination',
  16 +});
  1 +/**
  2 + * 新品到着---品牌推荐
  3 + */
  4 +require('product/new-brands.page.css');
  1 +.filter-nav {
  2 + background-color: #fff;
  3 + border-top: 2px solid #fff;
  4 + border-bottom: 1px solid #e6e6e6;
  5 +
  6 + > li {
  7 + float: left;
  8 + width: 25%;
  9 + height: 66px;
  10 + line-height: 66px;
  11 + text-align: center;
  12 + font-size: 28px;
  13 + color: #999;
  14 + }
  15 + .bytouch {
  16 + background: #eee;
  17 + }
  18 + a {
  19 + display: inline-block;
  20 + box-sizing: border-box;
  21 + width: auto;
  22 + height: 100%;
  23 + color: #999;
  24 + }
  25 +
  26 + .active > a {
  27 + color: #000;
  28 + box-sizing: border-box;
  29 + }
  30 + .active > .iconfont {
  31 + color: #000;
  32 + &.cur {
  33 + color: #000;
  34 + }
  35 + }
  36 +
  37 + .filter .iconfont {
  38 + font-size: 24px;
  39 + transition: transform 0.1 ease-in;
  40 + }
  41 +
  42 + .filter.active .iconfont {
  43 + transform: rotate(-180deg);
  44 + }
  45 +}
  46 +
1 .filter-mask, 47 .filter-mask,
2 .filter-body { 48 .filter-body {
3 position: absolute; 49 position: absolute;
@@ -224,4 +224,5 @@ @@ -224,4 +224,5 @@
224 padding-top: 8px; 224 padding-top: 8px;
225 padding-left: 15px; 225 padding-left: 15px;
226 min-height: 880px; 226 min-height: 880px;
  227 + background-color: #fff;
227 } 228 }
  1 +.panel {
  2 + margin-bottom: 25px;
  3 + background-color: #fff;
  4 +}
  5 +
  6 +.panel-body {
  7 + padding-top: 30px;
  8 + padding-bottom: 30px;
  9 + border-bottom: 1PX solid #dededf;
  10 +}
  11 +
  12 +.panel-header {
  13 + position: relative;
  14 + height: 84px;
  15 + line-height: 84px;
  16 + font-size: 34px;
  17 + font-weight: bold;
  18 + text-align: center;
  19 + color: #444;
  20 +
  21 + border-top: 1PX solid #dededf;
  22 + border-bottom: 1PX solid #dededf;
  23 +
  24 + .more {
  25 + color: #b0b0b0;
  26 + }
  27 +}
  28 +
  29 +.panel-header-r {
  30 + position: absolute;
  31 + top: 0;
  32 + right: 30px;
  33 +}
  1 +/* 新品到着 css */
  2 +
  3 +@import '../layout/panel';
  4 +@import '../layout/swiper';
  5 +@import '../common/filter';
  6 +@import '../common/good';
  7 +@import 'new/recommend';
  8 +@import 'new/handlepick';
  9 +@import 'new/good-tags';
  10 +@import 'new/brand-info';
  11 +@import 'new/brand-recommend';
  12 +@import 'new/article';
  13 +
  14 +body {
  15 + background-color: #f0f0f0;
  16 +}
  17 +
  18 +.goods-container {
  19 + overflow: hidden;
  20 +}
  21 +
  22 +.good-info {
  23 + width: 325px;
  24 + height: 550px;
  25 +}
  26 +
  27 +.new-recommend,
  28 +.handpick {
  29 + .panel-header {
  30 + border-bottom: none;
  31 + }
  32 +}
  33 +
  34 +.filter-nav {
  35 + border-top: 1PX solid #dededf;
  36 + border-bottom: 1PX solid #dededf;
  37 +}
  38 +
  39 +.banner-top {
  40 + border-bottom: 1PX solid #dededf;
  41 + margin-bottom: 30px;
  42 +}
  43 +
  44 +.banner-top-pic {
  45 + height: 234px;
  46 +}
  47 +
  48 +.brand-news-count h5 {
  49 + display: none;
  50 +}
  1 +@import '../layout/panel';
  2 +@import 'new/recommend';
  3 +
  4 +.main-wrap {
  5 + background-color: #f0f0f0;
  6 +}
  7 +
  8 +.new-brands {
  9 + .panel-header {
  10 + border-bottom: none;
  11 + }
  12 + .panel-body {
  13 + padding-left: 20px;
  14 + padding-right: 20px;
  15 + display: flex;
  16 + flex-wrap: wrap;
  17 + justify-content: space-between;
  18 + }
  19 +
  20 + .brand-news-count {
  21 + margin-top: 20px;
  22 + width: 32%;
  23 +
  24 + img {
  25 + height: auto;
  26 + }
  27 + }
  28 +}
  1 +.guang-article {
  2 + position: relative;
  3 + .cate {
  4 + position: absolute;
  5 + top: 0;
  6 + left: 0;
  7 +
  8 + height: 40px;
  9 + line-height: 40px;
  10 + padding-left: 20px;
  11 + padding-right: 50px;
  12 + border-top-right-radius: 20px;
  13 + border-bottom-right-radius: 20px;
  14 + background-repeat: no-repeat;
  15 + background-position: top right;
  16 + background-size: 40px 40px;
  17 + font-size: 18px;
  18 + background-color: #000;
  19 + color: #fff;
  20 +
  21 + &.collocation {
  22 + background-image: resolve('guang/info/collocation.png');
  23 + }
  24 +
  25 + &.fashion-good {
  26 + background-image: resolve('guang/info/fashion-good.png');
  27 + }
  28 +
  29 + &.fashion-man {
  30 + background-image: resolve('guang/info/fashion-man.png');
  31 + }
  32 +
  33 + &.tip,
  34 + &.special-topic {
  35 + background-image: resolve('guang/info/tip.png');
  36 + }
  37 +
  38 + &.topic {
  39 + background-image: resolve('guang/info/topic.png');
  40 + }
  41 + }
  42 +
  43 + img {
  44 + width: 100%;
  45 + height: 215px;
  46 + }
  47 +
  48 + .footer {
  49 + padding: 15px 20px 20px;
  50 + color: #fff;
  51 + background-color: #444;
  52 + }
  53 +
  54 + .digest {
  55 + font-size: 23px;
  56 + }
  57 +
  58 + .meta {
  59 + margin-top: 40px;
  60 + font-size: 17px;
  61 +
  62 + .iconfont {
  63 + vertical-align: middle;
  64 + }
  65 +
  66 + span {
  67 + vertical-align: middle;
  68 + }
  69 + }
  70 +}
  1 +.brand-info {
  2 + padding-top: 55px;
  3 + padding-bottom: 55px;
  4 + background-color: #f5f5f5;
  5 + text-align: center;
  6 +
  7 + img {
  8 + width: 141px;
  9 + height: 66px;
  10 + }
  11 +
  12 + .bname {
  13 + font-size: 18px;
  14 + color: #b0b0b0;
  15 + margin-top: 40px;
  16 + margin-bottom: 70px;
  17 + }
  18 +
  19 + .summary {
  20 + font-size: 25px;
  21 + margin-bottom: 50px;
  22 +
  23 + .red {
  24 + color: #e27b88;
  25 + }
  26 + }
  27 +
  28 + .entry {
  29 + display: inline-block;
  30 + height: 50px;
  31 + padding-left: 19px;
  32 + padding-right: 19px;
  33 + line-height: 46px;
  34 + color: #444;
  35 + border: 2px solid #444;
  36 + border-radius: 5px;
  37 + }
  38 +}
  1 +.brand-recommend {
  2 + img {
  3 + height: 426px;
  4 + background-color: gray;
  5 + }
  6 +
  7 + .footer {
  8 + position: relative;
  9 + height: 122px;
  10 + line-height: 1;
  11 + border-top: 1px solid transparent;
  12 + color: #fff;
  13 + background-color: #ff4333;
  14 + text-align: center;
  15 + }
  16 +
  17 + .brand-name {
  18 + position: absolute;
  19 + top: -25px;
  20 + left: 50%;
  21 + transform: translateX(-50%);
  22 +
  23 +
  24 + min-width: 150px;
  25 + max-width: 60%;
  26 + height: 50px;
  27 + line-height: 50px;
  28 + padding-left: 20px;
  29 + padding-right: 20px;
  30 + background-color: #000;
  31 + color: #fff;
  32 + overflow: hidden;
  33 + white-space: nowrap;
  34 + text-overflow: ellipsis;
  35 + }
  36 +
  37 + .good-name {
  38 + font-size: 20px;
  39 + margin-top: 40px;
  40 + margin-bottom: 15px;
  41 + }
  42 +
  43 + .sale-price {
  44 + font-size: 20px;
  45 + }
  46 +}
  1 +.good-tags {
  2 + padding-top: 159px;
  3 + background-repeat: no-repeat;
  4 + background-size: 100% 159px;
  5 +
  6 + &.season-tags {
  7 + background-image: url('/product/new/season-hot.jpg');
  8 + }
  9 +
  10 + &.search-tags {
  11 + background-image: url('/product/new/hot-search.jpg');
  12 + }
  13 +
  14 + &.brand-tags {
  15 + background-image: url('/product/new/brand-rec.jpg');
  16 + }
  17 +}
  18 +
  19 +.good-tags-list {
  20 + display: flex;
  21 + flex-wrap: wrap;
  22 + justify-content: space-around;
  23 + align-content: space-between;
  24 + height: 395px;
  25 + padding: 55px 0;
  26 + background-color: #f0f0f0;
  27 +
  28 + li {
  29 + width: 50%;
  30 + text-align: center;
  31 + }
  32 +
  33 + .good-tag {
  34 + display: inline-block;
  35 + height: 50px;
  36 + line-height: 50px;
  37 + width: 130px;
  38 + padding-left: 20px;
  39 + padding-right: 20px;
  40 + border-radius: 8px;
  41 + white-space: nowrap;
  42 + text-overflow: ellipsis;
  43 + overflow: hidden;
  44 + background-color: #fff;
  45 + font-size: 24px;
  46 + color: #808080;
  47 + }
  48 +}
  1 +.handpick {
  2 + .swiper-wrapper {
  3 + align-items: center;
  4 + }
  5 +
  6 + .swiper-container {
  7 + height: 194px;
  8 + }
  9 +
  10 + .swiper-slide {
  11 + width: 335px;
  12 + height: 176px;
  13 + background-color: #444;
  14 + border-radius: 8px;
  15 + }
  16 +
  17 + .swiper-slide-active {
  18 + height: 194px;
  19 + }
  20 +}
  1 +.new-recommend {
  2 + .panel-body {
  3 + white-space: nowrap;
  4 + overflow: auto;
  5 + }
  6 +}
  7 +
  8 +.brand-news-count {
  9 + display: inline-block;
  10 + color: #fff;
  11 + text-align: center;
  12 + width: 166px;
  13 +
  14 + img {
  15 + max-width: 100%;
  16 + height: 68px;
  17 + margin-bottom: 25px;
  18 + }
  19 +
  20 + .brand-logo {
  21 + margin-bottom: 25px;
  22 +
  23 + h5 {
  24 + color: #b8b8b8;
  25 + }
  26 + }
  27 +
  28 + .count {
  29 + display: inline-block;
  30 + padding-left: 10px;
  31 + padding-right: 10px;
  32 + height: 30px;
  33 + line-height: 30px;
  34 + font-size: 18px;
  35 + border-radius: 32px;
  36 + background-color: #999;
  37 +
  38 + .iconfont {
  39 + font-size: inherit;
  40 + }
  41 + }
  42 +}