package-dialog.hbs 2.1 KB
<div class="pkgDg-header">
    <p class="left">优惠套装</p>
    <span class="pkg-close close right"><i class="iconfont"></i></span>
</div>
<div class="pkgDg-prodetal">
    {{#packageData}}
    <div class="pkg-product clearfix">
        <a href="{{url}}" class="pkg-proImg"><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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;色:</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码: </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>
    {{/packageData}}
</div>
<div class="pkgDg-footer clearfix">
    <p class="totalMoney left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;计:<em>{{pkgPrice}}</em></p>
    <span id="pay-pkg" class="buy-product red-color right">
        <em>立即购买</em>
    </span>
</div>