Authored by htoooth

fix bug

@@ -5,9 +5,7 @@ @@ -5,9 +5,7 @@
5 */ 5 */
6 6
7 var $ = require('yoho-jquery'), 7 var $ = require('yoho-jquery'),
8 - regx = require('../common/mail-phone-regx'),  
9 - emailReg = regx.emailRegx,  
10 - phoneRegx = regx.phoneRegx; 8 + regx = require('../common/mail-phone-regx');
11 9
12 var emailAc = require('../common/ac-email'); // 邮箱自动完成 10 var emailAc = require('../common/ac-email'); // 邮箱自动完成
13 11
@@ -23,6 +21,8 @@ var $cr = $('#country-code-hide'), @@ -23,6 +21,8 @@ var $cr = $('#country-code-hide'),
23 hasPh = false, 21 hasPh = false,
24 hasCa = false; 22 hasCa = false;
25 23
  24 +var emailReg = regx.emailRegx,
  25 + phoneRegx = regx.phoneRegx;
26 26
27 require('yoho-jquery-placeholder'); 27 require('yoho-jquery-placeholder');
28 28
@@ -124,6 +124,10 @@ function pwdKeyupEvt() { @@ -124,6 +124,10 @@ function pwdKeyupEvt() {
124 $pwdParent.addClass('green').removeClass('yellow red'); 124 $pwdParent.addClass('green').removeClass('yellow red');
125 $pwdIntensity.addClass('color'); 125 $pwdIntensity.addClass('color');
126 break; 126 break;
  127 + default:
  128 + $pwdParent.removeClass('red yellow green');
  129 + $pwdIntensity.removeClass('color');
  130 + break;
127 } 131 }
128 132
129 // 提示框 133 // 提示框
@@ -2,9 +2,8 @@ @@ -2,9 +2,8 @@
2 line-height: 0; /* remove line-height */ 2 line-height: 0; /* remove line-height */
3 display: inline-block; /* circle wraps image */ 3 display: inline-block; /* circle wraps image */
4 margin: 5px; 4 margin: 5px;
5 - border: 0.5px solid rgba(255,255,255,0.4); 5 + border: 0.5px solid white;
6 border-radius: 50%; /* relative value */ 6 border-radius: 50%; /* relative value */
7 - /*box-shadow: 0px 0px 5px rgba(0,0,0,0.4);*/  
8 transition: linear 0.25s; 7 transition: linear 0.25s;
9 height: 100px; 8 height: 100px;
10 width: 100px; 9 width: 100px;