mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
2.5 KiB
HTML
115 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Auth Layout</title>
|
|
<style>
|
|
.layout-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
width: 100%;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.header {
|
|
user-select: none;
|
|
height: 60px;
|
|
background: var(--color-primary);
|
|
color: var(--color-primary-text);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 var(--spacing-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.header-title {
|
|
font-size: var(--font-size-lg);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
.header-title a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.main-container {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.menu {
|
|
border-right: 1px solid var(--border-color);
|
|
background-color: var(--bg-color-secondary);
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.footer {
|
|
height: 40px;
|
|
background: var(--bg-color-secondary);
|
|
border-top: 1px solid var(--border-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: var(--font-size-xs);
|
|
color: var(--text-color-secondary);
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--color-primary-text);
|
|
text-decoration: none;
|
|
margin-left: var(--spacing-md);
|
|
font-size: var(--font-size-md);
|
|
opacity: 0.9;
|
|
transition: opacity var(--transition-base);
|
|
}
|
|
.nav-link:hover {
|
|
opacity: 1;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body style="height: 100%;width: 100%;margin: 0;">
|
|
<div class="layout-container">
|
|
<header class="header">
|
|
<div class="header-title">
|
|
<a href="@/">首页</a>
|
|
</div>
|
|
<a class="nav-link ml-auto" href="/">应用权限管理</a>
|
|
<div vsrc='ico.html' class="ml-auto" style="margin-left: auto;"></div>
|
|
</header>
|
|
|
|
<div class="main-container">
|
|
<vslot v='user' class="menu" name='menu'>
|
|
<v-sidebar :items="menuItems" width="220px" style="height: 100%;"></v-sidebar>
|
|
</vslot>
|
|
|
|
<vslot class="content">
|
|
</vslot>
|
|
</div>
|
|
|
|
<footer class="footer">
|
|
Copyright © 2025 veypi. All Rights Reserved.
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
<script setup>
|
|
menuItems = [
|
|
{ label: "HOME", path: "/" },
|
|
{ label: "应用管理", path: "/app" },
|
|
{ label: "个人中心", path: "/profile" },
|
|
{ label: "系统设置", path: "/settings" }
|
|
];
|
|
</script>
|
|
|
|
</html>
|