goods-detail.hbs
4.23 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
<div class="detail-header">
<span class="colse">X关闭</span>
</div>
<div class="detail-body">
<span class="magnify"></span>
{{#colors}}
<div class="detail-bigpic {{#unless focus}}none{{/unless}}">
{{#thumbs}}
<div class="bigpic">
<img src="{{shower}}">
</div>
{{/thumbs}}
<div class="piclist">
<span class="pre"></span>
<div class="con">
<ul>
{{#thumbs}}
<li><img src="{{img}}"></li>
{{/thumbs}}
</ul>
</div>
<span class="next"></span>
</div>
</div>
{{/colors}}
<div class="detail-info">
<div class="title">
<h2>{{name}}</h2>
</div>
<div class="type">
<span class="type-s">新品</span>
</div>
<div class="price">
{{#if salePrice}}
<span class="oldprice">原价:<del>{{marketPrice}}</del></span>
<span class="newprice">现价:<b class="promotion-price">{{salePrice}}</b></span>
{{^}}
<span class="newprice {{#presalePrice}}none{{/presalePrice}}">原价:<b class="promotion-price">{{marketPrice}}</b></span>
{{/if}}
{{#if presalePrice}}
<span class="oldprice">原价:<del>{{marketPrice}}</del></span>
<span class="newprice">预售价:<b class="promotion-price">{{presalePrice}}</b></span>
{{/if}}
{{#arrivalDate}}
<span class="arrivalDate">上市期:{{arrivalDate}}</span>
{{/arrivalDate}}
</div>
<div class="order">
<dl>
<dd class="colorBox">选颜色:</dd>
<dt>
<div class="colorBox">
<ul>
{{#colors}}
<li class="color">
<p class="{{#if focus}}atcive{{/if}}"><span></span><img src="{{src}}"></p>
<span>{{name}}</span>
</li>
{{/colors}}
</ul>
</div>
</dt>
<dd class="">选尺码:</dd>
<dt>
{{#colors}}
<div class="showSizeBox {{#unless focus}}none{{/unless}}">
{{#size}}
<span data-sku="{{sku}}" data-num="{{num}}">{{name}}</span>
{{/size}}
</div>
{{/colors}}
</dt>
<dd>选件数:</dd>
<dt>
<div class="amount_wrapper">
<i class="amount cut"></i>
<input type="text" id="mnum" class="mnum" value="1" readonly="readonly">
<i class="amount add"></i>
</div>
</dt>
</dl>
</div>
<div class="submit">
<input class="addcart" type="button">
<input class="btn_pre_sale none" type="button">
<input class="btn_sellout none" type="button">
<input class="fav_count" type="button">
</div>
</div>
<div class="detail-size">
<h3>尺码信息<span>(单位:厘米)</span></h3>
{{# size}}
<table>
<thead>
<tr>
{{# thead}}
<td width="{{width}}">{{name}}</td>
{{/ thead}}
</tr>
</thead>
<tbody>
{{# tbody}}
<tr>
{{#each .}}
<td>{{.}}</td>
{{/each}}
</tr>
{{/ tbody}}
</tbody>
</table>
{{/ size}}
<div class="size-info">
※ 以上尺寸为实物实际测量,因测量方式不同会有略微误差,相关数据仅作参考,以收到实物为准。
</div>
</div>
</div>
<input value="{{addToCart}}" id="addToCart" type="hidden" />