package-dialog.hbs 2.19 KB
<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}}" >
        <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">&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>
    {{/productList}}
</div>

<div class="pkg-dg-footer clearfix">
    <p class="total-money left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;计:<em>{{pkgPrice}}</em></p>
    <span class="pay-pkg buy-product red-color right" data-bundleid="{{bundleId}}">
        <em>立即购买</em>
    </span>
</div>