Authored by 毕凯

修改绑定手机号 绑定中文字

@@ -28,6 +28,7 @@ function nextStep(url, mobileNo, areaCode) { @@ -28,6 +28,7 @@ function nextStep(url, mobileNo, areaCode) {
28 } 28 }
29 29
30 requested = true; 30 requested = true;
  31 + $btnNext.html('绑定中');
31 32
32 $.ajax({ 33 $.ajax({
33 type: 'POST', 34 type: 'POST',
@@ -37,11 +38,13 @@ function nextStep(url, mobileNo, areaCode) { @@ -37,11 +38,13 @@ function nextStep(url, mobileNo, areaCode) {
37 areaCode: areaCode.replace('+', '') 38 areaCode: areaCode.replace('+', '')
38 }, 39 },
39 success: function(res) { 40 success: function(res) {
40 - console.log(res.data); 41 +
  42 + // console.log(res.data);
41 location.href = url; 43 location.href = url;
42 }, 44 },
43 error: function() { 45 error: function() {
44 tip.show('出错了,请重试!'); 46 tip.show('出错了,请重试!');
  47 + $btnNext.html('下一步');
45 requested = false; 48 requested = false;
46 } 49 }
47 }); 50 });
@@ -86,7 +89,8 @@ $btnNext.on('touchstart', function() { @@ -86,7 +89,8 @@ $btnNext.on('touchstart', function() {
86 nickname: nickname 89 nickname: nickname
87 }, 90 },
88 success: function(res) { 91 success: function(res) {
89 - console.log(res); 92 +
  93 + // console.log(res);
90 94
91 //res : { 95 //res : {
92 // code: 'xxx', 96 // code: 'xxx',