index.hbs
3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{{#realData}}
{{! 头部banner}}
<div class="stu-page">
{{> common/main-banner}}
<div class="center-content">
{{! 分类导航}}
<div class="sort-nav clearfix" urlLocation="">
{{#sortItem}}
<a class="sort-item {{#if @first}}first active{{/if}} {{#if @last}}last{{/if}}" href='#{{href}}'>{{title}}</a>
{{/sortItem}}
</div>
{{! 学生权益}}
<div class="stu-box">
<div class="floor-header clearfix">
<a name="stu-rights">
<h2 class="floor-title">学生权益</h2>
</a>
{{#if true}}
<span id="rights-dia" class="floor-more">更多细则</span>
{{/if}}
</div>
<div class="commodity-list clearfix">
{{> students/stu-rights}}
</div>
</div>
{{! 身份验证}}
<div class="stu-box ">
<div class="floor-header clearfix">
<a name="stu-identity">
<h2 class="floor-title">身份验证</h2>
</a>
{{#if false}}
<span class="floor-more">更多细则</span>
{{/if}}
</div>
<div class="commodity-list clearfix">
{{> students/stu-identity}}
</div>
</div>
{{! 优惠券}}
<div class="stu-box">
<div class="floor-header clearfix">
<a name="stu-coupon">
<h2 class="floor-title">优惠券</h2>
</a>
{{#if true}}
<span id="coupon-dia" class="floor-more">
<a href="http://www.yohobuy.com/coupon/index?contentCode=bb7268bd46dd46d304c2917309814681">MORE</a>
</span>
{{/if}}
</div>
<div class="commodity-list clearfix">
{{#each couponItem}}
{{> product/coupon}}
{{/each}}
</div>
</div>
{{! 热门单品}}
<div class="stu-box">
<div class="floor-header clearfix">
<a name="stu-good">
<h2 class="floor-title">热门单品</h2>
</a>
{{#if true}}
<span class="floor-more">
<a target="_blank" href="http://list.yohobuy.com/new?gender=1,3&order=s_t_desc">MORE</a>
</span>
{{/if}}
</div>
<div class="commodity-list clearfix">
{{#each proItem}}
{{> product/good}}
{{/each}}
</div>
</div>
{{! 活动推荐}}
<div class="stu-box">
<div class="floor-header clearfix">
<a name="stu-activity">
<h2 class="floor-title">活动推荐</h2>
</a>
</div>
<div class="commodity-list clearfix">
{{#activityItem}}
<img class="activity-item" src="{{imgUrl}}" />
{{/activityItem}}
</div>
</div>
</div>
</div>
{{/realData}}