add:fronted

This commit is contained in:
lan
2023-08-14 17:52:53 +08:00
parent 4f3447ce45
commit 3a5da9865b
8 changed files with 46 additions and 7 deletions
-3
View File
@@ -5,9 +5,6 @@
<template>
<div>
<RouterView />
<div style="text-align: center; margin-top: 1rem;color: #606266">
<a style="text-decoration: none;color: #606266" target="_blank" href="https://github.com/vastsa/FileCodeBox">FileCodeBox V2.0 Beta</a>
</div>
</div>
</template>
+5
View File
@@ -13,6 +13,11 @@ const router = createRouter({
name: 'send',
component: () => import('@/views/SendView.vue'),
},
{
path: '/admin',
name: 'admin',
component: () => import('@/views/AdminView.vue'),
}
],
});
+14
View File
@@ -0,0 +1,14 @@
<template>
<el-container style="width: 100vw;height: 100%;position: relative">
<el-aside width="200" style="height: 100%">
<el-menu>
<el-menu-item index="1">文件管理</el-menu-item>
<el-menu-item index="4">1</el-menu-item>
</el-menu>
</el-aside>
<el-main>Main</el-main>
</el-container>
</template>
<script setup lang="ts">
</script>
+3
View File
@@ -83,6 +83,9 @@ const listenInput = (num: number) => {
</el-col>
</el-row>
</el-card>
<div style="text-align: center; margin-top: 1rem;color: #606266">
<a style="text-decoration: none;color: #606266" target="_blank" href="https://github.com/vastsa/FileCodeBox">FileCodeBox V2.0 Beta</a>
</div>
</main>
</template>
<style lang='scss'>