1 |
- import{_ as F,o as b,g as k,d as e,F as R,n as M,x as S,t as T,l as N,a4 as D,a,r as $,b as V,e as o,w as i,u as P,J as g,O as j,D as A,G as E}from"./index.4d409b70.js";import{U as G}from"./UserNav.12f8a63e.js";import{i as H}from"./CountDate.vue_vue_type_style_index_0_scoped_true_lang.100739d5.js";/* empty css */import{F as J}from"./Footer.cd0a6bf6.js";/* empty css */import{u as O}from"./useI18n.d1b2484d.js";import{a as Y}from"./index.2c84bcdc.js";/* empty css */const K={name:"",props:{codeLength:{default:6,type:Number}},data(){return{codeList:[],code:"",seat:0}},mounted(){this.codeList=new Array(this.codeLength).fill("")},watch:{code(){this.code.length<=0?this.seat=0:this.seat+=1,this.code.length>this.codeLength&&(this.code=this.code.substring(0,this.codeLength)),this.$emit("returnresult",this.code)}},methods:{getCode(){return this.code},onClean(){this.code=""},onClick(p){this.seat=p}}},Q={class:"code-input-main"},W=["onClick"],X=["maxlength"];function Z(p,r,l,n,d,_){return b(),k("div",null,[e("div",Q,[(b(!0),k(R,null,M(d.codeList,(c,u)=>(b(),k("div",{class:S(["code-input-main-item",{on:d.seat==u}]),key:u,onClick:x=>_.onClick(u)},T(d.code[u]||""),11,W))),128)),N(e("input",{class:"code-input-input",ref:"input","onUpdate:modelValue":r[0]||(r[0]=c=>d.code=c),maxlength:l.codeLength,type:"tel"},null,8,X),[[D,d.code]])])])}var ee=F(K,[["render",Z],["__scopeId","data-v-0654b5d0"]]);const m=p=>(A("data-v-7a06de0d"),p=p(),E(),p),se={class:"login-wrapper"},te=m(()=>e("div",{class:"phone-text"},"\u5DF2\u53D1\u9001\u9A8C\u8BC1\u7801\u81F3\u60A8\u7684\u624B\u673A\u53F7\uFF1A15552666666",-1)),oe={class:"input-view",style:{"margin-right":"10px"}},le=m(()=>e("div",{class:"name"},"\u65B0\u5BC6\u7801",-1)),de={class:"input-view",style:{"margin-right":"45px"}},ie=m(()=>e("div",{class:"name"},"\u786E\u8BA4\u65B0\u5BC6\u7801",-1)),ne={class:"buttons"},ae={class:"input-view"},re=m(()=>e("div",{class:"name"},"\u5BC6\u7801",-1)),ue={style:{"margin-left":"8px"}},me={class:"input-view",style:{"margin-right":"10px"}},pe=m(()=>e("div",{class:"name"},"\u65B0\u5BC6\u7801",-1)),ve={class:"input-view",style:{"margin-right":"45px"}},ce=m(()=>e("div",{class:"name"},"\u786E\u8BA4\u65B0\u5BC6\u7801",-1)),fe={class:"buttons"},ge={class:"register"},_e={class:"register-left"},we={class:"user-infos"},he=j('<div class="user-views" data-v-7a06de0d><div class="user-icons" data-v-7a06de0d><img src="http://screen-test.zhousi.hdlkeji.com/aksdbn/img/pwd-icon.png" data-v-7a06de0d></div><div class="user-text" data-v-7a06de0d>\u5BC6\u7801</div><div class="user-right" data-v-7a06de0d>\u4FEE\u6539\u5BC6\u7801</div></div>',1),Ve={class:"user-views"},be=m(()=>e("div",{class:"phone-icon"},[e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/phone-icon.png"})],-1)),ke=m(()=>e("div",{class:"user-text"},"\u7ED1\u5B9A\u624B\u673A\u53F7",-1)),Ce={__name:"index",setup(p){const{t:r}=O();let l=a(!1),n=a(!1),d=a(!1);const _=a(""),c=a(""),u=a(""),x=a(""),y=a(""),U=a(""),v=$({originalPwd:"",pwd:"",confrimPwd:"",userPwd:"",userConfrimPwd:""}),B=()=>{_.value="",c.value="",u.value="",l.value=!1,d.value=!0},I=()=>{d.value=!1,n.value=!0},z=f=>{x.value=f},q={originalPwd:[{required:!0,message:r("home.login.form.passwordRequired"),trigger:"blur",disabled:!1}],pwd:[{required:!0,message:r("home.login.form.passwordRequired"),trigger:"blur",disabled:!1}],confrimPwd:[{required:!0,message:r("home.login.form.passwordRequired"),trigger:"blur",disabled:!1}],userPwd:[{required:!0,message:r("home.login.form.passwordRequired"),trigger:"blur",disabled:!1}],userConfrimPwd:[{required:!0,message:r("home.login.form.passwordRequired"),trigger:"blur",disabled:!1}]};return Y(),(f,s)=>{const C=V("el-dialog"),w=V("el-input"),h=V("el-form-item"),L=V("el-form");return b(),k(R,null,[e("div",se,[e("div",null,[o(H)]),e("div",null,[o(C,{class:"pwd-width",modelValue:P(d),"onUpdate:modelValue":s[0]||(s[0]=t=>g(d)?d.value=t:d=t),"align-center":"",title:"\u4FEE\u6539\u5BC6\u7801"},{default:i(()=>[te,o(ee,{onReturnresult:z}),e("div",{class:"input-text",onClick:I,style:{width:"455px"}},"\u5BC6\u7801\u9A8C\u8BC1")]),_:1},8,["modelValue"])]),e("div",null,[o(C,{class:"pwd-width",modelValue:P(n),"onUpdate:modelValue":s[7]||(s[7]=t=>g(n)?n.value=t:n=t),"align-center":"",title:"\u4FEE\u6539\u5BC6\u7801"},{default:i(()=>[o(L,{ref:"loginFormRef",model:v,rules:q},{default:i(()=>[e("div",oe,[le,e("div",null,[o(h,{prop:"userPwd"},{default:i(()=>[o(w,{modelValue:y.value,"onUpdate:modelValue":[s[1]||(s[1]=t=>y.value=t),s[2]||(s[2]=t=>v.userPwd=t)],modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})])]),e("div",de,[ie,e("div",null,[o(h,{prop:"userConfrimPwd"},{default:i(()=>[o(w,{modelValue:U.value,"onUpdate:modelValue":[s[3]||(s[3]=t=>U.value=t),s[4]||(s[4]=t=>v.userConfrimPwd=t)],modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})])])]),_:1},8,["model"]),e("div",ne,[e("div",{class:"button",onClick:s[5]||(s[5]=t=>g(n)?n.value=!1:n=!1)},"\u53D6\u6D88"),e("div",{class:"button button-colors",onClick:s[6]||(s[6]=(...t)=>f.feedBackTap&&f.feedBackTap(...t))},"\u786E\u8BA4\u4FEE\u6539")])]),_:1},8,["modelValue"])]),e("div",null,[o(C,{class:"pwd-width",modelValue:P(l),"onUpdate:modelValue":s[16]||(s[16]=t=>g(l)?l.value=t:l=t),"align-center":"",title:"\u4FEE\u6539\u5BC6\u7801"},{default:i(()=>[o(L,{ref:"loginFormRef",model:v,rules:q},{default:i(()=>[e("div",ae,[re,e("div",ue,[o(h,{prop:"originalPwd"},{default:i(()=>[o(w,{modelValue:_.value,"onUpdate:modelValue":[s[8]||(s[8]=t=>_.value=t),s[9]||(s[9]=t=>v.originalPwd=t)],modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})])]),e("div",{class:"input-text",onClick:B},"\u9A8C\u8BC1\u7801\u9A8C\u8BC1"),e("div",me,[pe,e("div",null,[o(h,{prop:"pwd"},{default:i(()=>[o(w,{modelValue:c.value,"onUpdate:modelValue":[s[10]||(s[10]=t=>c.value=t),s[11]||(s[11]=t=>v.pwd=t)],modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})])]),e("div",ve,[ce,e("div",null,[o(h,{prop:"confrimPwd"},{default:i(()=>[o(w,{modelValue:u.value,"onUpdate:modelValue":[s[12]||(s[12]=t=>u.value=t),s[13]||(s[13]=t=>v.confrimPwd=t)],modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})])])]),_:1},8,["model"]),e("div",fe,[e("div",{class:"button",onClick:s[14]||(s[14]=t=>g(l)?l.value=!1:l=!1)},"\u53D6\u6D88"),e("div",{class:"button button-colors",onClick:s[15]||(s[15]=(...t)=>f.feedBackTap&&f.feedBackTap(...t))},"\u63D0\u4EA4")])]),_:1},8,["modelValue"])]),e("div",ge,[e("div",_e,[o(G,{navIndexs:1})]),e("div",we,[he,e("div",Ve,[be,ke,e("div",{class:"user-right",onClick:s[17]||(s[17]=t=>g(l)?l.value=!0:l=!0)},"\u66F4\u6362\u7ED1\u5B9A")])])])]),o(J)],64)}}};var Ie=F(Ce,[["__scopeId","data-v-7a06de0d"]]);export{Ie as default};
|