package-dialog.hbs
2.21 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 class="pkg-dg-header">
<p class="left">{{name}}</p>
<span class="pkg-close close right"><i class="iconfont"></i></span>
</div>
<div class="pkg-dg-prodetal" data-index="{{index}}">
{{#productList}}
<div class="pkg-product clearfix" data-id="{{id}}" data-skn="{{skn}}">
<a href="{{url}}" class="pkg-pro-img">
<img src="{{image2 src w=85 h=109}}" class="pro-img"/>
</a>
<div class="type-chose">
<div class="chose-color row clearfix">
<span class="title pull-left">颜 色:</span>
<ul class="pkg-colors colors pull-left clearfix">
{{#each colors}}
<li class="{{#if focus}}focus{{/if}} {{#unless total}}disable{{/unless}} pull-left"
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
<img src="{{image2 src w=25 h=34}}"><span class="color-name">{{name}}</span>
</li>
{{/each}}
</ul>
</div>
<div class="chose-size row clearfix">
<span class="title pull-left"> 尺 码: </span>
<div class="pkg-sizes size-wrapper pull-left">
{{> pkg-size}}
</div>
</div>
<div class="chose-done">您已选择:
<span class="pkg-color">
{{#each colors}}
{{#if focus}}"{{name}}"{{/if}}
{{/each}}
</span>
<span class="pkg-size">
{{#each colors}}
{{#each size}}
{{#if focus}}"{{name}}"{{/if}}
{{/each}}
{{/each}}
</span>
</div>
</div>
</div>
{{/productList}}
</div>
<div class="pkg-dg-footer clearfix">
<p class="total-money left">合 计:<em>{{pkgPrice}}</em></p>
<span class="pay-pkg buy-product red-color right" data-bundleid="{{bundleId}}">
<em>加入购物车</em>
</span>
</div>