detail.hbs
6.27 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
122
123
124
125
126
127
128
129
130
131
132
133
<div class="global-detail-page product-detail-page yoho-page">
{{>product/brand-banner}}
<div class="center-content">
{{> common/path-nav}}
<div class="main clearfix">
{{# goodsInfo}}
<div class="pull-left imgs clearfix">
<div class="pull-left img">
<div class="tags clearfix">
<span class="good-tag global-tag">{{country_name}}</span>
</div>
<div id="min-img">
<img id="img-show" class="img-show" src="{{image2 mainThumb w=420 h=560}}" alt="{{productTitle}}">
<div class="magnifier move-object hide"></div>
<div class="magnifier move-over"></div>
<div id="max" class="magnifier max hide">
<img id='big' src="{{image2 mainThumb w=750 h=1000}}">
</div>
</div>
<div class="share-row">
<span class="title pull-left">分享:</span> {{> common/share }}
</div>
</div>
<div id="thumbs" class="pull-right thumbs">
{{# goods_list}}
<div class="thumb-wrap{{#unless focus}} hide{{/unless}}">
{{#if focus}}
{{# images_list}}
<img class="thumb {{#if @first}}active{{/if}}" src="{{image2 image_url w=75 h=100}}"
data-shower="{{image2 image_url w=420 h=560}}"
data-origin="{{image2 image_url w=750 h=1000}}" alt="{{../../productTitle}}">
{{/ images_list}}
{{^}}
{{# images_list}}
<img class="thumb lazy"
data-original="{{image2 image_url w=75 h=100}}"
data-shower="{{image2 image_url w=420 h=560}}"
data-origin="{{image2 image_url w=750 h=1000}}" alt="{{../../productTitle}}">
{{/ images_list}}
{{/if}}
</div>
{{/ goods_list}}
</div>
</div>
<div class="pull-right infos">
<h1 class="name">{{product_name}}</h1>
<div class="line"></div>
<p class="market-price">
{{# formart_orign_price}}
<span class="price-row">
<span class="title">原<s></s>价:</span>
<span class="price has-other-price">{{.}}</span>
</span><br>
{{/ formart_orign_price}}
{{# formart_final_price}}
<span class="price-row">
<span class="title">当前价:</span>
<span class="price">{{.}}</span>
</span>
{{/ formart_final_price}}
{{#if promotion}}
<span class="desc">
<span class="promotion">{{promotion}}折</span>
</span>
{{/if}}
</p>
<p class="foreign-price">
{{# format_market_price}}
<span class="title">原 价:</span>
<span class="price has-other-price">{{.}}</span>
{{/ format_market_price}}
{{# format_sales_price}}
<span class="title">当前价:</span>
<span class="price">{{.}}</span>
{{/ format_sales_price}}
</p>
<div class="line"></div>
<div class="trade-content">
<div id="type-chose" class="type-chose">
{{> product/color-list}}
{{> product/size-list}}
<div class="chose-count row clearfix">
<span class="title pull-left">数 量:</span>
<div class="num-wraper pull-left clearfix">
{{> product/num}}
</div>
</div>
<div class="line"></div>
<span id="code-buy" class="code-buy" skn="{{product_skn}}">
<div class="code-box">
<div id="qrcode-img" class="code-img"
data-url='http://union.yoho.cn/union/app-downloads.html?openby:yohobuy={"action":"go.globalpurchase","params":{"skn":"{{product_skn}}"}}'>
</div>
<div class="code-font">
<em>手机客户端<br/>扫一扫购买</em>
</div>
</div>
</span>
</div>
</div>
<div class="extra-tip">
<a href="/help/detail?id=39&contId=241" rel="nofollow">全球购物须知</a>
<ul class="global-buy-tips">
{{# illustrate_contents}}
<li>
{{title}} >
<div class="hover-tip">{{content}}</div>
</li>
{{/ illustrate_contents}}
</ul>
</div>
</div>
{{/ goodsInfo}}
</div>
<div class="global-detail-wrap">{{{detailHtml}}}</div>
</div>
</div>