...
|
...
|
@@ -8,23 +8,13 @@ |
|
|
|
|
|
<div class="colors-list mb20">
|
|
|
{{#each colors}}
|
|
|
{{#if active}}
|
|
|
<span class="color-item current-color {{#unless selectable}}disabled{{/unless}}"
|
|
|
<span class="color-item{{#if active}} current-color{{/if}}{{#unless selectable}} disabled{{/unless}}"
|
|
|
style="background: {{rgb}}"
|
|
|
data-imageurl="{{image pic 100 134}}"
|
|
|
data-target="{{proId}}-color-{{@index}}"
|
|
|
data-title="{{color}}">
|
|
|
<span class="inner"></span>
|
|
|
</span>
|
|
|
{{^}}
|
|
|
<span class="color-item {{#unless selectable}}disabled{{/unless}}"
|
|
|
style="background: {{rgb}}"
|
|
|
data-imageurl="{{image pic 100 134}}"
|
|
|
data-target="{{proId}}-color-{{@index}}"
|
|
|
data-title="{{color}}">
|
|
|
<span class="inner"></span>
|
|
|
</span>
|
|
|
{{/if}}
|
|
|
{{/each}}
|
|
|
</div>
|
|
|
|
...
|
...
|
|