Authored by 郭成尧

input-width-jump

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2017-04-13 14:43:19 3 * @Date: 2017-04-13 14:43:19
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2017-04-18 11:36:23 5 + * @Last Modified time: 2017-04-18 16:39:47
6 */ 6 */
7 7
8 /* *************** 8 /* ***************
@@ -82,15 +82,11 @@ $sureResetBtn.on('click', function() { @@ -82,15 +82,11 @@ $sureResetBtn.on('click', function() {
82 success: function(result) { 82 success: function(result) {
83 tip.show(result.message); 83 tip.show(result.message);
84 84
85 - let href = '/passport/password/resetsuccess';  
86 -  
87 - if (result.code !== 200) {  
88 - href = '/passport/login'; 85 + if (result.code === 402) {
  86 + setTimeout(function() {
  87 + window.location.href = '/passport/login';
  88 + }, 500);
89 } 89 }
90 -  
91 - setTimeout(function() {  
92 - window.location.href = href;  
93 - }, 500);  
94 }, 90 },
95 error: function() { 91 error: function() {
96 tip.show('系统异常!'); 92 tip.show('系统异常!');
@@ -68,6 +68,7 @@ @@ -68,6 +68,7 @@
68 color: #fff; 68 color: #fff;
69 background-color: transparent; 69 background-color: transparent;
70 border: none; 70 border: none;
  71 + width: 100%;
71 } 72 }
72 73
73 input::-webkit-input-placeholder { 74 input::-webkit-input-placeholder {