size-info.html 1.32 KB
<div class="panel panel-default">
    <div class="panel-heading">
        <a class="netsale-position" href="javascript:;" name="position5"></a>
        <div class="panel-btns" style="display: none;">
            <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
        </div>
        <h2 class="panel-title">尺码信息</h2>
    </div>
    <div class="panel-body nopadding" id="body">

    </div>
</div>
<script type="text/template" id="sizeinfo-template">
    [[if sizeRelationsList && sizeRelationsList.length > 0]]
    <table class="table table-striped table-hover table-bordered responsive dataTable no-footer">
        <thead>
        <tr>
            <td>尺码</td>
            <td>参考尺码([[genderName]])</td>
            [[each sizeRelationsList[0].prdSizeAttributeBoList as item index]]
            <td>[[item.sizeAttributeName]]</td>
            [[/each]]
        </tr>
        </thead>

        <tbody>
        [[each sizeRelationsList as item index]]
        <tr>
            <td>[[item.sizeName]]</td>
            <td>[[item.referenceName?item.referenceName:""]]</td>
            [[each item.prdSizeAttributeBoList as item1 index1]]
            <td>[[item1.sizeValue]]</td>
            [[/each]]
        </tr>
        [[/each]]
        </tbody>
    </table>
    [[/if]]
</script>