Authored by 王水玲

Merge branch 'feature/installment2a' of git.yoho.cn:fe/yohobuywap-node into feature/installment2a

@@ -463,6 +463,7 @@ const checkVerifyCode = (uid, mobile, code) => { @@ -463,6 +463,7 @@ const checkVerifyCode = (uid, mobile, code) => {
463 method: method, 463 method: method,
464 mobile: mobile, 464 mobile: mobile,
465 snsCheckCode: code, 465 snsCheckCode: code,
  466 + codeType: 1, // 授信
466 debug: 'XYZ' 467 debug: 'XYZ'
467 }, { 468 }, {
468 timeout: API_TIMEOUT 469 timeout: API_TIMEOUT
@@ -139,6 +139,8 @@ $('#send-sms').click(function() { @@ -139,6 +139,8 @@ $('#send-sms').click(function() {
139 return false; 139 return false;
140 } 140 }
141 141
  142 + $(self).data('running', true);
  143 +
142 $.get('/home/installment/starting-service/verify-code', { 144 $.get('/home/installment/starting-service/verify-code', {
143 mobile: formModel.mobile 145 mobile: formModel.mobile
144 }).then(function(result) { 146 }).then(function(result) {
@@ -158,6 +160,8 @@ $('#send-sms').click(function() { @@ -158,6 +160,8 @@ $('#send-sms').click(function() {
158 tip.show(result.message); 160 tip.show(result.message);
159 $(self).data('running', false); 161 $(self).data('running', false);
160 } 162 }
  163 + }).done(function() {
  164 + $(self).data('running', false);
161 }); 165 });
162 166
163 return false; 167 return false;
@@ -61,7 +61,7 @@ a { @@ -61,7 +61,7 @@ a {
61 } 61 }
62 62
63 @font-face { 63 @font-face {
64 - font-family: "iconfont"; 64 + font-family: 'iconfont';
65 src: resolve('iconfont.eot'); /* IE9 */ 65 src: resolve('iconfont.eot'); /* IE9 */
66 src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), resolve('iconfont.woff') format('woff'), resolve('iconfont.ttf') format('truetype'), resolve('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ 66 src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), resolve('iconfont.woff') format('woff'), resolve('iconfont.ttf') format('truetype'), resolve('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
67 } 67 }
@@ -70,7 +70,7 @@ a { @@ -70,7 +70,7 @@ a {
70 text-decoration: none; 70 text-decoration: none;
71 font-style: normal; 71 font-style: normal;
72 font-size: 24px; 72 font-size: 24px;
73 - font-family: "iconfont" !important; 73 + font-family: 'iconfont' !important;
74 -webkit-font-smoothing: antialiased; 74 -webkit-font-smoothing: antialiased;
75 -webkit-text-stroke-width: 0.4px; 75 -webkit-text-stroke-width: 0.4px;
76 -moz-osx-font-smoothing: grayscale; 76 -moz-osx-font-smoothing: grayscale;
@@ -81,7 +81,7 @@ a { @@ -81,7 +81,7 @@ a {
81 display: none; 81 display: none;
82 text-align: center; 82 text-align: center;
83 width: 70%; 83 width: 70%;
84 - padding: 34PX 0; 84 + padding: 18PX 55PX;
85 top: 50%; 85 top: 50%;
86 left: 50%; 86 left: 50%;
87 margin-left: -35%; 87 margin-left: -35%;