Showing
3 changed files
with
57 additions
and
32 deletions
@@ -88,10 +88,12 @@ | @@ -88,10 +88,12 @@ | ||
88 | {{#if popularSingleProduct}} | 88 | {{#if popularSingleProduct}} |
89 | {{> resources/hot-single}} | 89 | {{> resources/hot-single}} |
90 | {{/if}} | 90 | {{/if}} |
91 | + {{! SALE}} | ||
92 | + {{#if sale1T1L4R}} | ||
93 | + {{> resources/sale-floor}} | ||
94 | + {{/if}} | ||
95 | + {{! 新品首发楼层}} | ||
96 | + {{#if newProductFloor}} | ||
97 | + {{> resources/new-first}} | ||
98 | + {{/if}} | ||
91 | {{/content}} | 99 | {{/content}} |
92 | - | ||
93 | -{{! 新品首发楼层}} | ||
94 | - {{> resources/new-first}} | ||
95 | - | ||
96 | -{{! SALE}} | ||
97 | - {{> resources/sale-floor}} |
1 | +{{#data}} | ||
1 | <div class="new-first clearfix"> | 2 | <div class="new-first clearfix"> |
2 | - {{! title不传不显示}} | ||
3 | {{> common/floor-header-more}} | 3 | {{> common/floor-header-more}} |
4 | - <a href="" class="float-container"> | ||
5 | - <img src="" alt="left" class="left" /> | 4 | + {{#list.[0]}} |
5 | + <a href="{{url}}" class="float-container"> | ||
6 | + <img src="{{image src 268 360}}" alt="left" class="left" /> | ||
6 | </a> | 7 | </a> |
7 | - <a href="" class="float-container"> | ||
8 | - <img src="" alt="right1" class="right" /> | 8 | + {{/list.[0]}} |
9 | + {{#list.[1]}} | ||
10 | + <a href="{{url}}" class="float-container"> | ||
11 | + <img src="{{image src 186 180}}" alt="right1" class="right" /> | ||
9 | </a> | 12 | </a> |
10 | - <a href="" class="float-container"> | ||
11 | - <img src="" alt="right2" class="right" /> | 13 | + {{/list.[1]}} |
14 | + {{#list.[2]}} | ||
15 | + <a href="{{url}}" class="float-container"> | ||
16 | + <img src="{{image src 186 180}}" alt="right2" class="right" /> | ||
12 | </a> | 17 | </a> |
13 | - <a href="" class="float-container"> | ||
14 | - <img src="" alt="right3" class="right" /> | 18 | + {{/liet.[2]}} |
19 | + {{#list.[3]}} | ||
20 | + <a href="{{url}}" class="float-container"> | ||
21 | + <img src="{{image src 186 180}}" alt="right3" class="right" /> | ||
15 | </a> | 22 | </a> |
16 | - <a href="" class="float-container"> | ||
17 | - <img src="" alt="right4" class="right" /> | 23 | + {{/list.[3]}} |
24 | + {{#list.[4]}} | ||
25 | + <a href="{{url}}" class="float-container"> | ||
26 | + <img src="{{image src 186 180}}" alt="right4" class="right" /> | ||
18 | </a> | 27 | </a> |
19 | -</div> | ||
28 | + {{/list.[4]}} | ||
29 | +</div> | ||
30 | +{{/data}} |
1 | +{{#data}} | ||
1 | <div class="sale-floor clearfix"> | 2 | <div class="sale-floor clearfix"> |
2 | {{> common/floor-header-more}} | 3 | {{> common/floor-header-more}} |
3 | - | ||
4 | - <a href=""> | ||
5 | - <img src="" alt="sale-banner" class="sale-floor-banner" /> | 4 | + {{#big_image}} |
5 | + <a href="{{url}}"> | ||
6 | + <img src="{{image src 640 200}}" alt="sale-banner" class="sale-floor-banner" /> | ||
6 | </a> | 7 | </a> |
7 | - | ||
8 | - <a href="" class="float-container time-floor"> | ||
9 | - <img src="" alt="sale-limit" class="sale-floor-limit"> | ||
10 | - <div class="sale-floor-time"> | 8 | + {{/big_image}} |
9 | + | ||
10 | + {{#list.[0]}} | ||
11 | + <a href="{{url}}" class="float-container time-floor"> | ||
12 | + <img src="{{image src 269 360}}" alt="sale-limit" class="sale-floor-limit"> | ||
13 | + <div class="sale-floor-time" data-time={{end_seconds}}> | ||
11 | <p class="limit-title"><i class="icon"></i>限时特卖</p> | 14 | <p class="limit-title"><i class="icon"></i>限时特卖</p> |
12 | <span class="hour">00</span>: | 15 | <span class="hour">00</span>: |
13 | <span class="minute">00</span>: | 16 | <span class="minute">00</span>: |
14 | <span class="second">00</span> | 17 | <span class="second">00</span> |
15 | </div> | 18 | </div> |
16 | </a> | 19 | </a> |
20 | + {{/list.[0]}} | ||
17 | 21 | ||
18 | - <a href="" class="float-container"> | ||
19 | - <img src="" alt="sale-break" class="sale-floor-break"> | 22 | + {{#list.[1]}} |
23 | + <a href="{{url}}" class="float-container"> | ||
24 | + <img src="{{image src 284 180}}" alt="sale-break" class="sale-floor-break"> | ||
20 | </a> | 25 | </a> |
21 | - <a href="" class="sale-floor-entry"> | 26 | + {{/list.[1]}} |
27 | + {{#list.[2]}} | ||
28 | + <a href="{{url}}" class="sale-floor-entry"> | ||
22 | <h3 class="title">断码区</h3> | 29 | <h3 class="title">断码区</h3> |
23 | <p class="entry">点击进入</p> | 30 | <p class="entry">点击进入</p> |
24 | </a> | 31 | </a> |
25 | - | ||
26 | - <a href="" class="float-container"> | ||
27 | - <img src="" alt="sale-discount" class="sale-floor-discount"> | 32 | + {{/list.[2]}} |
33 | + {{#list.[3]}} | ||
34 | + <a href="{{url}}" class="float-container"> | ||
35 | + <img src="{{image src 284 180}}" alt="sale-discount" class="sale-floor-discount"> | ||
28 | </a> | 36 | </a> |
37 | + {{/list.[3]}} | ||
38 | + {{#list.[4]}} | ||
29 | <a href="" class="sale-floor-entry"> | 39 | <a href="" class="sale-floor-entry"> |
30 | <h3 class="title">折扣专区</h3> | 40 | <h3 class="title">折扣专区</h3> |
31 | <p class="entry">点击进入</p> | 41 | <p class="entry">点击进入</p> |
32 | </a> | 42 | </a> |
33 | -</div> | ||
43 | + {{/list.[4]}} | ||
44 | +</div> | ||
45 | +{{/data}} |
-
Please register or login to post a comment