PageSourceSearch

https://mles-sis.mapleleaf.cn/zh/assets/index-95c6df07.js

js mapleleaf.cn collected 2026-10-06 13:45:28 UTC 3,137 bytes, 1 lines download raw bytes

1import{d as F,a as U,r as x,x as c,c as I,e as E,f as s,g as t,t as i,k as a,w as r,a9 as T,F as B,m as N,N as A,J as _,A as D,H as P,U as R,I as S,aa as H,_ as J}from"./index-f61830b5.js";/* empty css                  *//* empty css                 */import{I as L}from"./text-2d4deecc.js";import{u as M}from"./useValidator-5b967681.js";const j={class:"app-container"},q={class:"home-header-wrap"},z={class:"container banner-wrap"},G={class:"item"},K=["src"],O={class:"item"},Q={class:"form-wrap"},W={class:"form-head"},X={class:"tips-wrap"},Y=["onClick"],Z={class:"checkbox-label"},ee={class:"footer-tips"},oe=["onClick"],se=F({__name:"index",setup(le){const{handleLogin:f}=U(),[{checkUsername:v,checkPassword:b,checkAgree:h}]=M(),u=x(),n=c({username:void 0,password:void 0,agree:!1}),y=c({username:[{validator:v,trigger:"blur"}],password:[{validator:b,trigger:"blur"}],agree:[{validator:h,trigger:"blur"}]}),d=c({searchword:"",policyType:2,visible:!1});function w(e){d.policyType=e,d.visible=!0}const k=async e=>{e&&(n.agree=!0,await e.validate(async o=>{if(o)await f(n),console.log("submit!");else return console.log("error submit!"),!1}))};return(e,o)=>{const m=P,p=R,g=N("router-link"),V=S,$=H,C=A;return I(),E(B,null,[s("div",j,[s("div",q,[s("div",z,[s("div",G,[s("img",{src:t(L)},null,8,K)]),s("div",O,[s("div",Q,[s("div",W,i(e.$t("login_login")),1),a(C,{ref_key:"ruleFormRef",ref:u,model:t(n),"label-position":"top",rules:t(y),class:"form-body",inline:!1},{default:r(()=>[a(p,{label:e.$t("login_email1"),prop:"username"},{default:r(()=>[a(m,{modelValue:t(n).username,"onUpdate:modelValue":o[0]||(o[0]=l=>t(n).username=l),maxlength:100,placeholder:e.$t("login_please_type"),clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(p,{label:e.$t("login_password"),prop:"password"},{default:r(()=>[a(m,{modelValue:t(n).password,"onUpdate:modelValue":o[1]||(o[1]=l=>t(n).password=l),type:"password",maxlength:16,placeholder:e.$t("login_please_type"),"show-password":"",clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s("div",X,[a(g,{to:"/forgot",custom:""},{default:r(({navigate:l})=>[s("span",{onClick:l},i(e.$t("login_forgot_password"))+"? ",9,Y)]),_:1})]),a(p,null,{default:r(()=>[a(V,{type:"primary",class:"submit-btn",onClick:o[2]||(o[2]=l=>k(t(u)))},{default:r(()=>[_(i(e.$t("login_login")),1)]),_:1})]),_:1}),a(p,{prop:"agree"},{default:r(()=>[a($,{modelValue:t(n).agree,"onUpdate:modelValue":o[4]||(o[4]=l=>t(n).agree=l),class:"checkbox-wrap"},{default:r(()=>[s("div",Z,[_(i(e.$t("login_agree"))+" ",1),s("span",{class:"to-text",onClick:o[3]||(o[3]=D(l=>w(2),["stop"]))},i(e.$t("login_user_agreement")),1)])]),_:1},8,["modelValue"])]),_:1}),s("div",ee,[_(i(e.$t("login_already_have_an_account"))+"? ",1),a(g,{to:"/register",custom:""},{default:r(({navigate:l})=>[s("span",{onClick:l},i(e.$t("login_sign_up")),9,oe)]),_:1})])]),_:1},8,["model","rules"])])])])])]),a(T,{visible:t(d).visible,"onUpdate:visible":o[5]||(o[5]=l=>t(d).visible=l),"policy-type":t(d).policyType},null,8,["visible","policy-type"])],64)}}});const de=J(se,[["__scopeId","data-v-42075ddf"]]);export{de as default};

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.