detail.hbs
3.38 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
{{# result}}
<div id="global-detail-page" class="global-detail-page yoho-page" data-skn="{{product_skn}}">
<div class="banner-container">
<div class="global-tag">
<div class="global-country">
{{#isEqualOr is_plane 'Y'}}
<span class="global-plane"></span>
{{/isEqualOr}}
<span>{{country_name}}</span>
</div>
{{#isEqualOr is_limited 'Y'}}
<div class="global-limited">
<span>限量</span>
</div>
{{/isEqualOr}}
</div>
{{# bannerTop}}
{{> detail/banner-swiper-arrow}}
{{/ bannerTop}}
</div>
<div class="goods-name"><h1 class="name">{{product_name}}</h1></div>
<div class="price-date">
<div>
<span class="final-price">{{show_final_price}}</span>
{{# show_orign_price}}
<span class="orign-price">{{.}}</span>
{{/ show_orign_price}}
</div>
<div>
<span class="sales-price">当前价:{{show_sales_price}}</span>
{{# show_market_price}}
<span class="market-price">原价:{{.}}</span>
{{/ show_market_price}}
</div>
</div>
<div class="country">
<span class="country-name">{{country_name}}</span>
<span class="product-source">{{product_source}}</span>
</div>
{{# illustrate}}
<div class="illustrate">
<div class="illustrate-title">
<div class="title checked"><i class="iconfont checked"></i>{{title1}}</div>
<div class="title notice"><i class="iconfont notice"></i>{{title2}}</div>
<div class="illustrate-down"><i class="iconfont down"></i></div>
</div>
<div class="illustrate-contents">
<div class="content checked">
<i class="iconfont checked"></i>{{title1}}
<div class="text">{{content1}}</div>
</div>
<div class="content notice">
<i class="iconfont notice"></i>{{title2}}
<div class="text">{{content2}}</div>
</div>
<div class="illustrate-up"><i class="iconfont up"></i></div>
</div>
</div>
{{/ illustrate}}
{{# brand_info}}
<div class="enter-store">
{{#if brand_ico}}
<a class="store-logo" href="{{brand_url}}">
<img class="lazy" src="{{image2 brand_ico w=47 h=47 q=60}}" alt="{{brand_name}}">
</a>
{{/if}}
<a class="store-name" href="{{brand_url}}">{{brand_name}}</a>
<a class="store-link" href="{{brand_url}}">进入店铺<span class="iconfont"></span></a>
</div>
{{/ brand_info}}
<div class="customer-service">
<a href="{{customer_service}}">
<span class="customer-name">全球购购物须知</span>
<span class="customer-link iconfont"></span>
</a>
</div>
<div id="productDesc" class="product-desc"></div>
<div class="cart-bar iphonex-bottom-tab">
{{#unless @root.wap.common.removeCartCount}}
<input type="hidden" id="remove-cart-count" value="1">
{{/unless}}
<a href="{{../cartUrl}}" class="num-incart iconfont"><span class="num-tag hide"></span></a>
<a href="javascript:;" class="addto-cart">下载APP购买</a>
</div>
</div>
{{/ result}}