pdetail.hbs
2.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
<div id="app" class="product-page" data-pid="{{pid}}" data-goods-id="{{goodsId}}">
<div id="ssr">
{{#product}}
<div class="ssr show-box first-box">
<div class="image-swipe">
<div class="swipe-wrap">
<div class="swiper-container swiper-container-horizontal">
<div class="swiper-wrapper">
{{#each goods_list}}
{{#if color_image}}
<div class="swiper-slide" style="width: 300px;" data-swiper-slide-index="0">
<img width="100%" src="{{image2 color_image w=580 h=770 q=80}}/interlace/1">
</div>
{{/if}}
{{/each}}
</div>
</div>
</div>
</div>
</div>
{{#brandInfo}}
<div class="show-box zero-top-margin">
<div>
<ul class="item-action">
<li><a href="/product/shop/{{brand_domain}}"><i class="brand icon"></i><span class="action-text">
{{brand_name}}</span></a>
</li>
<li><i class="icon icon-focus"></i><span class="action-text">收藏</span></li>
<li><i class="icon icon-share2"></i><span class="action-text">分享</span></li>
</ul>
</div>
<hr>
{{#product}}
<div class="item-price">
<i class="price highlight">{{formatPrice}}</i>
{{#if isDiscount}}
<i class="price line-through">{{format_market_price}}</i>
{{/if}}
<p class="product-name">{{product_name}}</p>
</div>
{{/product}}
<div class="service">
<ul>
<li><i class="icon icon-real"></i>100%品牌正品</li>
<li class="return"><i class="icon icon-seven"></i>7天无理由退换货</li>
<li><i class="icon icon-onlineservice"></i>便捷在线客服</li>
</ul>
</div>
</div>
{{/brandInfo}}
{{/product}}
</div>
<app/>
</div>