后台教程

This commit is contained in:
2025-03-03 22:11:01 +08:00
parent f01f8a174d
commit a7d8663f4d
9 changed files with 235 additions and 22 deletions

View File

@@ -1 +1,28 @@
<template>秘密花园</template>
<template>
<n-flex class="container" :wrap="false">
<n-flex vertical class="menu">
<n-button @click="$router.push({ name: 'home' })">返回</n-button>
<n-button @click="$router.push({ name: 'tutorial' })">教程</n-button>
</n-flex>
<n-flex class="content">
<router-view></router-view>
</n-flex>
</n-flex>
</template>
<script lang="ts" setup></script>
<style scoped>
.container {
height: 100vh;
width: 100vw;
box-sizing: border-box;
}
.menu {
width: 100px;
padding: 10px 0 10px 10px;
}
.content {
box-sizing: border-box;
width: calc(100vw - 100px);
overflow: hidden;
}
</style>