goods-list.phtml
3.51 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
<div class="fixed-area">
{{# goodsMenu}}
<div class="all-goods-menu">
<span class="menu-tag">所有商品</span>
<ul class="menu-list">
{{#each menuList}}
<li class="{{#if curMenu}} on {{/if}}"><a class="pjax" href="{{href}}">{{name}}</a></li>
{{/each}}
</ul>
<a href="{{url}}" class="more">MORE</a>
</div>
{{/goodsMenu}}
{{# opts}}
<div class="sort-pager">
{{# sortType}}
<a class="sort-type{{#if active}} active{{/if}} pjax" href="{{href}}">
{{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}}
{{#if list}}
{{#if oldPage}}
<div class="pager-wrap">
<p class="page-orient">
{{#if preHref}}
<a class="pjax" href="{{preHref}}">
<span class="iconfont"></span>
</a>
{{^}}
<span class="dis-icon iconfont"></span>
{{/if}}
<span>
<i>{{curPage}}</i>/{{pageCount}}
</span>
{{#if nextHref}}
<a class="pjax" href="{{nextHref}}">
<span class="iconfont"></span>
</a>
{{^}}
<span class="dis-icon iconfont"></span>
{{/if}}
</p>
</div>
{{^}}
<div class="page-nav">
{{#if preHref}}
<a class="pjax" href="{{preHref}}">
<span class="page-prev"><i class="arrow-left"></i></span>
</a>
{{^}}
<span class="page-prev"><i class="arrow-left"></i></span>
{{/if}}
{{#if nextHref}}
<a class="pjax" href="{{nextHref}}">
<span class="page-next">
下一页
<i class="arrow-right"></i>
<i class="pages">{{curPage}}</i>/{{pageCount}}
</span>
</a>
{{^}}
<span class="page-next">
下一页
<i class="arrow-right"></i>
<i class="pages">{{curPage}}</i>/{{pageCount}}
</span>
{{/if}}
</div>
{{/if}}
{{/if}}
</div>
{{/ opts}}
</div>
<div class="goods-container clearfix">
{{# list}}
{{> product/good}}
{{/list}}
<div class="good-item-wrapper">
<div class="good-info-main"></div>
<div class="good-select-color"></div>
</div>
</div>