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

112 lines
2.1 KiB
HTML

7 months ago
<!DOCTYPE html>
<html>
<head>
<title>Auth Layout</title>
<style>
.layout-container {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
}
.header {
user-select: none;
height: 60px;
7 months ago
background: #409EFF;
7 months ago
color: white;
display: flex;
align-items: center;
padding: 0 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-title {
font-size: 18px;
font-weight: bold;
}
.main-container {
display: flex;
flex: 1;
overflow: hidden;
}
.menu {
width: 200px;
border-right: 1px solid #ddd;
padding: 20px 0;
}
.menu a {
7 months ago
padding: 10px 20px;
cursor: pointer;
transition: background 0.3s;
display: block;
color: inherit;
text-decoration: none;
7 months ago
}
.menu a:hover {
7 months ago
background: #e0e0e0;
}
.menu a[active] {
3 months ago
background: #c3e1ff;
7 months ago
}
.content {
flex: 1;
overflow-y: auto;
width: 100%;
height: 100%;
}
.footer {
height: 40px;
background: #f5f5f5;
border-top: 1px solid #ddd;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: #666;
}
</style>
</head>
<body style="height: 100%;width: 100%;margin: 0;">
<div class="layout-container">
<header class="header">
<div class="header-title">
7 months ago
<a href="@/">首页</a>
7 months ago
</div>
7 months ago
<a class="ml-auto" href="/">应用权限管理</a>
3 months ago
<div vsrc='ico.html' class="ml-auto" style="margin-left: auto;"></div>
7 months ago
7 months ago
</header>
<div class="main-container">
<vslot v='user' class="menu" name='menu'>
3 months ago
<a href="/" class="">HOME</a>
<a href="/app" class="">应用管理</a>
<a href="/profile" class="">个人中心</a>
<a href="/settings">系统设置</a>
7 months ago
</vslot>
<vslot class="content">
</vslot>
</div>
<footer class="footer">
Copyright © 2025 veypi. All Rights Reserved..
</footer>
</div>
</body>
<script setup>
</script>
</html>