...
|
...
|
@@ -25,12 +25,19 @@ var phoneRegx = { |
|
|
'+61': /^[0-9]{11}$/
|
|
|
};
|
|
|
|
|
|
//密码显示隐藏
|
|
|
function bindEyesEvt() {
|
|
|
/**
|
|
|
* 密码显示隐藏
|
|
|
* @params opt 初始化参数
|
|
|
*/
|
|
|
function bindEyesEvt(opt) {
|
|
|
var $hasEye = $('.has-eye'),
|
|
|
$eye;
|
|
|
|
|
|
if (opt && opt.status === 'open') {
|
|
|
$hasEye.append('<div class="eye"></div>');
|
|
|
} else {
|
|
|
$hasEye.append('<div class="eye close"></div>');
|
|
|
}
|
|
|
$eye = $hasEye.children('.eye');
|
|
|
|
|
|
$eye.on('tap', function(e) {
|
...
|
...
|
|