guang-new.hbs
7.1 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<div class="guang-new-page yoho-page">
{{#if floorRes.focus}}
<div class="swiper-top">
<div class="swiper-container">
<div class="swiper-wrapper">
{{# floorRes.focus}}
<div class="swiper-slide">
<a href="{{url}}">
{{#if @index}}
<img class="swiper-lazy" data-src="{{image2 src w=750 h=480 q=60}}" />
{{else}}
<img src="{{image2 src w=750 h=480 q=60}}" />
{{/if}}
</a>
</div>
{{/ floorRes.focus}}
</div>
<div class="swiper-pagination">
<div class="wiper-pagination-bullets"></div>
</div>
</div>
</div>
{{/if}}
{{#if floorRes.type}}
<div class="swiper-tab">
<div class="swiper-container">
<div class="swiper-wrapper">
{{#floorRes.type}}
<div class="swiper-slide">
<a href="{{url}}">
<div class="tab-item" style="background-image: url({{image2 src w=200 h=640 q=90}})">
<div class="cover"></div>
<div class="title">{{alt}}</div>
</div>
</a>
</div>
{{/floorRes.type}}
</div>
</div>
</div>
{{/if}}
{{#if floorRes.renQi}}
<div class="big-title">
人气
<a class="iconfont" href="//m.yohobuy.com/guang/type?gender={{gender}}&type=1001">MORE </a>
</div>
<div class="swiper-page">
<div class="swiper-container">
<div class="swiper-wrapper">
{{# floorRes.renQi}}
<div class="swiper-slide {{#unless @index}}swiper-slide-active{{/unless}}">
<a href="//m.yohobuy.com/guang/{{id}}.html">
<div class="page-c">
{{#if @index}}
<img class="swiper-lazy" data-src="{{image2 src w=690 h=430 q=60}}" />
{{else}}
<img src="{{image2 src w=690 h=430 q=60}}" />
{{/if}}
<div class="info">
<p class="name eps">{{title}}</p>
<p class="type eps">{{min_sort_name}}</p>
</div>
</div>
</a>
</div>
{{/ floorRes.renQi}}
</div>
</div>
</div>
{{/if}}
{{#if floorRes.daPei}}
<div class="big-title">
搭配
<a class="iconfont" href="//m.yohobuy.com/guang/type?gender={{gender}}&type=2">MORE </a>
</div>
<div class="swiper-collocation">
<div class="swiper-container">
<div class="swiper-wrapper">
{{# floorRes.daPei}}
<div class="swiper-slide">
<a href="//m.yohobuy.com/guang/{{id}}.html">
<img class="swiper-lazy" data-src="{{image2 src w=590 h=370 q=60}}" />
<p class="eps-2">{{title}}</p>
</a>
</div>
{{/ floorRes.daPei}}
</div>
</div>
</div>
{{/if}}
{{!
<div class="big-title hide">
限定
<span class="iconfont">MORE </span>
</div>
<div class="swiper-limit hide">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="http://img10.static.yhbimg.com/article/2017/10/23/16/01b08f8dee3abc9025cd677e46d875a6b9.jpg" />
<div class="info">
<div class="name eps-2">Nike’s Air Force 1 Is Headed</div>
<div class="title">发布日期</div>
<div class="name">2017/6/15</div>
<div class="title">发售价格</div>
<div class="name">¥7999.00</div>
</div>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
}}
{{#if floorRes.haoHuo}}
<div class="big-title">
好货
<a class="iconfont" href="//m.yohobuy.com/guang/type?gender={{gender}}&type=4">MORE </a>
</div>
<div class="goods-list clearfix">
{{# floorRes.haoHuo}}
<div class="goods-item">
<a href="//m.yohobuy.com/guang/{{id}}.html">
<img class="lazy" data-original="{{image2 src w=360 h=224 q=60}}" />
<div class="info">
<p class="name eps-2 eps-3">{{title}}</p>
<p class="tips">#{{min_sort_name}}#</p>
</div>
</a>
</div>
{{/ floorRes.haoHuo}}
</div>
{{/if}}
{{!
<div class="big-title hide">
人物
<span class="iconfont">MORE </span>
</div>
<div class="person-list clearfix hide">
<div class="person-item">
<img src="http://img10.static.yhbimg.com/yhb-img01/2017/10/27/12/01fee21a2b9808e42f02ad2217b59a1491.jpg" />
<p class="eps">马思唯:有趣的人会买东西</p>
</div>
</div>
<div class="big-title hide">
SHOW
<span class="iconfont">MORE </span>
</div>
<div class="swiper-show hide">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="" />
<p class="words eps-2"></p>
<div class="auther">
<span class="name"></span>
<span class="iconfont"></span>
</div>
</div>
</div>
</div>
</div>
}}
<div class="big-title">
逛
<a class="iconfont" href="//m.yohobuy.com/guang/type?gender={{gender}}&type=0">MORE </a>
</div>
<div class="guang-list"></div>
{{!
<div class="trend-list hide">
<div class="trend-item">
<img src="http://img11.static.yhbimg.com/yhb-img01/2017/10/27/11/01ea9512175a0c5795bfd01048271b654e.jpg" />
<p class="intro eps-2">虽然每一年说流行这个那个颜色,但是相信很多潮人穿上身的还是逃不开黑白灰,真是无趣的要...</p>
<div class="auther">
<div class="pic" style="background-image:url(http://img11.static.yhbimg.com/yhb-img01/2017/10/27/11/01ea9512175a0c5795bfd01048271b654e.jpg)"></div>
<div class="name">川本小一</div>
</div>
</div>
</div>
}}
<a href="//m.yohobuy.com/guang/type?gender={{gender}}&type=0" class="guang-fixed fixed {{#if @root.isWechat}}is-wechat{{/if}}"></a>
<div class="float-top fixed {{#if @root.isWechat}}is-wechat{{/if}}"></div>
</div>
{{#if @root.isWechat}}
<div class="footer-tab-c">
{{> footer-tab}}
</div>
{{/if}}