standard-content.hbs
3.49 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
{{!-- 搜索页、列表页、NEW/SALE页标准内容--}}
{{# filters}}
{{> product/filter-box}}
{{/ filters}}
{{#if phrase}}
<div class="phrase">
{{phrase}}
</div>
{{/if}}
{{# opts}}
<div class="sort-pager">
{{# sortType}}
<a class="sort-type{{#if active}} active{{/if}}" href="{{href}}"{{#if @root.pageNoFollow}} rel="nofollow"{{/if}}>
{{name}}
{{#if hasSortOrient}}
{{#if active}}
{{#if desc}}
<span class="active-icon iconfont"></span>
{{^}}
<span class="active-icon iconfont"></span>
{{/if}}
{{^}}
<span class="iconfont"></span>
{{/if}}
{{^}}
<span class="iconfont"></span>
{{/if}}
</a>
{{/ sortType}}
{{# checks}}
{{#if this}}
<a class="checks{{#if checked}} checked{{/if}}" href="{{href}}"{{#if @root.pageNoFollow}} rel="nofollow"{{/if}}>
{{#if checked}}
<span class="iconfont"></span>
{{^}}
<span class="iconfont"></span>
{{/if}}
{{name}}
</a>
{{/if}}
{{/ checks}}
{{#if ../goods}}
<div class="pager-wrap">
<div class="page-count">
<span id="count-per-page">
{{countPerPage}}
<i class="iconfont"></i>
</span>
每页
<ul>
{{# pageCounts}}
<li>
<a href="{{href}}" rel="nofollow">{{count}}</a>
</li>
{{/ pageCounts}}
</ul>
</div>
<p class="page-orient">
{{#if preHref}}
<a href="{{preHref}}" rel="nofollow">
<span class="iconfont"></span>
</a>
{{^}}
<span class="dis-icon iconfont"></span>
{{/if}}
<span>
<i>{{curPage}}</i>/{{pageCount}}
</span>
{{#if nextHref}}
<a href="{{nextHref}}" rel="nofollow">
<span class="iconfont"></span>
</a>
{{^}}
<span class="dis-icon iconfont"></span>
{{/if}}
</p>
</div>
{{/if}}
</div>
{{/ opts}}
{{#if goods}}
<div class="goods-container clearfix">
{{#each goods}}
{{> product/good}}
{{/each}}
{{# hasNextPage}}
<div class="block-next-page">
<a href="{{href}}" rel="nofollow">
<img src="{{image2 src}}" alt=""/>
</a>
</div>
{{/ hasNextPage}}
<div class="good-item-wrapper">
<div class="good-info-main"></div>
<div class="good-select-color"></div>
</div>
</div>
{{> common/foot-pager}}
{{^}}
{{> product/no-result}}
{{/if}}