PageSourceSearch

https://static.fengqian.cc/b/js/password-login-CVfRxbIF.js

js fengqian.cc collected 2026-10-02 01:21:35 UTC 2,888 bytes, 2 lines download raw bytes

1var b=(p,f,i)=>new Promise((e,a)=>{var g=o=>{try{l(i.next(o))}catch(r){a(r)}},h=o=>{try{l(i.throw(o))}catch(r){a(r)}},l=o=>o.done?e(o.value):Promise.resolve(o.value).then(g,h);l((i=i.apply(p,f)).next())});import{D as N,O as T,P as V,$ as n,v as x}from"./bootstrap-D0v5lBZg.js";import{E as D}from"./el-image-viewer-CKHTNGeJ.js";import{u as L}from"./form-Cu4Y-fLr.js";import{k as $,W as P,c as _,o as E,m,n as c,q,L as d,u as t,v,x as w,K as y,s as S,M as C,p as k,r as A}from"../jse/index-index-CdQMRzGu.js";import{a as I}from"./use-vben-form-MRBxhqAn.js";import"./focus-trap-BwgWRbFr.js";import"./aria-M32HYlgY.js";import"./index-x2zrM1pS.js";import"./index-C90p46W-.js";import"./index-BSu7dRmx.js";import"./index-bV8TuogS.js";import"./date-DbubQ9uI.js";import"./render-content.vue_vue_type_script_lang-DzZFf2F6.js";const M={class:"w-[352px]"},F={class:"flex-center mx-auto mb-10 w-[182px]"},R={key:0,class:"mb-6 text-center"},z={key:0,class:"text-lg font-medium"},H={key:1,class:"mt-1 text-sm text-gray-400"},at=$({name:"CodeLogin",__name:"password-login",props:{loginPath:{default:"/auth/login"},title:{default:""},subTitle:{default:""},submitButtonText:{default:""}},setup(p){const f=N(),i=T(),e=V(),a=A(!1),g=_(()=>[{component:"VbenInput",componentProps:{placeholder:n("authentication.mobile")},fieldName:"phone",label:n("authentication.mobile"),rules:I().min(1,{message:n("authentication.mobileTip")}).refine(s=>/^\d{11}$/.test(s),{message:n("authentication.mobileErrortip")})},{component:"VbenInput",componentProps:{placeholder:n("authentication.password"),type:"password"},fieldName:"password",label:n("authentication.password"),rules:"required"}]);function h(s){return b(this,null,function*(){i.loginPhone(s)})}const[l,o]=L(P({commonConfig:{hideLabel:!0,hideRequiredMark:!0},schema:_(()=>g),showDefaultActions:!1}));function r(){return b(this,null,function*(){const{valid:s}=yield o.validate(),u=yield o.getValues();s&&(a.value=!0,yield h(u),a.value=!1)})}function B(){f.push({name:"CodeLogin"})}return E(()=>{e.loadByCurrentHost()}),(s,u)=>(m(),c("div",M,[q("div",F,[d(t(D),{class:"max-w-full",src:t(e).loginLogoUrl},null,8,["src"])]),t(e).loginDisplayName||t(e).loginSubtitle?(m(),c("div",R,[t(e).loginDisplayName?(m(),c("div",z,v(t(e).loginDisplayName),1)):w("",!0),t(e).loginSubtitle?(m(),c("div",H,v(t(e).loginSubtitle),1)):w("",!0)])):w("",!0),d(t(l)),d(t(x),{class:k([{"cursor-wait":a.value},"w-full"]),loading:a.value,onClick:r},{default:y(()=>[S(s.$slots,"submitButtonText",{},()=>[C(v(p.submitButtonText||t(n)("common.login")),1)])]),_:3},8,["class","loading"]),d(t(x),{class:k([{"cursor-wait":a.value},"mt-4 w-full"]),loading:a.value,onClick:B,variant:"outline"},{default:y(()=>[S(s.$slots,"submitButtonText",{},()=>[u[0]||(u[0]=C(" 验证码登录 ",-1))])]),_:3},8,["class","loading"])]))}});export{at as default};
2//# sourceMappingURL=password-login-CVfRxbIF.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.