(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["s-views-Merge-mail","s-views-Merge-components-tip"],{"019e":function(e,t,n){"use strict";n("4bb7")},1985:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bt-mail-step1"},[n("p",{staticClass:"tips__leftborder"},[e._v("亲爱的白帽,由于补天账号系统升级,后续将统一使用手机号进行登录,为了避免您的数据丢失,现将您当前的账号进行合并,后续您可以直接通过手机号进行登录。")]),n("p",{staticClass:"tips__leftborder"},[e._v("由于平台未在系统中匹配到您的手机号,现需要现验证您的邮箱,后续再进行手机号绑定和合并操作。点击获取验证码,平台将发送验证码到您的绑定邮箱"+e._s(e.mail)+",完成邮箱验证后将进行手机号绑定操作。")]),n("el-form",{ref:"fmCode",staticStyle:{width:"360px",margin:"15px auto"},attrs:{"label-width":"110px",model:e.fm,rules:e.rules},on:{validate:e.validate}},[n("el-form-item",{attrs:{label:"请输入验证码:",prop:"code"}},[n("el-input",{staticStyle:{width:"100px","margin-right":"10px"},attrs:{maxlength:"6",placeholder:""},model:{value:e.fm.code,callback:function(t){e.$set(e.fm,"code",t)},expression:"fm.code"}}),n("bt-btn-count-down",{attrs:{btn:e.btnCode},on:{callbackForBtnCountDown:e.callbackForBtnCountDown}})],1)],1),n("div",{staticStyle:{"text-align":"center",padding:"40px 0"}},[n("el-button",{attrs:{disabled:e.nextDisabled,type:"primary"},on:{click:e.next}},[e._v("下一步")])],1)],1)},a=[],i=n("1da1"),c=(n("96cf"),n("3465")),s=n("d602"),o={name:"mailStep1",components:{BtBtnCountDown:c["default"]},data:function(){return{mail:"",nextDisabled:!0,fm:{code:""},rules:{code:[{required:!0,message:"验证码错误,请输入正确的验证码",trigger:"blur"},{required:!0,message:"验证码错误,请输入正确的验证码",trigger:"change"},{min:6,message:"验证码错误,请输入正确的验证码",trigger:"blur"},{min:6,message:"验证码错误,请输入正确的验证码",trigger:"change"}]},btnCode:{gtInitRequest:null,width:"140px",count:120,gt:!0,text1:"点击获取验证码",text2:"秒后可重新发送"}}},props:{},computed:{},created:function(){},mounted:function(){this.gtInit(),this.getMail()},methods:{callbackForBtnCountDown:function(e,t){return Object(i["a"])(regeneratorRuntime.mark((function n(){var r,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,s["getMailCode"].r(e);case 2:r=n.sent,a=r.status,1*a===1&&t&&t();case 5:case"end":return n.stop()}}),n)})))()},validate:function(e,t){console.log(12345),this.nextDisabled=!t},next:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s["verifyMail"].r(e.fm);case 3:n=t.sent,r=n.status,1*r===1&&e.$emit("changeStep",{i:1}),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),console.log("【merge-mail-step1】"+t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},gtInit:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{e.btnCode.gtInitRequest=s["gtInit"]}catch(n){console.log("【merge-mail-step1】"+n)}case 1:case"end":return t.stop()}}),t)})))()},getMail:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s["getUser"].r({t:4});case 3:n=t.sent,r=n.data,a=n.status,1*a===1&&(e.mail=r),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),console.log("【merge-mail-step1】"+t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()}}},u=o,l=(n("019e"),n("2877")),d=Object(l["a"])(u,r,a,!1,null,"53c1e420",null);t["default"]=d.exports},"2f93":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bt-merge-tip"},[e._v("过程中有任何问题请加QQ群630215691咨询~")])},a=[],i={name:"MergeTip",components:{},data:function(){return{}},created:function(){},mounted:function(){},methods:{}},c=i,s=(n("48c2"),n("2877")),o=Object(s["a"])(c,r,a,!1,null,"64bd937e",null);t["default"]=o.exports},"48c2":function(e,t,n){"use strict";n("e395")},"4bb7":function(e,t,n){},caa2:function(e,t,n){},e395:function(e,t,n){},f81e:function(e,t,n){"use strict";n("caa2")},fa70:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bt-mail"},[n("div",{staticClass:"bt-mail-in "},[n("keep-alive",[n(e.curComp[e.active],{tag:"component",on:{changeStep:e.changeStep}})],1),n("merge-tip")],1)])},a=[],i=n("1985"),c=n("0971"),s=n("2f93"),o={name:"mailIndex",components:{Step1:i["default"],Step2:c["default"],MergeTip:s["default"]},data:function(){return{active:0,curComp:[i["default"],c["default"]],result:{}}},created:function(){},mounted:function(){},methods:{changeStep:function(e){this.active=e.i,this.result=e.result}}},u=o,l=(n("f81e"),n("2877")),d=Object(l["a"])(u,r,a,!1,null,"20dcd2f1",null);t["default"]=d.exports}}]);