"use strict";(self["webpackChunkexchange"]=self["webpackChunkexchange"]||[]).push([[8463],{75364:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"verify"},[s("div",{staticClass:"header"},[s("div",{on:{click:function(t){return e.$router.go(-1)}}},[s("img",{staticClass:"w-14 h-27",attrs:{src:i(25139),alt:""}})])]),s("div",{staticClass:"content"},[s("div",{staticClass:"title textColor"},[e._v(e._s(e.$t("安全验证")))]),3==e.type?s("p",[e._v(e._s(e.$t("verifyGoogleTips")))]):e._e(),s("span",{staticClass:"label textColor"},[e._v(e._s(2==e.type?e.$t("邮箱验证"):1==e.type?e.$t("手机验证"):e.$t("谷歌验证")))]),2==e.type?s("p",[e._v(e._s(e.$t("verifyEmailTips",{account:e.account})))]):e._e(),1==e.type?s("p",[e._v(e._s(e.$t("verifyPhoneTips",{account:e.account})))]):e._e(),s("div",{staticClass:"iptbox inputBackground"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.verifycode,expression:"verifycode"}],staticClass:"inputBackground textColor",attrs:{type:"text",placeholder:e.$t("请输入验证码")},domProps:{value:e.verifycode},on:{input:[function(t){t.target.composing||(e.verifycode=t.target.value)},e.changeInput]}}),3!=e.type?s("span",{on:{click:e.senCode}},[e._v(e._s(e.$t("重新发送验证码"))),e.time?[e._v(" ("+e._s(e.time)+")s")]:e._e()],2):e._e()]),s("button",{staticClass:"btn",class:e.hightLight?"hightLight":"",attrs:{disabled:!e.hightLight},on:{click:function(t){return e.$router.push({name:"resetPassword",query:{type:e.type,account:e.account,verifycode:e.verifycode,username:e.username}})}}},[e._v(e._s(e.$t("下一步")))])])])},a=[],o=i(10861),r=(i(50404),{props:{},components:{},data(){return{verifycode:"",type:"",account:"",username:"",hightLight:!1,timer:"",time:0}},mounted(){let e=this.$route.query.type;this.type=e,this.account=this.$route.query.account,this.username=this.$route.query.username,3!=this.type&&(clearInterval(this.timer),this.senCode())},methods:{changeInput(){6==this.verifycode.length?this.hightLight=!0:this.hightLight=!1},senCode(){if(this.time>0)return!1;o.A.sendVerifyCode({target:this.account}).then((e=>{this.time=30,this.timer=setInterval((()=>{this.time>0?this.time=this.time-1:(this.time=0,clearInterval(this.timer))}),1e3)})).catch((e=>{"ECONNABORTED"===e.code?this.$toast(this.$t("网络超时!")):void 0!==e.msg&&this.$toast(this.$t(e.msg))}))}},beforeDestroy(){clearInterval(this.timer)}}),n=r,g=i(81656),d=(0,g.A)(n,s,a,!1,null,"7ed5ba45",null),c=d.exports},10861:function(e,t,i){var s=i(60783);const a=e=>(0,s.zi)({url:"projectInfoApp/getCurrentProjectInfo",method:"get",isLoading:!0},e),o=e=>(0,s.zi)({url:"/api/localuser!registerNoVerifcode.action",method:"get",isLoading:!0},e),r=e=>(0,s.zi)({url:"/api/user!login.action",method:"get",isLoading:!0},e),n=e=>(0,s.zi)({url:"/api/idcode!execute.action",method:"get",isLoading:!1},e),g=e=>(0,s.zi)({url:"/api/cms!list.action",method:"get",isLoading:!1},e),d=e=>(0,s.zi)({url:"/api/localuser!registerTest.action",method:"get",isLoading:!0},e),c={getCurrentProjectInfo:a,registerUser:o,sendVerifyCode:n,loginUser:r,helpCenter:g,registerTest:d};t.A=c},50404:function(e,t,i){var s=i(60783),a=i(91655);const o=e=>(0,s.zi)({url:"/api/user!updateOldAndNewPsw.action",method:"get",isLoading:!0},e),r=e=>(0,s.zi)({url:"/api/user!updatepsw.action",method:"get",isLoading:!0},e),n=e=>(0,s.zi)({url:"/api/user!resetpsw.action",method:"get",isLoading:!0},e),g=e=>(0,s.zi)({url:"/api/user!setSafewordReg.action",method:"get",isLoading:!0},e),d=e=>(0,s.zi)({url:"/api/user!updateOldAndNewSafeword.action",method:"get",isLoading:!0},e),c=e=>(0,s.zi)({url:"/api/user!setSafeword.action",method:"get",isLoading:!0},e),u=e=>(0,s.zi)({url:"/api/localuser!save_email.action",method:"get",isLoading:!0},e),l=e=>(0,s.zi)({url:"/api/localuser!save_phone.action",method:"get",isLoading:!1},e),h=e=>(0,s.zi)({url:"/api/user!getVerifTarget.action",method:"get",isLoading:!1},e),p=e=>(0,s.zi)({url:"/api/user!getUserNameVerifTarget.action",method:"get",isLoading:!0},e),m=e=>(0,s.zi)({url:"/api/googleauth!get.action",method:"get",isLoading:!1},e),A=e=>(0,s.zi)({url:"/api/googleauth!bind.action",method:"get",isLoading:!0},e),f=e=>(0,s.zi)({url:"/api/user!get_safeword_apply.action",method:"get",isLoading:!0},e),v=e=>(0,s.zi)({url:"/api/user!set_safeword_apply.action",method:"get",isLoading:!0},e),y=e=>(0,s.zi)({url:"/api/localuser!get.action",method:"get",isLoading:!1},e),L=e=>(0,s.zi)({url:"/api/kycHighLevel!apply.action",method:"get",isLoading:!1},e),w=e=>(0,s.zi)({url:"/api/kycHighLevel!get.action",method:"get",isLoading:!1},e),C=e=>(0,s.zi)({url:"/api/banner!list.action",method:"get",isLoading:!1},e),_=e=>(0,s.zi)({url:"/api/cms!get.action",method:"get",isLoading:!1},e),z=e=>(0,s.zi)({url:"/api/news!list_v2.action",method:"get",isLoading:!1},e),N=e=>(0,s.zi)({url:"/api/news!list.action",method:"get",isLoading:!1},e),b=e=>(0,s.zi)({url:"/api/news!get.action",method:"get",isLoading:!1},e),x=e=>(0,s.zi)({url:"/api/news!list_v2_popup.action",method:"get",isLoading:!1},e),T=e=>(0,s.zi)({url:"/api/syspara!getSyspara.action",method:"get",isLoading:!1},e),D=e=>(0,a.A)({url:"/api/tConfiguration/getConfiguration",method:"get",isLoading:!1},e),I={getConfigurationByKey:D,changePassword:o,updatepsw:r,resetpsw:n,setSafewordReg:g,changeFundsPassword:d,getVerifTarget:h,getUserNameVerifTarget:p,setSafeword:c,bindEmail:u,bindPhone:l,getGoogleauth:m,bindGoogleauth:A,getSafewordApply:f,setSafewordApply:v,localuserAction:y,kycHighLevelApply:L,getKycHighLevel:w,getBanner:C,getCms:_,_getNewsList:z,_getNewsList1:N,_getNews:b,_getPopupNews:x,_getIsGoogleAuth:T};t.A=I},25139:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAhCAYAAADZPosTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBrdZNTsJAFAfw92asbj0CR4AbyAnUEwAbDSsl6gKNocYUEhXqxhDQBDiBegK4gRyBrTu3QDrPGTQsYNqZKfxXpY/80mnn4yFsED/s7e/RvKCupxh9+pXyBCFlGmE7Q4INATDzf2syY16OQ4poMJV9HkXfDBwThC9ZDbaM05AVhsIbqqfRlOWQo7w1aINZfxRbTP0wvsN6660gsS8bTAVNGJDox5TXsEQwESMYz7gnsdLPakk75Eare5YG04L11muNCJ7TYGugwoDI1/0RgT5MmMqODSbvD6qXp0WwCNpg15bYArx/6hxxxPdtYCqMEWS1FsDIFVuAAsRIV5Dv4qDR7ITgCt5elUck6E5XJMDzoNntgUOWKyV47PjIsKaHoX9zcVICF9CEgpqHbLdkmodraznxSRHGc0ye3NrNYRM0drcJmu0iAu/Fo9Hx6taVCJpQcN0P06J2Z8qDPFO43Zlif+pZom7nshH1cs69TUwb8hdBFedWpKqGxUReTp6Jrr7l7suhFYlDgfihup6iN1Cr5xeGRwOFSSu2JAAAAABJRU5ErkJggg=="}}]);