System.register(["./index-legacy-9fc2ee5c.js","./vendor-legacy-aeda4e3d.js","./success-legacy-185197e2.js"],function(e,t){"use strict";var a,n,r,o,l,d,c,i,s,u,m,v,f,p,g,_,b,x,h,y,k,C,N;return{setters:[e=>{a=e._,n=e.q,r=e.e,o=e.w,l=e.au,d=e.ag,c=e.f},e=>{i=e.an,s=e.$,u=e.l,m=e.o,v=e.a,f=e.f,p=e.u,g=e.g,_=e.t,b=e.e,x=e.j,h=e.C,y=e.w,k=e.F,C=e.y},e=>{N=e.S}],execute:function(){var t=document.createElement("style");t.textContent=".content[data-v-cd55e066]{padding:.8rem .4rem 0;color:var(--ex-default-font-color)}.content .tip[data-v-cd55e066]{font-size:.32rem;color:var(--ex-tip-font-color)}.content .tip_info[data-v-cd55e066]{font-size:.32rem;text-align:left}.content .advanced_txt[data-v-cd55e066]{margin-bottom:.533333rem;text-align:left}.content .form[data-v-cd55e066]{padding-top:.133333rem}.content .form .formInput[data-v-cd55e066]{padding:0 .266667rem;display:flex;justify-content:flex-start;background:var(--ex-input-background-color);border-radius:.08rem;border:.026667rem solid var(--ex-border-color1);align-items:center;margin:.533333rem 0}.content .form .formInput .label[data-v-cd55e066]{width:1.866667rem;font-size:.373333rem;color:var(--ex-input-label-color);text-align:left}.content .form .formInput input[data-v-cd55e066]{width:100%;height:1.226667rem;font-size:.373333rem;background-color:transparent}.content .form .formInput input[data-v-cd55e066]::-moz-placeholder{color:var(--ex-input-font-color);font-size:.373333rem}.content .form .formInput input[data-v-cd55e066]::placeholder{color:var(--ex-input-font-color);font-size:.373333rem}.content .btnBox[data-v-cd55e066]{width:100%;margin-top:1.333333rem}.fromContent[data-v-cd55e066]{color:var(--ex-default-font-color);padding:.8rem .4rem}.fromContent div[data-v-cd55e066]{margin-bottom:.533333rem;padding:.426667rem .346667rem;background-color:var(--ex-div-bgColor20);border-radius:.08rem;color:var(--ex-default-font-color)}.success[data-v-cd55e066]{color:var(--ex-default-font-color);margin-top:2.666667rem}\n",document.head.appendChild(t);const I={key:0,class:"content"},U={class:"tip advanced_txt"},z={key:0,class:"tip_info"},w={class:"form"},V={class:"formInput"},j={class:"label"},B=["placeholder"],P={class:"formInput"},R={class:"label"},S=["placeholder"],$={key:1,class:"success"},A={key:2,class:"success"},E={key:3},q={class:"fromContent"};e("default",a({__name:"certification-primary",setup(e){const{_toast:t}=n(),a=r();a.getUserInfo();const{userInfo:F}=i(a),O=s({userName:"",number:""}),T={iconRight:[{iconName:"kefu",clickTo:"event_serviceChange"}]},D=u(F.value.detail?.auditStatusPrimary),G=()=>{if(""==O.userName)return void t("advanced_please_name");if(""==O.number)return void t("advanced_please_cardName");let e=`realName=${O.userName}&idCard=${O.number}&flag=1`;l(e).then(e=>{"200"==e.code?(t("advanced_please_wait"),D.value="3",a.getUserInfo()):(C(e.msg),D.value="2")})},H=()=>{D.value="0"};return(e,t)=>{const a=d;return m(),v(k,null,[f(o,{currentName:p(c)("sidebar_primary"),cuttentRight:T},null,8,["currentName"]),"0"==p(D)||null==p(D)?(m(),v("div",I,[g("div",U,_(p(c)("advanced_txt",["aams"])),1),["coinsexpto"].includes(e._getConfig("_APP_ENV"))?(m(),v("div",z,_(p(c)("basic_certification_info")),1)):b("",!0),g("div",w,[g("div",V,[g("div",j,_(p(c)("advanced_name"))+"：",1),x(g("input",{placeholder:p(c)("login_please"),"onUpdate:modelValue":t[0]||(t[0]=e=>O.userName=e),class:"form-input"},null,8,B),[[h,O.userName]])]),g("div",P,[g("div",R,_(p(c)("advanced_license_number"))+"：",1),x(g("input",{placeholder:p(c)("login_please"),"onUpdate:modelValue":t[1]||(t[1]=e=>O.number=e),class:"form-input"},null,8,S),[[h,O.number]])])]),g("div",{class:"btnBox",onClick:G},[f(a,{btnValue:p(c)("advanced_submit")},null,8,["btnValue"])])])):b("",!0),"3"==p(D)?(m(),v("div",$,[f(N,{text:p(c)("under_review"),imgUrl:"defi/zhong.png",color:"#333"},null,8,["text","imgUrl"])])):b("",!0),"2"==p(D)?(m(),v("div",A,[f(N,{text:p(c)("Audit_failure"),imgUrl:"defi/failed.png",color:"#333"},{btn:y(()=>[g("div",{class:"btnBox",onClick:H},[f(a,{btnValue:p(c)("Resubmit")},null,8,["btnValue"])])]),_:1},8,["text","imgUrl"])])):b("",!0),"1"==p(D)?(m(),v("div",E,[g("div",q,[g("div",null,_(p(c)("advanced_name"))+"："+_(p(F).detail?.realName),1),g("div",null,_(p(c)("advanced_license_number"))+"："+_(p(F).detail?.idCard),1)]),f(N,{text:p(c)("advanced_success"),imgUrl:"defi/success.png",color:"#333"},null,8,["text","imgUrl"])])):b("",!0)],64)}}},[["__scopeId","data-v-cd55e066"]]))}}});
