...
|
...
|
@@ -19,17 +19,10 @@ |
|
|
<div class="chose-items">
|
|
|
<div class="color-list block-list">
|
|
|
<span>颜色</span>
|
|
|
<!--<ul class="clearfix" data-type="color">
|
|
|
{{# colors}}
|
|
|
<li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}" data-id="{{id}}" data-numstr="{{sizeNumStr}}" data-skcid="{{skcId}}">
|
|
|
{{name}}
|
|
|
</li>
|
|
|
{{/ colors}}
|
|
|
</ul>-->
|
|
|
{{# colors}}
|
|
|
<ul class="size-row clearfix {{#unless @first}}hide{{/if}}">
|
|
|
{{# color}}
|
|
|
<li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}" data-id="{{id}}" data-numstr="{{sizeNumStr}}" data-skcid="{{skcId}}">
|
|
|
<li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}">
|
|
|
{{name}}
|
|
|
</li>
|
|
|
{{/ color}}
|
...
|
...
|
@@ -41,20 +34,12 @@ |
|
|
{{# sizes}}
|
|
|
<ul class="size-row clearfix {{#unless @first}}hide{{/if}}">
|
|
|
{{# size}}
|
|
|
<li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-numstr="{{colorNumStr}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}">
|
|
|
<li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-num="{{sizeNum}}" data-skuid="{{skuId}}">
|
|
|
{{name}}
|
|
|
</li>
|
|
|
{{/ size}}
|
|
|
</ul>
|
|
|
{{/ sizes}}
|
|
|
|
|
|
<!--{{#if defaultSizes}}
|
|
|
<ul class="size-row clearfix default-size">
|
|
|
{{#each defaultSizes}}
|
|
|
<li class="block {{#if numZero}}zero-stock{{/if}}" data-numstr="{{numStr}}">{{name}}</li>
|
|
|
{{/each}}
|
|
|
</ul>
|
|
|
{{/if}}-->
|
|
|
</div>
|
|
|
<p>
|
|
|
<div class="num">
|
...
|
...
|
|