index.phtml
2.94 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
{{> layout/header}}
<div class="good-list-page yoho-page">
{{# goodList}}
{{# if search}}
<div id="search-input" class="search-input">
<i class="search-icon iconfont"></i>
<input type="text" value={{search}}>
<i class="clear-input iconfont hide"></i>
<button id="search" class="search">搜索</button>
</div>
{{/if}}
{{# brandWay}}
<div class="brand-way">
<a href={{url}}>
<img class="brand-thumb" src={{thumb}}>
<span>{{name}}</span>
<span class="entry">
进入品牌
<i class="iconfont"></i>
</span>
</a>
</div>
{{/ brandWay}}
{{# brand}}
<div class="brand-header" data-id={{id}}>
<img class="lazy" data-original={{banner}}>
<a class="btn-intro" href="javascript:void(0);">
品牌介绍
</a>
<a class="btn-col" href="javascript:void(0);">
<span class="iconfont"></span>
收藏
</a>
</div>
<div class="brand-intro-box">
<div id="brand-intro" class="brand-intro">{{intro}}</div>
</div>
{{/ brand}}
<ul id="list-nav" class="list-nav clearfix">
<li class="new active">
<a href="javascript:void(0);">
最新
<span class="iconfont cur"></span>
</a>
</li>
<li class="price">
<a href="javascript:void(0);">
价格
<span class="icon">
<i class="iconfont up"></i>
<i class="iconfont down cur"></i>
</span>
</a>
</li>
<li class="discount">
<a href="javascript:void(0);">
折扣
<span class="icon">
<i class="iconfont up"></i>
<i class="iconfont down cur"></i>
</span>
</a>
</li>
<li class="filter">
<a href="javascript:void(0);">
筛选
<span class="iconfont"></span>
</a>
</li>
</ul>
<div id="goods-container" class="goods-container">
<div class="new-goods">
{{# new}}
{{> good}}
{{/ new}}
</div>
<div class="price-goods hide"></div>
<div class="discount-goods hide"></div>
{{> filter}}
</div>
{{/ goodList}}
</div>
{{> layout/footer}}