...
|
...
|
@@ -150,55 +150,83 @@ |
|
|
|
|
|
<div class="trade-content">
|
|
|
<div id="type-chose" class="type-chose">
|
|
|
<div class="chose-color row clearfix">
|
|
|
<span class="title pull-left">选颜色:</span>
|
|
|
<ul class="colors pull-left clearfix">
|
|
|
{{#each colors}}
|
|
|
<li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
|
|
|
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
|
|
|
<img src="{{src}}">
|
|
|
</li>
|
|
|
{{/each}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
{{#if virtualGoods}}
|
|
|
<div class="chose-ticket chose-color row clearfix">
|
|
|
<span class="title pull-left">选日期:</span>
|
|
|
<ul class="colors pull-left clearfix">
|
|
|
{{#each colors}}
|
|
|
<li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
|
|
|
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
|
|
|
{{name}}
|
|
|
</li>
|
|
|
{{/each}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
|
<div class="chose-size row clearfix">
|
|
|
<span class="title pull-left">
|
|
|
{{#if virtualGoods}}
|
|
|
选日期:
|
|
|
{{^}}
|
|
|
<div class="chose-size row clearfix">
|
|
|
<span class="title pull-left">
|
|
|
选区域:
|
|
|
</span>
|
|
|
|
|
|
<div id="sizes" class="size-wrapper pull-left">
|
|
|
{{#each colors}}
|
|
|
<ul class="size{{#unless focus}} hide{{/unless}}">
|
|
|
{{#each size}}
|
|
|
<li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
|
|
|
data-num="{{num}}" data-name="{{name}}">{{name}}</li>
|
|
|
{{/each}}
|
|
|
|
|
|
<span class="size-warn warn-tip hide">
|
|
|
<i class="iconfont"></i>
|
|
|
请选择区域
|
|
|
</span>
|
|
|
</ul>
|
|
|
{{/each}}
|
|
|
</div>
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="chose-color row clearfix">
|
|
|
<span class="title pull-left">选颜色:</span>
|
|
|
<ul class="colors pull-left clearfix">
|
|
|
{{#each colors}}
|
|
|
<li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
|
|
|
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
|
|
|
<img src="{{src}}">
|
|
|
</li>
|
|
|
{{/each}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
|
<div class="chose-size row clearfix">
|
|
|
<span class="title pull-left">
|
|
|
选尺码:
|
|
|
{{/if}}
|
|
|
</span>
|
|
|
</span>
|
|
|
|
|
|
<div id="sizes" class="size-wrapper pull-left">
|
|
|
{{#each colors}}
|
|
|
<ul class="size{{#unless focus}} hide{{/unless}}">
|
|
|
{{#each size}}
|
|
|
<li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
|
|
|
data-num="{{num}}" data-name="{{name}}">{{name}}</li>
|
|
|
{{/each}}
|
|
|
|
|
|
<div id="sizes" class="size-wrapper pull-left">
|
|
|
{{#each colors}}
|
|
|
<ul class="size{{#unless focus}} hide{{/unless}}">
|
|
|
{{#each size}}
|
|
|
<li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
|
|
|
data-num="{{num}}" data-name="{{name}}">{{name}}</li>
|
|
|
{{/each}}
|
|
|
|
|
|
{{#unless virtualGoods}}
|
|
|
<span class="size-ruler"></span>
|
|
|
{{/unless}}
|
|
|
|
|
|
<span class="size-warn warn-tip hide">
|
|
|
<i class="iconfont"></i>
|
|
|
{{#if virtualGoods}}
|
|
|
请选择日期
|
|
|
{{^}}
|
|
|
{{#unless virtualGoods}}
|
|
|
<span class="size-ruler"></span>
|
|
|
{{/unless}}
|
|
|
|
|
|
<span class="size-warn warn-tip hide">
|
|
|
<i class="iconfont"></i>
|
|
|
请选择尺码
|
|
|
{{/if}}
|
|
|
</span>
|
|
|
</ul>
|
|
|
{{/each}}
|
|
|
</span>
|
|
|
</ul>
|
|
|
{{/each}}
|
|
|
|
|
|
{{#unless virtualGoods}}
|
|
|
<p class="color-size-tip hide"></p>
|
|
|
{{/unless}}
|
|
|
{{#unless virtualGoods}}
|
|
|
<p class="color-size-tip hide"></p>
|
|
|
{{/unless}}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
|
|
|
<div class="chose-count row clearfix">
|
|
|
<span class="title pull-left">选数量:</span>
|
...
|
...
|
|