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.
OneAuth/ui/layout/default.html

115 lines
2.5 KiB
HTML

11 months ago
<!DOCTYPE html>
<html>
<head>
<title>Auth Layout</title>
<style>
.layout-container {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
3 weeks ago
background-color: var(--bg-color);
color: var(--text-color);
11 months ago
}
.header {
user-select: none;
height: 60px;
3 weeks ago
background: var(--color-primary);
color: var(--color-primary-text);
11 months ago
display: flex;
align-items: center;
3 weeks ago
padding: 0 var(--spacing-lg);
box-shadow: var(--shadow-sm);
11 months ago
}
.header-title {
3 weeks ago
font-size: var(--font-size-lg);
font-weight: var(--font-weight-bold);
}
.header-title a {
color: inherit;
text-decoration: none;
11 months ago
}
.main-container {
display: flex;
flex: 1;
overflow: hidden;
}
.menu {
3 weeks ago
border-right: 1px solid var(--border-color);
background-color: var(--bg-color-secondary);
11 months ago
}
.content {
flex: 1;
overflow-y: auto;
width: 100%;
height: 100%;
3 weeks ago
padding: var(--spacing-md);
11 months ago
}
.footer {
height: 40px;
3 weeks ago
background: var(--bg-color-secondary);
border-top: 1px solid var(--border-color);
11 months ago
display: flex;
align-items: center;
justify-content: center;
3 weeks ago
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;
11 months ago
}
</style>
</head>
<body style="height: 100%;width: 100%;margin: 0;">
<div class="layout-container">
<header class="header">
<div class="header-title">
11 months ago
<a href="@/">首页</a>
11 months ago
</div>
3 weeks ago
<a class="nav-link ml-auto" href="/">应用权限管理</a>
7 months ago
<div vsrc='ico.html' class="ml-auto" style="margin-left: auto;"></div>
11 months ago
</header>
<div class="main-container">
<vslot v='user' class="menu" name='menu'>
3 weeks ago
<v-sidebar :items="menuItems" width="220px" style="height: 100%;"></v-sidebar>
11 months ago
</vslot>
<vslot class="content">
</vslot>
</div>
<footer class="footer">
3 weeks ago
Copyright © 2025 veypi. All Rights Reserved.
11 months ago
</footer>
</div>
</body>
<script setup>
3 weeks ago
menuItems = [
{ label: "HOME", path: "/" },
{ label: "应用管理", path: "/app" },
{ label: "个人中心", path: "/profile" },
{ label: "系统设置", path: "/settings" }
];
11 months ago
</script>
</html>