ecorr"> Codice Problemi 0 Pull Requests 0 Commit 236 Rilasci 10 Wiki

40 Commits (563460afc62c783ed435abd05b6efec006c208fa)

Autore SHA1 Messaggio Data
  花裤衩 129ea7e654 [release] 4.4.0 4 anni fa
  花裤衩 83f3a9cc57 bump: update to vue-cli@4 ((#591) 4 anni fa
  花裤衩 88303a2959 chore: update element-ui to 2.13.2 4 anni fa
  花裤衩 5c87772025 refactor: change mock files to commonjs 4 anni fa
  花裤衩 8f2c04e60c [release] 4.3.0 4 anni fa
  花裤衩 e1c24e7e85 chore: chore: change node-sass to dart-sass 4 anni fa
  潘嘉晨 4502d3ebc7 perf: remove script-loader 4 anni fa
  花裤衩 227ca9b649 bump: update element-ui version 4 anni fa
  Pan 00bfe07dc7 bump: update axios for security vulnerability 5 anni fa
  Pan 44c0d705c5 bump: update @vue/cli-plugin-eslint version 5 anni fa
  Pan 3d9ec1b729 [release] 4.2.1 5 anni fa
  lisgroup ca46b22204 chore: add autoprefixer to devDependencies 5 anni fa
  Pan 0353f1a4be perf: update browserslist 5 anni fa
  花裤衩 a5d4bbda75 [release]4.1.0 ((#211) 5 anni fa
  Pan a0b46fedfd [release] 3.9.0 5 anni fa
  花裤衩 5d82985a76 perf[chore]: add mock.js to instead of easy-mock ((#281) 5 anni fa
  Pan c8297c946c chore: update webpack-dev-server 5 anni fa
  Pan e320afc410 fix[chore]: add missing devDependencies 5 anni fa
  Pan 8c0668d0d3 feature: add pathToRegexp to compile path 6 anni fa
  花裤衩 8df732281d refactor svg ((#181) 6 anni fa
  Pan 86c5e7df7d Fixed html-webpack-plugin version 6 anni fa
  Pan cc636a4ccd refine npm script 6 anni fa
  Pan 4889c174af [release] 3.8.0 6 anni fa
  花裤衩 5d769533ac add: eslint-plugin-vue ((#148) 6 anni fa
  花裤衩 222f1c48f6 update to webpack4.0 ((#136) 6 anni fa
  Pan a48d38d861 refine 6 anni fa
  Pan 57f011d280 add postcss-url 6 anni fa
  Pan 93f2896a21 [release] 3.6.0 6 anni fa
  Pan 74bb623d68 update element-ui 6 anni fa
  Pan 15edbf08be rm babel-plugin-dynamic-import-node 6 anni fa
  Pan cc069d18a4 refactor router 7 anni fa
  Pan 2161d22630 refactor 7 anni fa
  Pan 8df9d9a327 add build:report script 7 anni fa
  Pan cade4f9449 refactor build 7 anni fa
  Pan 5639a2a2cb add[chore]:add travis 7 anni fa
  Pan 11abac3211 bump:update vue version 7 anni fa
  Pan 52bfe11bb7 bump:update package version 7 anni fa
  Pan b44c7384dc refactor 7 anni fa
  Pan 7cc541a15a refine 7 anni fa
  Pan c528bd8ad0 init 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' }); } }