Showing
1 changed file
with
3 additions
and
3 deletions
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | <div class="color-list block-list"> | 20 | <div class="color-list block-list"> |
21 | <span>颜色</span> | 21 | <span>颜色</span> |
22 | {{# colors}} | 22 | {{# colors}} |
23 | - <ul id="{{sizeName}}" data-index="{{@index}}" class="size-row clearfix {{#unless @first}}hide{{/if}}"> | 23 | + <ul id="{{id}}" data-index="{{@index}}" class="size-row clearfix {{#unless @first}}hide{{/if}}"> |
24 | {{# color}} | 24 | {{# color}} |
25 | <li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}"> | 25 | <li class="block {{#if chosed}}chosed{{/if}} {{#unless colorNum}}zero-stock{{/unless}}" data-num="{{colorNum}}"> |
26 | {{name}} | 26 | {{name}} |
@@ -32,9 +32,9 @@ | @@ -32,9 +32,9 @@ | ||
32 | <div class="size-list block-list"> | 32 | <div class="size-list block-list"> |
33 | <span>尺码</span> | 33 | <span>尺码</span> |
34 | {{# sizes}} | 34 | {{# sizes}} |
35 | - <ul class="size-row clearfix {{#unless @first}}hide{{/if}}"> | 35 | + <ul id="{{sizeName}}" data-index="{{@index}}" class="size-row clearfix {{#unless @first}}hide{{/if}}"> |
36 | {{# size}} | 36 | {{# size}} |
37 | - <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-num="{{sizeNum}}" data-name="{{name}}" data-skuid="{{skuId}}"> | 37 | + <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-num="{{sizeNum}}" data-id="{{id}}" data-skuid="{{skuId}}"> |
38 | {{name}} | 38 | {{name}} |
39 | </li> | 39 | </li> |
40 | {{/ size}} | 40 | {{/ size}} |
-
Please register or login to post a comment