list.hbs
4.9 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
{{# brandBanner}}
<div class="brand-banner">
<div class="banner-img" style="height: {{bannerHeight}}px;background: url({{image2 banner}})"></div>
<div class="opt-wrap">
<p class="opt center-content">
<a href="{{brandHome}}">
<i class="iconfont"></i>
品牌首页
</a>
<a href="{{brandIntro}}">
<i class="iconfont"></i>
品牌介绍
</a>
<span id="brand-favor" class="brand-favor" data-id="{{dataId}}">
<i class="iconfont{{#if coled}} coled{{/if}}"></i>
</span>
</p>
</div>
</div>
{{/ brandBanner}}
{{# shopBanner}}
<div class="brand-banner base-shop-banner">
<div class="banner-img" style="height: {{bannerHeight}}px;background: url({{image2 banner}})"></div>
<div class="opt-wrap">
<div class="opt center-content">
{{#if showShopName}}
<span class="shop-name">{{shopName}}</span>
{{/if}}
<a href="{{shopHome}}">
<i class="iconfont"></i>
店铺首页
</a>
<a href="{{shopIntro}}">
<i class="iconfont"></i>
店铺介绍
</a>
<span id="shop-favor" class="brand-favor shop-favor" data-id="{{shopId}}">
<i class="iconfont{{#if coled}} coled{{/if}}"></i>
</span>
<div class="qrcode-hover-box" data-id="{{shopId}}">
<span class="qrcode-shop">
<i class="qrcode-icon"></i>
<div class="qrcode-box">
<div id="qrcode-img" class="qrcode-img" data-url='http://union.yoho.cn/union/app-downloads.html?openby:yohobuy={"action":"go.shop","params":{"shop_id":"{{shopId}}","shop_template_type":"1","shop_name":"{{shopName}}"}}'></div>
<p>扫一扫,手机逛更方便</p>
</div>
</span>
</div>
</div>
</div>
</div>
{{/ shopBanner}}
<div class="center-content clearfix">
{{> common/path-nav}}
{{# brandAbout}}
<div class="brand-about">
{{{brandIntro}}}
</div>
{{^}}
<div class="list-left pull-left">
{{> product/left-content}}
</div>
<div class="list-right pull-right">
{{#if_cond goods.length '<' 20 }}
{{#if suggest}}
{{#unless changedQuery}}
<div class="search-suggest-less">
"<em>{{name}}</em>" 搜索结果太少了,试试{{#suggest}} "<a href="/?query={{.}}&is_rec=Y">{{.}}</a>" {{/suggest}}关键词搜索
</div>
{{/unless}}
{{/if}}
{{/if_cond}}
{{#if changedQuery}}
<div class="search-suggest-less">
没有找到 "<em>{{name}}</em>" 相关的商品,
为您推荐 "<a href="/?query={{suggestFirst}}&is_rec=Y">{{suggestFirst}}</a>" 的搜索结果。{{#if suggestSecond}}或者试试{{#suggestSecond}} "<a href="/?query={{.}}&is_rec=Y">{{.}}</a>" {{/suggestSecond}}{{/if}}
</div>
{{/if}}
{{> list/top-coupon}}
{{# sortIntro}}
<div class="sort-intro clearfix">
<div class="texts pull-left">
<p class="name">{{name}}</p>
<p class="en-name">{{enName}}</p>
<p class="desc">{{{description}}}</p>
<div class="key-entry">
{{#each keyEntry}}
<a href="{{url}}">{{name}}</a>
{{/each}}
</div>
</div>
<img class="pull-right img" src="{{image2 img}}">
</div>
{{/ sortIntro}}
{{> list/shop-entry}}
{{> product/standard-content}}
{{#if @root.search.isSearch}}
{{#if_cond goods.length '<' 20 }}
<div>
<textarea class="lazy-load-object-2" style="visibility: hidden;">
<script>getSearchRecommend();</script>
</textarea>
</div>
<div class="bottom-tab-line">
<span class="bottom-title" data-type="recommend" data-role="recommend-tab">你可能喜欢</span>
</div>
<div class="goods-slide">
<div data-role="recommend-slide" class="slide-panel"></div>
</div>
{{/if_cond}}
{{/if}}
{{> product/latest-walk}}
</div>
{{/ brandAbout}}
</div>