HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/index-legacy-dbf8f39f.js
System.register(["./message-legacy-10af7c73.js","./vue-i18n.runtime.esm-bundler-legacy-720876b1.js","./user-3-fill-legacy-21f117f0.js","./vue-router-legacy-a12307c3.js","./dark-legacy-90ba7c1e.js","./index-legacy-93e261a4.js","./illustration-legacy-e158f380.js","./hooks-legacy-d9b76605.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./_plugin-vue_export-helper-legacy-762b7923.js","./index-legacy-c9e20962.js","./mitt-legacy-38051176.js","./epTheme-legacy-86e2e265.js","./preload-helper-legacy-f8638e03.js","./_commonjsHelpers-legacy-5498c249.js","./utils-legacy-c0023c33.js","./index-legacy-82296235.js"],(function(e,a){"use strict";var t,l,n,o,i,s,r,d,c,u,p,g,f,m,v,h,x,w,y,_,b,k,j,C,z,V,E,I,D,L,R,U,q,Q,S,T,M,A,B,F,H,K,O,W,Z,$,G,J,N,P=document.createElement("style");return P.textContent=".wave[data-v-92213fa9]{bottom:0;height:100%;left:0;position:fixed;z-index:-1}.login-container[data-v-92213fa9]{grid-gap:18rem;display:grid;grid-template-columns:repeat(2,1fr);height:100vh;padding:0 2rem;width:100vw}.img[data-v-92213fa9]{align-items:center;display:flex;justify-content:flex-end}.img img[data-v-92213fa9]{width:500px}.login-box[data-v-92213fa9]{align-items:center;display:flex;text-align:center}.login-form[data-v-92213fa9]{width:360px}.avatar[data-v-92213fa9]{height:80px;width:350px}.login-form h2[data-v-92213fa9]{color:#999;font:700 200% Consolas,Monaco,monospace;margin:15px 0;text-transform:uppercase}@media screen and (max-width:1180px){.login-container[data-v-92213fa9]{grid-gap:9rem}.login-form[data-v-92213fa9]{width:290px}.login-form h2[data-v-92213fa9]{font-size:2.4rem;margin:8px 0}.img img[data-v-92213fa9]{width:360px}.avatar[data-v-92213fa9]{height:80px;width:280px}}@media screen and (max-width:968px){.img[data-v-92213fa9],.wave[data-v-92213fa9]{display:none}.login-container[data-v-92213fa9]{grid-template-columns:1fr}.login-box[data-v-92213fa9]{justify-content:center}}[data-v-92213fa9] .el-input-group__append{padding:0}.go_back[data-v-92213fa9]{background:#f7f7f7;bottom:0;color:#505050;cursor:pointer;font-size:14px;line-height:34px;position:absolute;width:100%}.go_back[data-v-92213fa9]:hover{background:#f5f5f5}.code_box_title[data-v-92213fa9]{color:#505050;font-size:20px;font-weight:700;margin:20px 0}.QR_code_box[data-v-92213fa9]{box-shadow:1px 1px 13px rgba(215,215,215,.75);height:380px;padding:20px 0 0;position:relative;width:400px}.weixin_icon_box[data-v-92213fa9]{display:flex;margin-top:20px}.weixin_icon[data-v-92213fa9]{height:20px;width:20px}.WeChat[data-v-92213fa9]{color:#505050;font-size:14px;margin-left:10px}.translation[data-v-92213fa9] .el-dropdown-menu__item{padding:5px 40px}.translation .check-en[data-v-92213fa9],.translation .check-zh[data-v-92213fa9]{left:20px;position:absolute}\n",document.head.appendChild(P),{setters:[e=>{t=e.v,l=e.be},e=>{n=e.u},e=>{o=e.M,i=e.d,s=e.a,r=e.l},e=>{d=e.u},e=>{c=e.h,u=e.b,p=e.u,g=e.a,f=e.e,m=e.f,v=e.d,h=e.g},e=>{x=e.p,w=e.$,y=e.D,_=e.a0},e=>{b=e.b,k=e.i,j=e.a},e=>{C=e.u},e=>{z=e.d,V=e.r,E=e.A,I=e.o,D=e.D,L=e.Q,R=e.e,U=e.f,q=e.g,Q=e.u,S=e.y,T=e.i,M=e.m,A=e.j,B=e.n,F=e.p,H=e.v,K=e.l,O=e.q,W=e.Z,Z=e.x,$=e.t,G=e.b5,J=e.b4},e=>{N=e._},null,null,null,null,null,null,null],execute:function(){const a=e=>(G("data-v-92213fa9"),e=e(),J(),e),P={class:"select-none"},X=["src"],Y={class:"flex-c absolute right-5 top-3"},ee={class:"check-en"},ae={class:"login-container"},te={class:"img"},le={class:"login-box"},ne={class:"login-form"},oe={key:0},ie={class:"outline-none"},se={key:1,class:"QR_code_box"},re=a((()=>q("div",{class:"code_box_title"},"微信扫码登录",-1))),de=a((()=>q("div",null,"二维码",-1))),ce={class:"absolute bottom-5 left-1/2 transform -translate-x-1/2 text-center"},ue=["href"],pe=z({name:"Login"}),ge=z({...pe,setup(e){const a=V(1),z=d(),G=V(!1),J=V(),{initStorage:N}=c();N();const{t:pe}=n(),{dataTheme:ge,dataThemeChange:fe}=u();fe();const{title:me,getDropdownItemStyle:ve,getDropdownItemClass:he,website_filing_info:xe,website_filing_site:we}=p(),{locale:ye,translationCh:_e,translationEn:be}=g(),ke=E({username:"",password:"",code:""}),je=async e=>{G.value=!0,e&&await e.validate(((e,a)=>{if(!e)return G.value=!1,a;y().loginByUsername({username:ke.username,password:ke.password,code:ke.code}).then((e=>{e.success&&_().then((()=>{z.push("/"),l("登录成功",{type:"success"})}))})).catch((e=>(G.value=!1,a)))}))};function Ce({code:e}){"Enter"===e&&je(J.value)}return I((()=>{window.document.addEventListener("keypress",Ce);const e=z.options.history.location.split("?");if(e.length>1){const a=e[1].split("&");let t="";a.forEach(((e,a)=>{const l=e.split("=");"user_id"==l[0]||"password"==l[0]?l[1]:"code"==l[0]&&(t=l[1])})),t&&(ke.code=t,ke.username="1",ke.password="time",je(J.value))}})),D((()=>{window.document.removeEventListener("keypress",Ce)})),(e,l)=>{const n=L("el-switch"),d=L("IconifyIconOffline"),c=L("el-dropdown-item"),u=L("el-dropdown-menu"),p=L("el-dropdown"),g=L("el-input"),y=L("el-form-item"),_=L("el-button"),z=L("el-form");return R(),U("div",P,[q("img",{src:Q(b),class:"wave"},null,8,X),q("div",Y,[S(n,{modelValue:Q(ge),"onUpdate:modelValue":l[0]||(l[0]=e=>T(ge)?ge.value=e:null),"inline-prompt":"","active-icon":Q(f),"inactive-icon":Q(m),onChange:Q(fe)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),S(p,{trigger:"click"},{dropdown:M((()=>[S(u,{class:"translation"},{default:M((()=>[S(c,{style:A(Q(ve)(Q(ye),"zh")),class:B(["dark:!text-white",Q(he)(Q(ye),"zh")]),onClick:Q(_e)},{default:M((()=>[F(S(d,{class:"check-zh",icon:Q(v)},null,8,["icon"]),[[t,"zh"===Q(ye)]]),H(" 简体中文 ")])),_:1},8,["style","class","onClick"]),S(c,{style:A(Q(ve)(Q(ye),"en")),class:B(["dark:!text-white",Q(he)(Q(ye),"en")]),onClick:Q(be)},{default:M((()=>[F(q("span",ee,[S(d,{icon:Q(v)},null,8,["icon"])],512),[[t,"en"===Q(ye)]]),H(" English ")])),_:1},8,["style","class","onClick"])])),_:1})])),default:M((()=>[S(Q(h),{class:"hover:text-primary hover:!bg-[transparent] w-[20px] h-[20px] ml-1.5 cursor-pointer outline-none duration-300"})])),_:1})]),q("div",ae,[q("div",te,[(R(),K(O(W(Q(k)))))]),q("div",le,[q("div",ne,[1==a.value?(R(),U("div",oe,[S(Q(j),{class:"avatar"}),S(Q(o),null,{default:M((()=>[q("h2",ie,Z(Q(me)),1)])),_:1}),S(z,{ref_key:"ruleFormRef",ref:J,model:ke,rules:Q(r),size:"large"},{default:M((()=>[S(Q(o),{delay:100},{default:M((()=>[S(y,{rules:[{required:!0,message:Q(x)(Q(w)("login.usernameReg")),trigger:"blur"}],prop:"username"},{default:M((()=>[S(g,{clearable:"",modelValue:ke.username,"onUpdate:modelValue":l[1]||(l[1]=e=>ke.username=e),placeholder:Q(pe)("login.username"),"prefix-icon":Q(C)(Q(i))},null,8,["modelValue","placeholder","prefix-icon"])])),_:1},8,["rules"])])),_:1}),S(Q(o),{delay:150},{default:M((()=>[S(y,{prop:"password"},{default:M((()=>[S(g,{clearable:"","show-password":"",modelValue:ke.password,"onUpdate:modelValue":l[2]||(l[2]=e=>ke.password=e),placeholder:Q(pe)("login.password"),"prefix-icon":Q(C)(Q(s))},null,8,["modelValue","placeholder","prefix-icon"])])),_:1})])),_:1}),S(Q(o),{delay:250},{default:M((()=>[S(_,{class:"w-full mt-4",size:"default",type:"primary",loading:G.value,onClick:l[3]||(l[3]=e=>je(J.value))},{default:M((()=>[H(Z(Q(pe)("login.login")),1)])),_:1},8,["loading"])])),_:1})])),_:1},8,["model","rules"])])):$("",!0),2==a.value?(R(),U("div",se,[re,de,q("div",{class:"go_back",onClick:l[4]||(l[4]=e=>{a.value=1})},"返 回")])):$("",!0)])])]),q("div",ce,[q("a",{href:Q(we),target:"_blank",class:"text-gray-500 hover:text-primary"},Z(Q(xe)),9,ue)])])}}});e("default",N(ge,[["__scopeId","data-v-92213fa9"]]))}}}));