暂时屏蔽全部尺寸的现实 review by hf
Showing
1 changed file
with
4 additions
and
8 deletions
@@ -4,11 +4,7 @@ | @@ -4,11 +4,7 @@ | ||
4 | <div class="infos"> | 4 | <div class="infos"> |
5 | <div class="basic-info" > | 5 | <div class="basic-info" > |
6 | {{#thumbs}} | 6 | {{#thumbs}} |
7 | - {{#if @first}} | ||
8 | - <img class="thumb" src={{img}}> | ||
9 | - {{else}} | ||
10 | - <img class="thumb hide" src={{img}}> | ||
11 | - {{/if}} | 7 | + <img class="thumb {{#unless @first}}hide{{/if}}" src={{img}}> |
12 | {{/thumbs}} | 8 | {{/thumbs}} |
13 | <div class="text-info"> | 9 | <div class="text-info"> |
14 | <p class="name">{{name}}</p> | 10 | <p class="name">{{name}}</p> |
@@ -34,7 +30,7 @@ | @@ -34,7 +30,7 @@ | ||
34 | <div class="size-list block-list"> | 30 | <div class="size-list block-list"> |
35 | <span>尺码</span> | 31 | <span>尺码</span> |
36 | {{# sizes}} | 32 | {{# sizes}} |
37 | - <ul class="size-row clearfix hide"> | 33 | + <ul class="size-row clearfix {{#unless @first}}hide{{/if}}"> |
38 | {{# size}} | 34 | {{# size}} |
39 | <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-numstr="{{colorNumStr}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}"> | 35 | <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-numstr="{{colorNumStr}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}"> |
40 | {{name}} | 36 | {{name}} |
@@ -43,13 +39,13 @@ | @@ -43,13 +39,13 @@ | ||
43 | </ul> | 39 | </ul> |
44 | {{/ sizes}} | 40 | {{/ sizes}} |
45 | 41 | ||
46 | - {{#if defaultSizes}} | 42 | + <!--{{#if defaultSizes}} |
47 | <ul class="size-row clearfix default-size"> | 43 | <ul class="size-row clearfix default-size"> |
48 | {{#each defaultSizes}} | 44 | {{#each defaultSizes}} |
49 | <li class="block {{#if numZero}}zero-stock{{/if}}" data-numstr="{{numStr}}">{{name}}</li> | 45 | <li class="block {{#if numZero}}zero-stock{{/if}}" data-numstr="{{numStr}}">{{name}}</li> |
50 | {{/each}} | 46 | {{/each}} |
51 | </ul> | 47 | </ul> |
52 | - {{/if}} | 48 | + {{/if}}--> |
53 | </div> | 49 | </div> |
54 | <p> | 50 | <p> |
55 | <div class="num"> | 51 | <div class="num"> |
-
Please register or login to post a comment