Showing
3 changed files
with
9 additions
and
9 deletions
framework @ 75bbc3b0
@@ -23,15 +23,15 @@ class Yohobuy | @@ -23,15 +23,15 @@ class Yohobuy | ||
23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; | 23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; |
24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
25 | 25 | ||
26 | -// const API_URL = 'http://apih5.yoho.cn/'; | ||
27 | -// const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | -// const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
29 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 26 | + const API_URL = 'http://apih5.yoho.cn/'; |
27 | + const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | + const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
29 | + const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
30 | 30 | ||
31 | // /* 测试环境 */ | 31 | // /* 测试环境 */ |
32 | - const API_URL = 'http://testapi.yoho.cn:28078/'; | ||
33 | - const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | ||
34 | - const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 32 | + // const API_URL = 'http://testapi.yoho.cn:28078/'; |
33 | + // const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | ||
34 | + // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
35 | 35 | ||
36 | /** | 36 | /** |
37 | * 私钥列表 | 37 | * 私钥列表 |
@@ -213,7 +213,7 @@ $('.yoho-page').on('touchstart', '.chose-panel', function(e) { | @@ -213,7 +213,7 @@ $('.yoho-page').on('touchstart', '.chose-panel', function(e) { | ||
213 | $siblingBlock.find('.block').eq(i).addClass('zero-stock'); | 213 | $siblingBlock.find('.block').eq(i).addClass('zero-stock'); |
214 | } | 214 | } |
215 | } | 215 | } |
216 | - numArray = $siblingBlock.find('.chosed').data('numstr').split('/'); | 216 | + numArray = ($siblingBlock.find('.chosed').data('numstr') + '').split('/'); |
217 | $that.find('.num .left-num').html('剩余' + numArray[index] + '件'); | 217 | $that.find('.num .left-num').html('剩余' + numArray[index] + '件'); |
218 | if (2 === $chosed.closest('.zero-stock').length) { | 218 | if (2 === $chosed.closest('.zero-stock').length) { |
219 | $('#chose-btn-sure').css('background-color', '#c0c0c0'); | 219 | $('#chose-btn-sure').css('background-color', '#c0c0c0'); |
-
Please register or login to post a comment