3 lines
8.1 KiB
JavaScript
3 lines
8.1 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/Login.C228awVs.js","js/element-plus.DhcJM-BD.js","js/.pnpm.DGfAnZKL.js","css/.pnpm.wMqTaTKD.css","css/element-plus.DTN2l4mr.css","js/index.BPA2kTd2.js","js/codemirror.CR5zRbyM.js","css/codemirror.DPQIqBY5.css","css/index.CD0Vixqw.css","js/_plugin-vue_export-helper.BCo6x5W8.js","css/Login.Cz9nxt3u.css","js/Register.DRoYTdx_.js","js/ResetPwd.BWKFE24q.js"])))=>i.map(i=>d[i]);
|
||
import{c as e,_ as a}from"./index.BPA2kTd2.js";import{l as t,R as s,r as o,h as l}from"./element-plus.DhcJM-BD.js";import{_ as r}from"./index.vue_vue_type_script_setup_true_lang.CnhThe3O.js";import{o as i,e9 as c,B as n,aa as d,H as f,K as p,I as u,J as _,u as g,ef as v,Z as h,$ as m,L as b,c as w,aC as y,t as x,v as D,W as k,a as G,Y as L,r as j,eg as R,ac as E}from"./.pnpm.DGfAnZKL.js";import{C as V,_ as P}from"./index.vue_vue_type_script_setup_true_lang.CscrayX6.js";import{_ as T}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./codemirror.CR5zRbyM.js";const U={class:"auth-view__toolbar"},I={class:"auth-view__wrapper"},A={class:"auth-panel"},z={class:"auth-panel__brand"},B={class:"auth-panel__logo-wrap"},C={class:"auth-panel__meta"},O={class:"auth-panel__title-row"},$={class:"auth-panel__title"},F={class:"auth-panel__version-row"},S={class:"auth-panel__version-pill"},H={class:"auth-panel__footer"},J=["href"],K=["href"],Q=["href"],W=["href"],Y=T(i({__name:"index",setup(i){const T=e(),Y=w(()=>{var e,a;return(null==(a=null==(e=T.configData)?void 0:e.sys_login_background)?void 0:a.config_value)||new URL("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100%25'%20height='100%25'%20viewBox='0%200%201400%20800'%3e%3cdefs%3e%3cstyle%3e%20@media%20(prefers-color-scheme:%20dark)%20{%20%23bg-layer%20{%20fill:%20url(%23bgDark);%20}%20%23soft-glow%20{%20fill:%20url(%23glowDark);%20}%20.accent-arc%20{%20stroke:%20rgba(118,%20156,%20255,%200.35);%20}%20.accent-dot%20{%20fill:%20rgba(154,%20188,%20255,%200.45);%20}%20}%20%3c/style%3e%3clinearGradient%20id='bgLight'%20x1='0%25'%20y1='0%25'%20x2='100%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%23f3f7ff'%20/%3e%3cstop%20offset='60%25'%20stop-color='%23e3edff'%20/%3e%3cstop%20offset='100%25'%20stop-color='%23d6e7ff'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='bgDark'%20x1='0%25'%20y1='0%25'%20x2='100%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%230b1324'%20/%3e%3cstop%20offset='60%25'%20stop-color='%23162135'%20/%3e%3cstop%20offset='100%25'%20stop-color='%231e2c44'%20/%3e%3c/linearGradient%3e%3cradialGradient%20id='glowLight'%20cx='20%25'%20cy='15%25'%20r='60%25'%3e%3cstop%20offset='0%25'%20stop-color='rgba(64,128,255,0.35)'%20/%3e%3cstop%20offset='40%25'%20stop-color='rgba(64,128,255,0.18)'%20/%3e%3cstop%20offset='100%25'%20stop-color='rgba(64,128,255,0)'%20/%3e%3c/radialGradient%3e%3cradialGradient%20id='glowDark'%20cx='20%25'%20cy='15%25'%20r='60%25'%3e%3cstop%20offset='0%25'%20stop-color='rgba(98,142,255,0.4)'%20/%3e%3cstop%20offset='50%25'%20stop-color='rgba(98,142,255,0.18)'%20/%3e%3cstop%20offset='100%25'%20stop-color='rgba(98,142,255,0)'%20/%3e%3c/radialGradient%3e%3cradialGradient%20id='glowSecondary'%20cx='80%25'%20cy='70%25'%20r='55%25'%3e%3cstop%20offset='0%25'%20stop-color='rgba(22,93,255,0.3)'%20/%3e%3cstop%20offset='50%25'%20stop-color='rgba(22,93,255,0.12)'%20/%3e%3cstop%20offset='100%25'%20stop-color='rgba(22,93,255,0)'%20/%3e%3c/radialGradient%3e%3clinearGradient%20id='meshLight'%20x1='0%25'%20y1='0%25'%20x2='100%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='rgba(255,255,255,0.6)'%20/%3e%3cstop%20offset='35%25'%20stop-color='rgba(255,255,255,0.2)'%20/%3e%3cstop%20offset='100%25'%20stop-color='rgba(255,255,255,0)'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20id='bg-layer'%20width='100%25'%20height='100%25'%20fill='url(%23bgLight)'%20/%3e%3crect%20id='soft-glow'%20width='100%25'%20height='100%25'%20fill='url(%23glowLight)'%20/%3e%3crect%20width='100%25'%20height='100%25'%20fill='url(%23glowSecondary)'%20/%3e%3crect%20width='100%25'%20height='100%25'%20fill='url(%23meshLight)'%20/%3e%3c!--%20柔和块面光影,替代明显线条%20--%3e%3cg%20opacity='0.45'%3e%3crect%20x='-40'%20y='520'%20width='520'%20height='220'%20rx='180'%20fill='rgba(255,255,255,0.25)'%20/%3e%3crect%20x='760'%20y='90'%20width='520'%20height='210'%20rx='180'%20fill='rgba(255,255,255,0.22)'%20/%3e%3crect%20x='420'%20y='620'%20width='560'%20height='190'%20rx='180'%20fill='rgba(255,255,255,0.18)'%20/%3e%3c/g%3e%3c!--%20去掉点状噪声,仅保留大区域柔光%20--%3e%3c/svg%3e",import.meta.url).href}),Z=c().t,q=j("login"),M={login:R(()=>a(()=>import("./Login.C228awVs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),register:R(()=>a(()=>import("./Register.DRoYTdx_.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8]))),resetPwd:R(()=>a(()=>import("./ResetPwd.BWKFE24q.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8])))},N=E({username:"",password:""});return T.getConfig(),n(()=>{}),d(()=>{}),(e,a)=>{var i,c,n,d,w,j,R,E;const X=t,ee=r,ae=s,te=y("QuestionFilled"),se=l,oe=o;return x(),f("div",{class:"auth-view",style:b({"--login-background-url":`url(${g(Y)})`})},[p("div",U,[u(X,{content:g(Z)("login.themeToggle"),placement:"bottom"},{default:_(()=>[u(V,null,{default:_(()=>[u(P)]),_:1})]),_:1},8,["content"]),u(X,{content:g(Z)("login.languageToggle"),placement:"bottom"},{default:_(()=>[u(V,null,{default:_(()=>[u(ee,{size:"text-20px"})]),_:1})]),_:1},8,["content"])]),p("div",I,[a[4]||(a[4]=v('<section class="auth-feature" data-v-6f409234><div class="auth-feature__badge" data-v-6f409234><span class="auth-feature__dot" data-v-6f409234></span> Enterprise Ready </div><h1 class="auth-feature__title" data-v-6f409234>壹梵-后台管理系统</h1><p class="auth-feature__subtitle" data-v-6f409234> 提供安全、高效、可扩展的管理解决方案,助力企业数字化转型与业务增长。 </p><ul class="auth-feature__highlights" data-v-6f409234><li data-v-6f409234><span data-v-6f409234>⦿</span> 统一身份认证与权限管理 </li><li data-v-6f409234><span data-v-6f409234>⦿</span> 数据安全与操作审计 </li><li data-v-6f409234><span data-v-6f409234>⦿</span> 灵活扩展与高可用架构 </li></ul></section>',1)),p("section",A,[p("div",z,[p("div",B,[u(ae,{src:(null==(c=null==(i=g(T).configData)?void 0:i.sys_web_logo)?void 0:c.config_value)||"",class:"auth-panel__logo"},null,8,["src"])]),p("div",C,[p("div",O,[p("span",$,h((null==(d=null==(n=g(T).configData)?void 0:n.sys_web_title)?void 0:d.config_value)||""),1),u(X,{content:(null==(j=null==(w=g(T).configData)?void 0:w.sys_web_description)?void 0:j.config_value)||"",placement:"bottom"},{default:_(()=>[u(se,{class:"cursor-help"},{default:_(()=>[u(te)]),_:1})]),_:1},8,["content"])]),p("div",F,[a[3]||(a[3]=p("span",{class:"auth-panel__version-label"},"Version",-1)),p("span",S," v"+h((null==(E=null==(R=g(T).configData)?void 0:R.sys_web_version)?void 0:E.config_value)||""),1)])])]),u(m,{name:"fade-slide",mode:"out-in"},{default:_(()=>[(x(),D(k(M[g(q)]),{modelValue:g(q),"onUpdate:modelValue":a[0]||(a[0]=e=>G(q)?q.value=e:null),"preset-username":g(N).username,"onUpdate:presetUsername":a[1]||(a[1]=e=>g(N).username=e),"preset-password":g(N).password,"onUpdate:presetPassword":a[2]||(a[2]=e=>g(N).password=e),class:"auth-panel__form"},null,40,["modelValue","preset-username","preset-password"]))]),_:1}),p("footer",H,[u(oe,{size:"small"},{default:_(()=>{var e,a,t,s,o,l,r,i,c,n,d,f;return[p("a",{href:(null==(a=null==(e=g(T).configData)?void 0:e.sys_git_code)?void 0:a.config_value)||"",target:"_blank"},h((null==(s=null==(t=g(T).configData)?void 0:t.sys_web_copyright)?void 0:s.config_value)||"")+" | ",9,J),p("a",{href:(null==(l=null==(o=g(T).configData)?void 0:o.sys_help_doc)?void 0:l.config_value)||"",target:"_blank"}," 帮助 | ",8,K),p("a",{href:(null==(i=null==(r=g(T).configData)?void 0:r.sys_web_privacy)?void 0:i.config_value)||"",target:"_blank"}," 隐私 | ",8,Q),p("a",{href:(null==(n=null==(c=g(T).configData)?void 0:c.sys_web_clause)?void 0:n.config_value)||"",target:"_blank"}," 条款 ",8,W),L(" "+h((null==(f=null==(d=g(T).configData)?void 0:d.sys_keep_record)?void 0:f.config_value)||""),1)]}),_:1})])])])],4)}}}),[["__scopeId","data-v-6f409234"]]);export{Y as default};
|