Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 11:29:20 +08:00

Deploying to gh-pages from @ 0033a0aad726f2b954a711cec60581c99e59123a 🚀

This commit is contained in:
pany-ang 2022-04-22 11:51:42 +00:00
parent 96c9c7ad78
commit 2cb8e0006a
26 changed files with 104 additions and 0 deletions

65
app-loading.css Normal file
View File

@ -0,0 +1,65 @@
#app-loading,
#app-loading:before,
#app-loading:after {
border-radius: 50%;
width: 2.5em;
height: 2.5em;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation: loadingAnimation 1.8s infinite ease-in-out;
animation: loadingAnimation 1.8s infinite ease-in-out;
}
#app-loading {
color: #409eff;
font-size: 10px;
margin: 80px auto;
position: relative;
text-indent: -9999em;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
top: 0;
transform: translate(-50%, 0);
}
#app-loading:before,
#app-loading:after {
content: "";
position: absolute;
top: 0;
}
#app-loading:before {
left: -3.5em;
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
#app-loading:after {
left: 3.5em;
}
@-webkit-keyframes loadingAnimation {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
@keyframes loadingAnimation {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

18
index.html Normal file
View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/app-loading.css" />
<title>v3-admin-vite</title>
<script type="module" crossorigin src="/static/js/index-da9845f9.js"></script>
<link rel="stylesheet" href="/static/css/index-a28fa8f5.css">
</head>
<body>
<div id="app">
<div id="app-loading"></div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{ac as t,o as e,a as n,b as a}from"./index-da9845f9.js";const r={},s=[a("p",{style:{"text-align":"center","font-size":"140px","margin-bottom":"50px"}},"401",-1),a("p",{style:{"text-align":"center","font-size":"40px"}},"你没有权限去该页面",-1)];var o=t(r,[["render",function(t,a){return e(),n("div",null,s)}]]);export{o as default};

View File

@ -0,0 +1 @@
import{ac as t,o as e,a as n,b as a}from"./index-da9845f9.js";const r={},s=[a("p",{style:{"text-align":"center","font-size":"140px","margin-bottom":"50px"}},"404",-1),a("p",{style:{"text-align":"center","font-size":"40px"}},"未找到你想要的页面",-1)];var o=t(r,[["render",function(t,a){return e(),n("div",null,s)}]]);export{o as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as a,_ as r,o,a as s,b as n}from"./index-da9845f9.js";const t=a({name:"ArrowRight"}),e={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},i=[n("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1)];var l=r(t,[["render",function(a,r,n,t,l,w){return o(),s("svg",e,i)}]]);export{l as a};

View File

@ -0,0 +1 @@
import{m as o,J as s,ar as e,r as a,as as r,H as t,t as i,e as n}from"./index-da9845f9.js";class l extends Error{constructor(o){super(o),this.name="ElementPlusError"}}function d(o,s){throw new l(`[${o}] ${s}`)}function u(o,s){}const v="update:modelValue",m="change",c="input",f=Symbol("formContextKey"),p=Symbol("formItemContextKey"),b=e=>{const a=s();return o((()=>{var o,s;return null!=(s=null==(o=a.proxy)?void 0:o.$props[e])?s:void 0}))},x=e({type:String,values:n,required:!1}),y=(s,e={})=>{const n=a(void 0),l=e.prop?n:b("size"),d=e.global?n:r("size"),u=e.form?{size:void 0}:t(f,void 0),v=e.formItem?{size:void 0}:t(p,void 0);return o((()=>l.value||i(s)||(null==v?void 0:v.size)||(null==u?void 0:u.size)||d.value||""))},z=s=>{const e=b("disabled"),a=t(f,void 0);return o((()=>e.value||i(s)||(null==a?void 0:a.disabled)||!1))},I=()=>({form:t(f,void 0),formItem:t(p,void 0)});export{m as C,c as I,v as U,z as a,y as b,x as c,u as d,p as e,f,d as t,I as u};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{ac as a,o as n,a as s,d as r,r as e,m as t,ak as d,af as i,v as o,y as c}from"./index-da9845f9.js";const u={class:"app-container"};var l=a({},[["render",function(a,r){return n(),s("div",u,"Admin 权限可见")}]]);const v={class:"app-container"};var m=a({},[["render",function(a,r){return n(),s("div",v,"Editor 权限可见")}]]);const p=r({setup(a){const s=e("admin"),r=t((()=>d().roles));return i((()=>{r.value.includes("admin")||(s.value="editor")})),(a,r)=>(n(),o(c("admin"===s.value?l:m)))}});export{p as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as a,ad as s,ae as e,o as r,a as t}from"./index-da9845f9.js";const o=a({setup(a){const{params:o,query:p}=s(),{path:c}=o;return e().replace({path:"/"+c,query:p}).catch((a=>{console.warn(a)})),(a,s)=>(r(),t("div"))}});export{o as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import"./base-e0fd87d9.js";import{E as s,_ as a}from"./SwitchRoles-65862ded.js";import{d as e,ae as t,o,a as n,P as r,x as c,a7 as d}from"./index-da9845f9.js";const p={class:"app-container"},i=d(" 当前页面只有 admin 权限可见 "),m=e({setup(e){const d=t(),m=()=>{d.push({path:"/401"}).catch((s=>{console.warn(s)}))};return(e,t)=>{const d=s;return o(),n("div",p,[r(d,{type:"success",size:"large",style:{"margin-bottom":"15px"}},{default:c((()=>[i])),_:1}),r(a,{onChange:m})])}}});export{m as default};

View File

@ -0,0 +1 @@
const o=o=>o;export{o as m};

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB