Authored by hf

Merge branch 'develop/wap' of http://git.dev.yoho.cn/web/yohobuy into develop/wap

@@ -120,3 +120,9 @@ $page.on('touchstart', '.del-icon', function() { @@ -120,3 +120,9 @@ $page.on('touchstart', '.del-icon', function() {
120 }); 120 });
121 }); 121 });
122 }); 122 });
  123 +
  124 +$('.deps').on('touchstart', 'span', function() {
  125 + $(this).css('background', '#eee');
  126 +}).on('touchend touchcancel', 'span', function() {
  127 + $(this).css('background', 'transparent');
  128 +});
@@ -9,6 +9,10 @@ @@ -9,6 +9,10 @@
9 height: 160rem / $pxConvertRem; 9 height: 160rem / $pxConvertRem;
10 } 10 }
11 11
  12 + .sold-out {
  13 + display: inline;
  14 + }
  15 +
12 .deps { 16 .deps {
13 margin-left: 135rem / $pxConvertRem; 17 margin-left: 135rem / $pxConvertRem;
14 padding: 0.5rem 0; 18 padding: 0.5rem 0;
@@ -43,7 +47,7 @@ @@ -43,7 +47,7 @@
43 } 47 }
44 48
45 .sold-out-tag { 49 .sold-out-tag {
46 - font-size: 16px; 50 + font-size: 12px;
47 line-height: 30rem / $pxConvertRem; 51 line-height: 30rem / $pxConvertRem;
48 text-align: center; 52 text-align: center;
49 color: #fff; 53 color: #fff;
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <span class="market-price"{{market_price}}</span> 10 <span class="market-price"{{market_price}}</span>
11 {{/if}} 11 {{/if}}
12 </p> 12 </p>
13 - <p class="row"> 13 + <p class="sold-out row">
14 {{#unless storage}} 14 {{#unless storage}}
15 <span class="sold-out-tag">已售罄</span> 15 <span class="sold-out-tag">已售罄</span>
16 {{/unless}} 16 {{/unless}}