v>

25 Commits (01adc65b74fe0c948c56e2d13915cd46770d212d)

Autore SHA1 Messaggio Data
  luyanan 51d486a199 删除之前废弃咨询模块 6 anni fa
  luyanan 8b3e9002c0 广告统一整理,右侧广告滚动效果 6 anni fa
  li 5ffb74897f 留言收尾 6 anni fa
  jack 811bd61679 11 7 anni fa
  jack 602d24c451 1 7 anni fa
  jack a073496dd5 1 7 anni fa
  jack b4001a4e50 11 7 anni fa
  luyanan 7b26529b20 提取广告模块,便于修改 7 anni fa
  luyanan 0bac893095 悬浮窗口登录 7 anni fa
  luyanan fe778e0393 修改咨询按钮为联系 7 anni fa
  luyanan be6b713cf3 修改1.9.1 bug 7 anni fa
  jack ccdacd7986 专利论文 7 anni fa
  jack c6266af66e 专利及论文 7 anni fa
  jack 763ebea486 22 7 anni fa
  jack 6e68361182 1 7 anni fa
  jack 7c968ede68 1 7 anni fa
  jack 8ad3e3d1e5 1 7 anni fa
  luyanan 89fbb862b2 修改相关文字提示 7 anni fa
  luyanan 04d3baee55 专利论文添加作者的相关操作邀请 7 anni fa
  luyanan 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 anni fa
  luyanan 58525d92a3 pc版网页二维码分享论文专利企业 7 anni fa
  luyanan d1f20b99ca 论文浏览修改导入 7 anni fa
  luyanan 44a7c6ff85 论文列表、导入论文、论文修改 7 anni fa
  luyanan 83f862fe81 论文浏览 7 anni fa
  luyanan 74569ec2ec 论文和专利相关 7 anni fa
portal-front - Gogs: Go Git Service

portal html css js resource

emaiFindPwdOk.js 2.2KB

    $(function() { loginStatus(); //判断个人是否登录 $("#gophone").on("click",function(){ location.href = "pwdFindNew.html?slef=1"; }) }) var passwordPass = false; var passwordPass2 = false; /*校验密码找回按钮显示状态*/ function checkLoginButtn(_this) { var newPassword = $(_this).parents(".cmpCoverUl").find("#newPassword").val(); var newPasswordok = $(_this).parents(".cmpCoverUl").find("#newPasswordok").val(); if(newPassword == "" || newPasswordok == "") { $(_this).parents(".cmpCoverUl").find("#paswSubmit").attr("disabled", true); } else { $(_this).parents(".cmpCoverUl").find("#paswSubmit").attr("disabled", false); } } /*获取焦点*/ function getFocus(_this) { $(_this).next().find("span").text(""); $(_this).removeClass("frmmsg-warning"); } //校验登录密码 function passwordVal(_this) { var passwd = $(_this).val(); var passwd2 = $("#newPassword").val(); if(passwd.length == "") { $(_this).next().find("span").text("请设置您的登录密码"); $(_this).addClass("frmmsg-warning"); } else if(passwd.length < 6) { $(_this).next().find("span").text("密码由6-24个字符组成,区分大小写"); $(_this).addClass("frmmsg-warning"); } else if(passwd != passwd2) { $(_this).next().find("span").text("两次输入不一致,请重新输入"); $(_this).addClass("frmmsg-warning"); } else { $(_this).next().find("span").text(""); $(_this).removeClass("frmmsg-warning"); passwordPass = true; } } function resetPassword(_this) { console.log(passwordPass) if(passwordPass ==false) { return; } var mailCode = GetQueryString('sc'); var oldPassword = $("#newPasswordok").val(); if(passwordPass) { $.ajax("/ajax/resetPasswordWith", { type: "post", success: function(data) { console.log(data); if(data.success) { if(data.data == true) { location.href = "pwdResult.html?num=1"; } else { $(_this).next().find("span").text("重置密码失败"); } } else { location.href = "pwdResult.html?num=0"; } }, error: function() { $.MsgBox.Alert('消息', '服务器链接失败'); }, data: { "state": mailCode, "pw": oldPassword }, dataType: 'json' }); } }