index.phtml
3.56 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
{{> layout/header}}
{{# shopIndex}}
<div class="shop-index yoho-page">
<div class="search-area">
<div id="search-input" class="search-input">
<form id="search-form" action={{url}} method="get">
<i class="search-icon iconfont"></i>
<input type="text" placeholder="搜索店铺内潮品" name="query">
<input type="hidden" name="from" value="search">
<i class="clear-input iconfont hide"></i>
<span id="search" class="search" type="submit">搜索</span>
</form>
</div>
</div>
<div class="branner-top">
<img src="{{branerImg}}">
<div class="collect"></div>
</div>
<ul id="nav1" class="nav">
<li><a href="#" tab="home-page">首页</a></li><li><a href="#" tab="new-arrival">上新</a></li>
<li><a href="#" tab="popularity">人气</a></li>
<li><a href="{{goodList}}" target="_blank">全部商品</a></li>
</ul>
<ul>
<li id="home-page" class="main">
<div class="coupon">
{{#each coupon}}
<img src="{{couponType}}">
{{/each}}
</div>
{{#unless brands}}
<div class="multi-brands">
<h2>品牌一览</h2>
<div class="brand-img">
{{#each brandImg}}
<img src="{{brandType}}">
{{/each}}
</div>
</div>
{{/unless}}
<div class="centerimg">
<img src="{{preferential}}">
</div>
<ul class="spring">
{{#each spring}}
<li>
<img src="{{springType}}">
</li>
{{/each}}
</ul>
{{! 热门品类}}
{{# hotCategory}}
{{> home/hot_category}}
{{/ hotCategory}}
<div class="title">
人气单品
<a class="more" href="{{more_url}}"></a>
</div>
<ul class="product-list">
{{#each hotList}}
<li>
<img src="{{listUrl}}">
<div class="list-price">
<p>VANS AP M BERZE</p>
<p><span class="red">{{originalPrice}}</span>
<span>{{presentPrice}}</span>
</p>
</div>
</li>
{{/each}}
</ul>
</li>
<li id="new-arrival" class="main list hide">
{{# newGood}}
{{> good}}
{{/ newGood}}
</li>
<li id="popularity" class="main list hide">
{{# popuGood}}
{{> good}}
{{/ popuGood}}
</li>
<div class="discount-area">
{{> product/goods-nav-top}}
</div>
<div class="fotter">
<ul>
<li>商品分类</li>
<li>店铺简介</li>
</ul>
</div>
</div>
{{/ shopIndex}}
{{> layout/footer}}