Files
dygou_go/frontend/src/components/layout/AppShell.vue
T
2026-06-26 10:56:25 +08:00

36 lines
621 B
Vue

<script setup lang="ts">
import LeftSidebar from './LeftSidebar.vue'
import RightConsole from './RightConsole.vue'
defineProps<{
version: string
serverTime: string
}>()
</script>
<template>
<div class="app-shell">
<LeftSidebar :version="version" />
<RightConsole :server-time="serverTime" />
</div>
</template>
<style scoped>
.app-shell {
display: grid;
grid-template-columns: 300px minmax(0, 1fr);
height: 100vh;
min-width: 1080px;
overflow: hidden;
}
@media (max-width: 1180px) {
.app-shell {
display: block;
min-width: 0;
height: auto;
overflow: visible;
}
}
</style>