user-forgetpwd.html 9.0 KB

1
  1. <!doctype html><html><head><meta charset="utf-8"><title>忘记密码</title><meta name="keywords" content="忘记密码"><meta name="description" content="忘记密码"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,shrink-to-fit=no,user-scalable=no" viewport="cover"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta content="telephone=no" name="format-detection"><meta content="email=no" name="format-detection"><meta name="apple-mobile-web-app-title" content="忘记密码"><meta http-equiv="Cache-Control" content="no-siteapp"><link rel="icon" href="favicon.ico"><script>(function(){"use strict";var n={},r={};function t(e){var o=r[e];if(void 0!==o)return o.exports;var u=r[e]={exports:{}};return n[e].call(u.exports,u,u.exports,t),u.exports}t.m=n,function(){var n=[];t.O=function(r,e,o,u){if(!e){var i=1/0;for(l=0;l<n.length;l++){e=n[l][0],o=n[l][1],u=n[l][2];for(var f=!0,c=0;c<e.length;c++)(!1&u||i>=u)&&Object.keys(t.O).every((function(n){return t.O[n](e[c])}))?e.splice(c--,1):(f=!1,u<i&&(i=u));if(f){n.splice(l--,1);var a=o();void 0!==a&&(r=a)}}return r}u=u||0;for(var l=n.length;l>0&&n[l-1][2]>u;l--)n[l]=n[l-1];n[l]=[e,o,u]}}(),function(){t.n=function(n){var r=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(r,{a:r}),r}}(),function(){t.d=function(n,r){for(var e in r)t.o(r,e)&&!t.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:r[e]})}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}()}(),function(){t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)}}(),function(){t.p=""}(),function(){var n={86:0,582:0};t.O.j=function(r){return 0===n[r]};var r=function(r,e){var o,u,i=e[0],f=e[1],c=e[2],a=0;if(i.some((function(r){return 0!==n[r]}))){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var l=c(t)}for(r&&r(e);a<i.length;a++)u=i[a],t.o(n,u)&&n[u]&&n[u][0](),n[u]=0;return t.O(l)},e=self["webpackChunkskb"]=self["webpackChunkskb"]||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))}()})();</script><script defer="defer" src="./static/js/public.chunk.js"></script><script defer="defer" src="./static/js/npm.vant.chunk.js"></script><script defer="defer" src="./static/js/npm.vue.chunk.js"></script><script defer="defer" src="./static/js/npm.crypto-js.chunk.js"></script><script defer="defer" src="./static/js/npm.axios.chunk.js"></script><script defer="defer" src="./static/js/npm.core-js.chunk.js"></script><script defer="defer" src="./static/js/npm.md5.chunk.js"></script><script defer="defer" src="./static/js/npm.crypt.chunk.js"></script><script defer="defer" src="./static/js/npm.charenc.chunk.js"></script><script defer="defer" src="./static/js/npm.is-buffer.chunk.js"></script><script defer="defer" src="./static/js/npm.babel.chunk.js"></script><script defer="defer" src="./static/js/npm.vue-loader.chunk.js"></script><script defer="defer" src="./static/js/npm.form-data.chunk.js"></script><script>(self["webpackChunkskb"]=self["webpackChunkskb"]||[]).push([[497],{3651:function(e,s,o){"use strict";var i=o(9242),t=o(3396),l=o(7139);const c={class:"h100p nopb"},n={id:"app"},a={class:"forgetpassword"},A=["src"],r=(0,t._)("div",{class:"forgettitle c333 tc"},null,-1),d={class:"login-box abs tc"},u=(0,t._)("div",{class:"f17 c333"},"为了您的账号安全,请验证身份",-1),h=["src"],w={class:"pt16"};function g(e,s,i,g,p,m){const k=(0,t.up)("van-nav-bar"),v=(0,t.up)("van-field"),b=(0,t.up)("van-button");return(0,t.wg)(),(0,t.iD)("div",c,[(0,t._)("div",n,[(0,t._)("div",a,[p.toptitleisshow?((0,t.wg)(),(0,t.j4)(k,{key:0,title:"忘记/修改密码",onClickLeft:m.goback,"left-arrow":""},{left:(0,t.w5)((()=>[(0,t._)("img",{src:o(5786),alt:""},null,8,A)])),_:1},8,["onClickLeft"])):(0,t.kq)("",!0),r,(0,t._)("div",d,[u,(0,t.Wm)(v,{class:"mb12",modelValue:p.reg.Mobile,"onUpdate:modelValue":s[0]||(s[0]=e=>p.reg.Mobile=e),onInput:m.checkValue,type:"number",placeholder:"请输入手机号"},null,8,["modelValue","onInput"]),(0,t.Wm)(v,{class:"user-phone mb12",center:"",clearable:"",placeholder:"短信验证码",modelValue:p.reg.MobileCode,"onUpdate:modelValue":s[1]||(s[1]=e=>p.reg.MobileCode=e),onInput:m.checkValue},{button:(0,t.w5)((()=>[p.codeisclick?((0,t.wg)(),(0,t.j4)(b,{key:0,class:"fl",plain:"",color:"#FD824D",onClick:m.getsmscode},{default:(0,t.w5)((()=>[(0,t.Uk)("获取验证码")])),_:1},8,["onClick"])):((0,t.wg)(),(0,t.j4)(b,{key:1,class:"fl",plain:"",color:"#FD824D",disabled:""},{default:(0,t.w5)((()=>[(0,t.Uk)((0,l.zw)(p.countdown)+"s",1)])),_:1}))])),_:1},8,["modelValue","onInput"]),(0,t.Wm)(v,{class:"mb12",modelValue:p.reg.LoginPwd,"onUpdate:modelValue":s[3]||(s[3]=e=>p.reg.LoginPwd=e),onInput:m.checkValue,type:p.isShowPwd?"text":"password",placeholder:"填写新密码"},{button:(0,t.w5)((()=>[(0,t.Wm)(b,{class:"fr",onClick:s[2]||(s[2]=e=>m.showPwd())},{default:(0,t.w5)((()=>[(0,t._)("img",{class:"fr",src:p.isShowPwd?"./static/images/show-icon@3x.png":"./static/images/noshow-icon@3x.png",alt:""},null,8,h)])),_:1})])),_:1},8,["modelValue","onInput","type"]),(0,t.Wm)(v,{modelValue:p.surepassword,"onUpdate:modelValue":s[4]||(s[4]=e=>p.surepassword=e),onInput:m.checkValue,type:p.isShowPwd?"text":"password",placeholder:"确认新密码"},null,8,["modelValue","onInput","type"]),(0,t._)("div",w,[(0,t.Wm)(b,{type:"primary",block:"",round:"",disabled:!p.canRegist,color:"#FD824D",onClick:m.changepwd},{default:(0,t.w5)((()=>[(0,t.Uk)("确认")])),_:1},8,["disabled","onClick"])])])])])])}var p=o(6539),m=o(6265),k=o(3753),v={data(){return{toptitleisshow:!1,active:0,surepassword:"",isShowPwd:!1,reg:{Mobile:"",MobileCode:"",LoginPwd:""},agreement:!1,canRegist:!1,codeisclick:!0,countdown:60}},created(){this.toptitleisshow=p.Z.isTitle},methods:{showPwd(){this.isShowPwd=!this.isShowPwd},checkValue(){this.canRegist=""!==this.reg.Mobile&&""!==this.reg.MobileCode&&""!==this.reg.LoginPwd&&""!==this.surepassword},async getsmscode(){if(m.Z.verification(this.reg.Mobile))return;this.codeisclick=!1,setTimeout((()=>{this.codeisclick=!0}),6e4);const e=setInterval((()=>{this.countdown--,0===this.countdown&&(this.countdown=60,clearInterval(e))}),1e3),s=await(0,k.j0)("/api/v1/mobilecodecheck/sendsms",{Mobile:this.reg.Mobile});"1"!==s.status&&m.Z.tips(s.info),m.Z.tips("验证码发送成功,请注意查收!")},async changepwd(){if(m.Z.verificationpassword(this.reg.LoginPwd))return;if(m.Z.verificationmobilecode(this.reg.MobileCode))return;if(m.Z.verification(this.reg.Mobile))return;if(this.reg.LoginPwd!==this.surepassword)return m.Z.tips("两次密码不一致,请重新输入!");const e=await(0,k.j0)("/api/v1/merchantinfo/forgetpwd",this.reg);if("1"!==e.status)return m.Z.tips(e.info);m.Z.tips("修改密码成功,请返回登录"),setTimeout((()=>{this.goback()}),2e3)},goback(){p.Z.GoBack({Level:1})}}},b=o(89);const f=(0,b.Z)(v,[["render",g]]);var I=f,E=o(1086);o(6028),o(6931);const P=(0,i.ri)(I);P.use(E.ZP),P.mount("#app")},5786:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAD4UlEQVRoBe2ZSU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Jo6Jz7bIOGUgEj4csIvJ62rc+Irv4+on2lxTkDA8LSXE4rErtxjRwS7ja33GySGtzSBHAnJ6TWgFQk/iYPch4PZiV30Z3j+wThOBPoh4f+bfYYPHPtNvhFYe6HZrAR45XzK6dwNiR+02Y8c2KsLCwvZF4vNzuP1K0oOeIt5LTnxil1ogut9VL0c3eJ11Nnzkreu9VafWROJRJn1iXcm3PHANvLAH0IgvQ9EyzDlAAAAAElFTkSuQmCC"},2480:function(){}},function(e){var s=function(s){return e(e.s=s)};e.O(0,[501,196,445,134,252,580,808,927,854,959,447,116,344,582],(function(){return s(3651)}));e.O()}]);</script><link href="./static/css/npm.vant.chunk.css" rel="stylesheet"><link href="./static/css/SkbChunk.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 忘记密码 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>