detail.hbs
2.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
<div class="yoho-page bundle-body">
<div class="bundle-tabs{{#if any}} any{{/if}}">
<div class="swiper-wrapper">
{{# bundleDatas}}
<div class="swiper-slide{{#if selected}} selected{{/if}}" data-index="{{@index}}" data-href="{{href}}">
<div class="line"></div>
<div class="title">
<span>{{title}}</span>
</div>
</div>
{{/ bundleDatas}}
</div>
</div>
{{# productList}}
<div class="bundle-detail-goods">
<div class="goods-img"><a href="{{url}}"><img src="{{image default_images 155 206}}" alt=""></a></div>
<div class="goods-info">
<p><span class="title">{{product_name}}</span><span class="count">x 1</span></p>
<p><span class="select-btn" id="gskn-{{product_skn}}" data-id="{{product_id}}" data-index="{{@index}}"
data-skn="{{product_skn}}">请选择商品属性 <i
class="iconfont">
</i></span></p>
<p><span class="price">{{format_sales_price}}</span></p>
</div>
</div>
{{/ productList}}
<div class="chose-panel-top"></div>
{{# bundleInfo}}
<div class="bundle-bar clearfix">
{{#if @root.isApp}}
<div class="no-buy">抱歉,套装商品仅支持在最新版app购买,请升级!</div>
{{^}}
<div class="bundle-bar-md">
<div class="bundle-price">
{{#if subPrice}}
<span class="bundle-discount">立省¥{{subPrice}}</span>
{{/if}}
<span>套餐价: {{discountPriceStr}}</span>
</div>
<div class="sale-price">销售价: {{salesPriceStr}}</div>
</div>
<button id="bundle-buy-now" class="bundle-buy-btn">立即购买</button>
{{/if}}
</div>
<input type="hidden" id="activityId" value="{{bundleId}}">
{{/ bundleInfo}}
{{#shareInfo}}
<input type="hidden" id="shareImgUrl" value="{{imgUrl}}">
<input type="hidden" id="shareSubTitle" value="{{subTitle}}">
<input type="hidden" id="shareTitle" value="{{title}}">
<input type="hidden" id="shareUrl" value="{{url}}">
{{/shareInfo}}
<input type="hidden" id="no-download" value="1" >
</div>