Showing
9 changed files
with
50 additions
and
45 deletions
@@ -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_more}} | ||
2 | -<div class="fresh-only"> | ||
3 | - {{# big_image}} | 1 | +{{#data}} |
2 | + {{> channel/floor-header-more}} | ||
3 | + <div class="fresh-only"> | ||
4 | + {{# bannerImage}} | ||
4 | <div class="fresh-swiper"> | 5 | <div class="fresh-swiper"> |
5 | <a href="{{url}}"> | 6 | <a href="{{url}}"> |
6 | - <img class="lazy" data-original="{{img}}"> | 7 | + <img class="lazy" data-original="{{image src 640 200}}"> |
7 | </a> | 8 | </a> |
8 | </div> | 9 | </div> |
9 | - {{/ big_image}} | 10 | + {{/ bannerImage}} |
10 | <div class="fresh-list-swiper"> | 11 | <div class="fresh-list-swiper"> |
11 | <ul class="clearfix swiper-wrapper"> | 12 | <ul class="clearfix swiper-wrapper"> |
12 | {{# list}} | 13 | {{# list}} |
13 | <li class="swiper-slide"> | 14 | <li class="swiper-slide"> |
14 | <div class="img-box"> | 15 | <div class="img-box"> |
15 | <a href="{{url}}"> | 16 | <a href="{{url}}"> |
16 | - <img class="swiper-lazy" data-src="{{img}}" alt=""> | 17 | + <img class="swiper-lazy" data-src="{{image defaultImages 235 314}}" alt=""> |
17 | </a> | 18 | </a> |
18 | <div class="swiper-lazy-preloader"></div> | 19 | <div class="swiper-lazy-preloader"></div> |
19 | </div> | 20 | </div> |
20 | <div class="fresh-info"> | 21 | <div class="fresh-info"> |
21 | - <p class="fresh-name"><a href="{{url}}">{{title}}</a></p> | 22 | + <p class="fresh-name"><a href="{{url}}">{{productName}}</a></p> |
22 | <p class="price"> | 23 | <p class="price"> |
23 | - <span class="cur-price">¥{{salePrice}}</span> | ||
24 | - {{# price}} | 24 | + <span class="cur-price">¥{{salesPrice}}</span> |
25 | + {{# marketPrice}} | ||
25 | <span class="old-price">¥{{.}}</span> | 26 | <span class="old-price">¥{{.}}</span> |
26 | - {{/price}} | 27 | + {{/marketPrice}} |
27 | </p> | 28 | </p> |
28 | <span class="fresh-icon">新人价</span> | 29 | <span class="fresh-icon">新人价</span> |
29 | </div> | 30 | </div> |
@@ -31,4 +32,5 @@ | @@ -31,4 +32,5 @@ | ||
31 | {{/ list}} | 32 | {{/ list}} |
32 | </ul> | 33 | </ul> |
33 | </div> | 34 | </div> |
34 | -</div> | ||
35 | + </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}} | 1 | +{{#data}} |
2 | + <div class="hot-brands"> | ||
3 | + {{> channel/floor-header}} | ||
3 | <div class="brands-swiper"> | 4 | <div class="brands-swiper"> |
4 | <ul class="brands-list swiper-wrapper clearfix"> | 5 | <ul class="brands-list swiper-wrapper clearfix"> |
5 | {{# list}} | 6 | {{# list}} |
6 | <li class="swiper-slide"> | 7 | <li class="swiper-slide"> |
7 | <a href="{{url}}"> | 8 | <a href="{{url}}"> |
8 | - <img src="{{img}}" alt=""> | ||
9 | - <span class="brands-title">{{textCn}}</span> | 9 | + <img src="{{image src 140 140}}" alt=""> |
10 | + <span class="brands-title">{{name}}</span> | ||
10 | </a> | 11 | </a> |
11 | </li> | 12 | </li> |
12 | {{/ list}} | 13 | {{/ list}} |
13 | </ul> | 14 | </ul> |
14 | </div> | 15 | </div> |
15 | -</div> | 16 | + </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; |
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; |
-
Please register or login to post a comment