Authored by 毕凯

订单确认禁止表单提交

@@ -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 /**
@@ -250,3 +250,7 @@ $('.pay-mode').on('click', 'li', function() { @@ -250,3 +250,7 @@ $('.pay-mode').on('click', 'li', function() {
250 payType = $this.data('pay-type'); 250 payType = $this.data('pay-type');
251 submitOrder(); 251 submitOrder();
252 }); 252 });
  253 +
  254 +$('form').on('submit', function() {
  255 + return false;
  256 +});