12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- loginStatus();
- * 邮箱找密码第二步
- */
- $(function (){
-
- var _height = document.documentElement.clientHeight;
-
- var boxHeight = $(".email-find2").height();
- $(".email-find2").css({ top: (_height - boxHeight) / 2 +"px"});
-
- $("#email").text(GetQueryString("email"));
- $("#emailGo").on("click", function(){
- var url = GetQueryString("email").split('@')[1];
- for (var j in hash){
- if(hash[url]==undefined){
- location.href="http://mail." + url;
- }else{
- $(this).attr("href", hash[url]);
- location.href=hash[url];
- }
- }
- });
-
-
- function sendPassword(){
- $.ajax("/ajax/validMailState",{
- type:"GET",
- async: false,
- success:function(data){
- $.cookie('mailVal',mailVal);
- $.cookie('userId',data.data);
- location.href="bind-mail.html";
- },
- error:function(){
- $.MsgBox.Alert('消息','邮箱发送失败')
- },
- data:{"mail":mailVal,"password":passwordVal},
- dataType: 'json'}
- );
- }
-
- });
|