Showing
1 changed file
with
2 additions
and
2 deletions
@@ -64,14 +64,14 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { | @@ -64,14 +64,14 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { | ||
64 | if (data) { | 64 | if (data) { |
65 | $('#good-totalprice').html('¥' + data.commonCart.price); | 65 | $('#good-totalprice').html('¥' + data.commonCart.price); |
66 | $('#good-activityPrice').html('¥' + data.commonCart.activityPrice); | 66 | $('#good-activityPrice').html('¥' + data.commonCart.activityPrice); |
67 | - $('#good-total').html('总计:¥' + data.commonCart.sumPrice +' (' + data.commonCart.count + '件)'); | 67 | + $('#good-total').html('总计:¥' + data.commonCart.sumPrice + ' (' + data.commonCart.count + '件)'); |
68 | } | 68 | } |
69 | }, | 69 | }, |
70 | error: function() { | 70 | error: function() { |
71 | tip.show('网络错误'); | 71 | tip.show('网络错误'); |
72 | } | 72 | } |
73 | }); | 73 | }); |
74 | - } else if(data.code === 200) { | 74 | + } else if (data.code === 200) { |
75 | tip.show('网络错误'); | 75 | tip.show('网络错误'); |
76 | } | 76 | } |
77 | }).fail(function() { | 77 | }).fail(function() { |
-
Please register or login to post a comment