...
|
...
|
@@ -151,53 +151,85 @@ |
|
|
|
|
|
<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>
|
|
|
|
|
|
<div class="chose-size row clearfix">
|
|
|
<span class="title pull-left">
|
|
|
{{#if virtualGoods}}
|
|
|
选日期:
|
|
|
{{^}}
|
|
|
选尺码:
|
|
|
{{/if}}
|
|
|
</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}}
|
|
|
{{#if isTicket}}
|
|
|
<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">
|
|
|
选区域:
|
|
|
</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>
|
|
|
{{^}}
|
|
|
<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 virtualGoods}}
|
|
|
选日期:
|
|
|
{{^}}
|
|
|
选尺码:
|
|
|
{{/if}}
|
|
|
</span>
|
|
|
|
|
|
{{#unless virtualGoods}}
|
|
|
<span class="size-ruler"></span>
|
|
|
{{/unless}}
|
|
|
|
|
|
<span class="size-warn warn-tip hide">
|
|
|
<i class="iconfont"></i>
|
|
|
{{#if virtualGoods}}
|
|
|
请选择日期
|
|
|
{{^}}
|
|
|
请选择尺码
|
|
|
{{/if}}
|
|
|
</span>
|
|
|
</ul>
|
|
|
{{/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}}
|
|
|
请选择日期
|
|
|
{{^}}
|
|
|
请选择尺码
|
|
|
{{/if}}
|
|
|
</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>
|
...
|
...
|
@@ -234,31 +266,41 @@ |
|
|
<span class="lc-btn lc-sold-out">限购码已抢光</span>
|
|
|
{{/if}}
|
|
|
{{/ fashionTopGoods}}
|
|
|
|
|
|
{{#if isTicket}}
|
|
|
<span class="size-warn warn-tip"> 限购4张</span>
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<p class="row">
|
|
|
{{!-- 各颜色下所有尺码均售罄则只显示售罄按钮 --}}
|
|
|
{{#unless soldOut}}
|
|
|
{{# buyNow}}
|
|
|
<span id="buy-now" class="buy-btn buy-now item-buy{{#if dis}} dis{{/if}}" data-base="{{buyNowBase}}">立即购买</span>
|
|
|
{{/ buyNow}}
|
|
|
{{# openSoon}}
|
|
|
<span id="open-soon" class="buy-btn item-buy dis">即将开售</span>
|
|
|
{{/ openSoon}}
|
|
|
{{#if notForSale}}
|
|
|
<span class="buy-btn dis">
|
|
|
<i class="iconfont"></i>
|
|
|
非买品
|
|
|
</span>
|
|
|
{{/if}}
|
|
|
{{#if addToCart}}
|
|
|
<span id="add-to-cart" class="buy-btn item-buy add-to-cart">
|
|
|
<i class="iconfont"></i>
|
|
|
添加到购物车
|
|
|
</span>
|
|
|
{{/if}}
|
|
|
{{/unless}}
|
|
|
{{#if isTicket}}
|
|
|
{{!-- 电子门票按钮 --}}
|
|
|
<span id="buy-now" class="buy-btn buy-now item-buy{{#if dis}} dis{{/if}}" data-base="{{buyNowBase}}">立即购买</span>
|
|
|
{{^}}
|
|
|
{{!-- 各颜色下所有尺码均售罄则只显示售罄按钮 --}}
|
|
|
{{#unless soldOut}}
|
|
|
{{# buyNow}}
|
|
|
<span id="buy-now" class="buy-btn buy-now item-buy{{#if dis}} dis{{/if}}" data-base="{{buyNowBase}}">立即购买</span>
|
|
|
{{/ buyNow}}
|
|
|
{{# openSoon}}
|
|
|
<span id="open-soon" class="buy-btn item-buy dis">即将开售</span>
|
|
|
{{/ openSoon}}
|
|
|
{{#if notForSale}}
|
|
|
<span class="buy-btn dis">
|
|
|
<i class="iconfont"></i>
|
|
|
非买品
|
|
|
</span>
|
|
|
{{/if}}
|
|
|
{{#if addToCart}}
|
|
|
<span id="add-to-cart" class="buy-btn item-buy add-to-cart">
|
|
|
<i class="iconfont"></i>
|
|
|
添加到购物车
|
|
|
</span>
|
|
|
{{/if}}
|
|
|
{{/unless}}
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
<span id="sold-out" class="buy-btn dis{{#unless soldOut}} hide{{/if}}">
|
|
|
<i class="iconfont"></i>
|
...
|
...
|
|