|
|
@@ -199,8 +199,8 @@ var bootstrap = function ($, learun) { |
|
|
|
// }); |
|
|
|
//} |
|
|
|
|
|
|
|
|
|
|
|
if (pwd == "true" || sessionStorage.getItem("pase_29d") == "hm") { |
|
|
|
//弱密码/初始密码登录,强制修改弹框 |
|
|
|
if (sessionStorage.getItem("pase_29d") == "hm") { |
|
|
|
top.layer.open({ |
|
|
|
id: 'pwdform', |
|
|
|
title: '密码修改', |
|
|
@@ -230,7 +230,39 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
if (pwd == "first" || sessionStorage.getItem("pase_29d") == "fs") { |
|
|
|
//登录页-(新生手机号)首次登录,强制修改弹框 |
|
|
|
if (sessionStorage.getItem("pase_29d") == "hmfl") { |
|
|
|
top.layer.open({ |
|
|
|
id: 'pwdform', |
|
|
|
title: '密码修改', |
|
|
|
closeBtn: 0, |
|
|
|
resize: false, |
|
|
|
type: 2, |
|
|
|
skin: 'lr-layer', |
|
|
|
btn: ['确定'], |
|
|
|
content: top.$.rootUrl + '/Home/ChangePwdOfFirstLogin', |
|
|
|
area: ['500px', '300px'], |
|
|
|
success: function (layero, index) { |
|
|
|
top['layer_pwdform'] = learun.iframe($(layero).find('iframe').attr('id'), top.frames); |
|
|
|
layero[0].learun_layerid = 'layer_pwdform'; |
|
|
|
}, |
|
|
|
yes: function (index, layero) { |
|
|
|
var flag = top['layer_pwdform'].acceptClick(function () { |
|
|
|
//删除seesion |
|
|
|
sessionStorage.removeItem("pase_29d"); |
|
|
|
top.location.href = "/Login/Index"; |
|
|
|
}); |
|
|
|
if (!!flag) { |
|
|
|
learun.layerClose('', index); |
|
|
|
} |
|
|
|
}, |
|
|
|
end: function () { |
|
|
|
top['layer_pwdform'] = null; |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
//首次登录微信绑定,强制修改弹框 |
|
|
|
if (sessionStorage.getItem("pase_29d") == "fs") { |
|
|
|
top.layer.open({ |
|
|
|
id: 'pwdform', |
|
|
|
title: '密码修改', |
|
|
|