Authored by hongweigao

尺码无库存、颜色无库存,灰色

... ... @@ -11,7 +11,7 @@
<span class="title pull-left">&nbsp;&nbsp;色:</span>
<ul class="pkg-colors colors pull-left clearfix">
{{#each colors}}
<li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
<li class="{{#if focus}}focus{{/if}} {{#unless total}}disable{{/unless}} pull-left"
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
<img src="{{src}}"><span class="color-name">{{name}}</span>
</li>
... ... @@ -26,7 +26,11 @@
</div>
</div>
<div class="chose-done">您已选择:
<span class="pkg-color">“黑色”</span>
<span class="pkg-color">
{{#each colors}}
{{#if focus}}{{name}}{{/if}}
{{/each}}
</span>
<span class="pkg-size"></span>
</div>
</div>
... ...