Frameless Window

This commit is contained in:
2025-06-09 01:00:15 +08:00
parent 8522a47b5f
commit 7f97b4a937
12 changed files with 999 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
import { onMounted } from 'vue';
import { useConfigStore } from '@/stores/configStore';
import WindowTitleBar from '@/components/titlebar/WindowTitleBar.vue';
const configStore = useConfigStore();
@@ -14,7 +15,10 @@ onMounted(async () => {
<template>
<div class="app-container">
<router-view/>
<WindowTitleBar />
<div class="app-content">
<router-view/>
</div>
</div>
</template>
@@ -24,5 +28,14 @@ onMounted(async () => {
height: 100vh;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
}
.app-content {
flex: 1;
margin-top: 32px;
overflow: hidden;
position: relative;
}
</style>