Authored by 王水玲

男首资源位模板调整

@@ -12,51 +12,51 @@ @@ -12,51 +12,51 @@
12 {{> channel/notice}} 12 {{> channel/notice}}
13 {{/announcement}} --}} 13 {{/announcement}} --}}
14 {{! 中间banner}} 14 {{! 中间banner}}
15 - {{#singleImage}} 15 + {{#if singleImage}}
16 {{> channel/banner}} 16 {{> channel/banner}}
17 - {{/singleImage}} 17 + {{/if}}
18 {{! 两个小图}} 18 {{! 两个小图}}
19 - {{#smallPic}} 19 + {{#if smallPic}}
20 {{> channel/thumb-row}} 20 {{> channel/thumb-row}}
21 - {{/smallPic}} 21 + {{/if}}
22 {{! 热门品类}} 22 {{! 热门品类}}
23 - {{#recommendContentFive}} 23 + {{#if recommendContentFive}}
24 {{> channel/hot-category}} 24 {{> channel/hot-category}}
25 - {{/recommendContentFive}} 25 + {{/if}}
26 {{! 热门品牌}} 26 {{! 热门品牌}}
27 - {{#appHotBrands}} 27 + {{#if appHotBrands}}
28 {{> channel/hot-brands-list}} 28 {{> channel/hot-brands-list}}
29 - {{/appHotBrands}} 29 + {{/if}}
30 {{! 热门品牌可滑动}} 30 {{! 热门品牌可滑动}}
31 - {{#hotBrandsScroll}} 31 + {{#if customBrands}}
32 {{> channel/hot-brands-swipe}} 32 {{> channel/hot-brands-swipe}}
33 - {{/hotBrandsScroll}} 33 + {{/if}}
34 {{! 潮人搭配}} 34 {{! 潮人搭配}}
35 - {{#trendsetterCollocation}} 35 + {{#if trendsetterCollocation}}
36 {{> channel/trendsetter-collocation}} 36 {{> channel/trendsetter-collocation}}
37 - {{/trendsetterCollocation}} 37 + {{/if}}
38 {{! 潮流话题}} 38 {{! 潮流话题}}
39 - {{#trendgoodsTopic}} 39 + {{#if trendgoodsTopic}}
40 {{> channel/trend-topics}} 40 {{> channel/trend-topics}}
41 - {{/trendgoodsTopic}} 41 + {{/if}}
42 {{! 潮流时装/经典裤裙/时尚靴履/潮人配饰/潮流上装}} 42 {{! 潮流时装/经典裤裙/时尚靴履/潮人配饰/潮流上装}}
43 - {{#recommendContentOne}} 43 + {{#if recommendContentOne}}
44 {{> channel/goods-category}} 44 {{> channel/goods-category}}
45 - {{/recommendContentOne}} 45 + {{/if}}
46 {{! 新入住品牌/品味生活/创意生活}} 46 {{! 新入住品牌/品味生活/创意生活}}
47 - {{#recommendContentTwo}} 47 + {{#if recommendContentTwo}}
48 {{> channel/creative-life}} 48 {{> channel/creative-life}}
49 - {{/recommendContentTwo}} 49 + {{/if}}
50 {{! PLUS}} 50 {{! PLUS}}
51 {{#if singleNameImage}} 51 {{#if singleNameImage}}
52 {{> channel/plus-star}} 52 {{> channel/plus-star}}
53 {{/if}} 53 {{/if}}
54 {{! 新人专享}} 54 {{! 新人专享}}
55 - {{#freshOnly}} 55 + {{#if newUserFloor}}
56 {{> channel/fresh-only}} 56 {{> channel/fresh-only}}
57 - {{/freshOnly}} 57 + {{/if}}
58 {{! 商品列表}} 58 {{! 商品列表}}
59 - {{#twoColumnGoods}} 59 + {{#if twoColumnGoods}}
60 {{> channel/two-column-goods}} 60 {{> channel/two-column-goods}}
61 - {{/twoColumnGoods}} 61 + {{/if}}
62 {{/content}} 62 {{/content}}
1 -{{> home/floor_header}} 1 +{{> channel/floor-header}}
2 <ul class="fine-brands clearfix"> 2 <ul class="fine-brands clearfix">
3 {{# brands}} 3 {{# brands}}
4 <li class="brand"> 4 <li class="brand">
1 -{{> home/floor_header_more}}  
2 -<div class="fresh-only">  
3 - {{# big_image}}  
4 - <div class="fresh-swiper">  
5 - <a href="{{url}}">  
6 - <img class="lazy" data-original="{{img}}">  
7 - </a> 1 +{{#data}}
  2 + {{> channel/floor-header-more}}
  3 + <div class="fresh-only">
  4 + {{# bannerImage}}
  5 + <div class="fresh-swiper">
  6 + <a href="{{url}}">
  7 + <img class="lazy" data-original="{{image src 640 200}}">
  8 + </a>
  9 + </div>
  10 + {{/ bannerImage}}
  11 + <div class="fresh-list-swiper">
  12 + <ul class="clearfix swiper-wrapper">
  13 + {{# list}}
  14 + <li class="swiper-slide">
  15 + <div class="img-box">
  16 + <a href="{{url}}">
  17 + <img class="swiper-lazy" data-src="{{image defaultImages 235 314}}" alt="">
  18 + </a>
  19 + <div class="swiper-lazy-preloader"></div>
  20 + </div>
  21 + <div class="fresh-info">
  22 + <p class="fresh-name"><a href="{{url}}">{{productName}}</a></p>
  23 + <p class="price">
  24 + <span class="cur-price">¥{{salesPrice}}</span>
  25 + {{# marketPrice}}
  26 + <span class="old-price">¥{{.}}</span>
  27 + {{/marketPrice}}
  28 + </p>
  29 + <span class="fresh-icon">新人价</span>
  30 + </div>
  31 + </li>
  32 + {{/ list}}
  33 + </ul>
  34 + </div>
8 </div> 35 </div>
9 - {{/ big_image}}  
10 - <div class="fresh-list-swiper">  
11 - <ul class="clearfix swiper-wrapper">  
12 - {{# list}}  
13 - <li class="swiper-slide">  
14 - <div class="img-box">  
15 - <a href="{{url}}">  
16 - <img class="swiper-lazy" data-src="{{img}}" alt="">  
17 - </a>  
18 - <div class="swiper-lazy-preloader"></div>  
19 - </div>  
20 - <div class="fresh-info">  
21 - <p class="fresh-name"><a href="{{url}}">{{title}}</a></p>  
22 - <p class="price">  
23 - <span class="cur-price">¥{{salePrice}}</span>  
24 - {{# price}}  
25 - <span class="old-price">¥{{.}}</span>  
26 - {{/price}}  
27 - </p>  
28 - <span class="fresh-icon">新人价</span>  
29 - </div>  
30 - </li>  
31 - {{/ list}}  
32 - </ul>  
33 - </div>  
34 -</div>  
  36 +{{/data}}
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <a href="{{url}}"> 33 <a href="{{url}}">
34 <div class="img-box"> 34 <div class="img-box">
35 {{#if @first}} 35 {{#if @first}}
36 - <img class="lazy" data-original="{{image src 253 383}}" alt=""> 36 + <img class="lazy" data-original="{{image src 258 383}}" alt="">
37 {{^}} 37 {{^}}
38 <img class="lazy" data-original="{{image src 191 191}}" alt=""> 38 <img class="lazy" data-original="{{image src 191 191}}" alt="">
39 {{/if}} 39 {{/if}}
1 -<div class="hot-brands">  
2 - {{> home/floor_header}}  
3 - <div class="brands-swiper">  
4 - <ul class="brands-list swiper-wrapper clearfix">  
5 - {{# list}}  
6 - <li class="swiper-slide">  
7 - <a href="{{url}}">  
8 - <img src="{{img}}" alt="">  
9 - <span class="brands-title">{{textCn}}</span>  
10 - </a>  
11 - </li>  
12 - {{/ list}}  
13 - </ul> 1 +{{#data}}
  2 + <div class="hot-brands">
  3 + {{> channel/floor-header}}
  4 + <div class="brands-swiper">
  5 + <ul class="brands-list swiper-wrapper clearfix">
  6 + {{# list}}
  7 + <li class="swiper-slide">
  8 + <a href="{{url}}">
  9 + <img src="{{image src 140 140}}" alt="">
  10 + <span class="brands-title">{{name}}</span>
  11 + </a>
  12 + </li>
  13 + {{/ list}}
  14 + </ul>
  15 + </div>
14 </div> 16 </div>
15 -</div> 17 +{{/data}}
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 19
20 .classify-list > li { 20 .classify-list > li {
21 float: left; 21 float: left;
22 - width: 212px; 22 + width: 213.3px;
23 height: 192px; 23 height: 192px;
24 border-top: 1px solid #e0e0e0; 24 border-top: 1px solid #e0e0e0;
25 border-right: 1px solid #e0e0e0; 25 border-right: 1px solid #e0e0e0;
@@ -85,7 +85,7 @@ @@ -85,7 +85,7 @@
85 } 85 }
86 86
87 li:first-child { 87 li:first-child {
88 - width: 253px; 88 + width: 258px;
89 height: 382px; 89 height: 382px;
90 border-left: none; 90 border-left: none;
91 91
1 .hot-brands { 1 .hot-brands {
2 border-bottom: 1px solid #e0e0e0; 2 border-bottom: 1px solid #e0e0e0;
3 background: #fff; 3 background: #fff;
  4 + margin-top: 30px;
4 5
5 .floor-header { 6 .floor-header {
  7 + width: 100%;
6 background: #f0f0f0; 8 background: #f0f0f0;
  9 + padding: 0 30px;
7 margin: 0; 10 margin: 0;
8 - padding: 29px 30px 0;  
9 border: 0; 11 border: 0;
10 12
11 h2 { 13 h2 {
@@ -82,7 +84,6 @@ @@ -82,7 +84,6 @@
82 background: #fff; 84 background: #fff;
83 width: 100%; 85 width: 100%;
84 height: 160px; 86 height: 160px;
85 - padding-top: 20px;  
86 border-top: 1px solid #e0e0e0; 87 border-top: 1px solid #e0e0e0;
87 overflow: hidden; 88 overflow: hidden;
88 89
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 17
18 li { 18 li {
19 float: left; 19 float: left;
20 - width: 158px; 20 + width: 160px;
21 height: 174px; 21 height: 174px;
22 border-top: 1px solid #e0e0e0; 22 border-top: 1px solid #e0e0e0;
23 border-left: 1px solid #e0e0e0; 23 border-left: 1px solid #e0e0e0;