feat: 重构前端

This commit is contained in:
tbphp
2025-07-02 17:15:10 +08:00
parent 6a96c4464b
commit f15d0dd8da
102 changed files with 5392 additions and 10344 deletions

View File

@@ -0,0 +1,28 @@
<template>
<n-layout>
<n-layout-header class="flex items-center">
<h1 class="layout-header-title">T.COM</h1>
<nav-bar />
<logout />
</n-layout-header>
<n-layout-content class="layout-content" content-style="padding: 24px;">
<router-view />
</n-layout-content>
</n-layout>
</template>
<script setup lang="ts">
import NavBar from '@/components/NavBar.vue'
import Logout from '@/components/Logout.vue'
</script>
<style scoped>
.layout-header-title {
margin-top: 0;
margin-bottom: 8px;
margin-right: 20px;
}
.layout-content {
width: 100%;
}
</style>