Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
3 changed files
with
3 additions
and
3 deletions
@@ -183,7 +183,7 @@ orderHammer.on('tap', function(e) { | @@ -183,7 +183,7 @@ orderHammer.on('tap', function(e) { | ||
183 | } | 183 | } |
184 | }); | 184 | }); |
185 | }); | 185 | }); |
186 | - } else { | 186 | + } else if ($cur.closest('.order-goods').length > 0) { |
187 | 187 | ||
188 | //Location to order detail | 188 | //Location to order detail |
189 | url = $order.data('href'); | 189 | url = $order.data('href'); |
@@ -90,7 +90,7 @@ function callpay(orderCode) { | @@ -90,7 +90,7 @@ function callpay(orderCode) { | ||
90 | 90 | ||
91 | 91 | ||
92 | function isWXOpen() { | 92 | function isWXOpen() { |
93 | - var ua = navigator.userAgent.toLowerCase(); | 93 | + var ua = window.navigator.userAgent.toLowerCase(); |
94 | 94 | ||
95 | if (ua.match(/MicroMessenger/i) === 'micromessenger') { | 95 | if (ua.match(/MicroMessenger/i) === 'micromessenger') { |
96 | return true; | 96 | return true; |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | > div { | 36 | > div { |
37 | width: 60rem / $pxConvertRem; | 37 | width: 60rem / $pxConvertRem; |
38 | height: 60rem / $pxConvertRem; | 38 | height: 60rem / $pxConvertRem; |
39 | - background-image: image-url("/img/layout/pay-icon.png"); | 39 | + background-image: image-url("layout/pay-icon.png"); |
40 | background-size: 90%; | 40 | background-size: 90%; |
41 | background-position-y: 8rem / $pxConvertRem; | 41 | background-position-y: 8rem / $pxConvertRem; |
42 | background-position-x: center; | 42 | background-position-x: center; |
-
Please register or login to post a comment