Authored by Rock Zhang

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

@@ -41,7 +41,7 @@ optHammer.on('tap', function(e) { @@ -41,7 +41,7 @@ optHammer.on('tap', function(e) {
41 } 41 }
42 }).then(function(res) { 42 }).then(function(res) {
43 $('#dialog-wrapper').hide(); 43 $('#dialog-wrapper').hide();
44 - if (!res) { 44 + if ($.type(res) !== 'object') {
45 return; 45 return;
46 } 46 }
47 if (res.message) { 47 if (res.message) {
@@ -70,7 +70,7 @@ optHammer.on('tap', function(e) { @@ -70,7 +70,7 @@ optHammer.on('tap', function(e) {
70 } 70 }
71 }).then(function(res) { 71 }).then(function(res) {
72 $('#dialog-wrapper').hide(); 72 $('#dialog-wrapper').hide();
73 - if (!res) { 73 + if ($.type(res) !== 'object') {
74 return; 74 return;
75 } 75 }
76 if (res.message) { 76 if (res.message) {
@@ -28,9 +28,9 @@ @@ -28,9 +28,9 @@
28 } 28 }
29 29
30 .few-tag{ 30 .few-tag{
31 - width: 132rem / $pxConvertRem; 31 + width: 148rem / $pxConvertRem;
32 position: absolute; 32 position: absolute;
33 - left: 100rem / $pxConvertRem; 33 + left: 92rem / $pxConvertRem;
34 text-align: center; 34 text-align: center;
35 top: 75%; 35 top: 75%;
36 color: #fff; 36 color: #fff;
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 .icon-cb-checked:before { content: "\e61d"; } 5 .icon-cb-checked:before { content: "\e61d"; }
6 6
7 .shopping-cart-page { 7 .shopping-cart-page {
8 - padding-bottom: 120rem / $pxConvertRem; 8 + margin-bottom: 120rem / $pxConvertRem;
9 overflow-x: hidden; 9 overflow-x: hidden;
10 background: #f0f0f0; 10 background: #f0f0f0;
11 11
@@ -137,6 +137,13 @@ @@ -137,6 +137,13 @@
137 color: #999; 137 color: #999;
138 } 138 }
139 } 139 }
  140 +
  141 + .checkbox {
  142 + display: inline-block;
  143 + width: 80rem / $pxConvertRem;
  144 + text-align: center;
  145 + margin-right: -20rem / $pxConvertRem;
  146 + }
140 147
141 .coin-check { 148 .coin-check {
142 float: right; 149 float: right;