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:
parent
96c9c7ad78
commit
2cb8e0006a
65
app-loading.css
Normal file
65
app-loading.css
Normal 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
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
18
index.html
Normal file
18
index.html
Normal 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>
|
1
static/css/SwitchRoles-89c49607.css
Normal file
1
static/css/SwitchRoles-89c49607.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/base-0c8e8f6b.css
Normal file
1
static/css/base-0c8e8f6b.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/directive-bbbf4b45.css
Normal file
1
static/css/directive-bbbf4b45.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/index-3d593b51.css
Normal file
1
static/css/index-3d593b51.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/index-5f4e4422.css
Normal file
1
static/css/index-5f4e4422.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/index-779273c9.css
Normal file
1
static/css/index-779273c9.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/index-a28fa8f5.css
Normal file
1
static/css/index-a28fa8f5.css
Normal file
File diff suppressed because one or more lines are too long
1
static/js/401-d4f5983f.js
Normal file
1
static/js/401-d4f5983f.js
Normal 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};
|
1
static/js/404-88a57b2e.js
Normal file
1
static/js/404-88a57b2e.js
Normal 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};
|
1
static/js/SwitchRoles-65862ded.js
Normal file
1
static/js/SwitchRoles-65862ded.js
Normal file
File diff suppressed because one or more lines are too long
1
static/js/arrow-right-9f3143d9.js
Normal file
1
static/js/arrow-right-9f3143d9.js
Normal 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};
|
1
static/js/base-e0fd87d9.js
Normal file
1
static/js/base-e0fd87d9.js
Normal 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};
|
1
static/js/directive-9bde057c.js
Normal file
1
static/js/directive-9bde057c.js
Normal file
File diff suppressed because one or more lines are too long
1
static/js/index-2f3d5bdc.js
Normal file
1
static/js/index-2f3d5bdc.js
Normal file
File diff suppressed because one or more lines are too long
1
static/js/index-9c8e92e7.js
Normal file
1
static/js/index-9c8e92e7.js
Normal 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};
|
1
static/js/index-ad2cb311.js
Normal file
1
static/js/index-ad2cb311.js
Normal file
File diff suppressed because one or more lines are too long
1
static/js/index-da9845f9.js
Normal file
1
static/js/index-da9845f9.js
Normal file
File diff suppressed because one or more lines are too long
1
static/js/index-da9c2f2e.js
Normal file
1
static/js/index-da9c2f2e.js
Normal 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};
|
1
static/js/index-ee95938b.js
Normal file
1
static/js/index-ee95938b.js
Normal file
File diff suppressed because one or more lines are too long
1
static/js/page-5e8b9eeb.js
Normal file
1
static/js/page-5e8b9eeb.js
Normal 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};
|
1
static/js/typescript-4fce575a.js
Normal file
1
static/js/typescript-4fce575a.js
Normal file
@ -0,0 +1 @@
|
||||
const o=o=>o;export{o as m};
|
BIN
static/png/logo-text-1-0f451132.png
Normal file
BIN
static/png/logo-text-1-0f451132.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 352 KiB |
BIN
static/png/logo-text-2-f252b556.png
Normal file
BIN
static/png/logo-text-2-f252b556.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 379 KiB |
Loading…
x
Reference in New Issue
Block a user