From e9f13c55203da7e9cc2c1b7cb863a7ecee04b21c Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 31 十月 2023 11:49:43 +0800 Subject: [PATCH] feat: 任务详情组件;按钮组件;子标题组件 --- src/App.vue | 28 ++-------------------------- 1 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/App.vue b/src/App.vue index 64293dd..6cc3382 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,33 +1,9 @@ <template> - <nav> - <RouterLink to="/">Home</RouterLink> - <RouterLink to="/about">About</RouterLink> - </nav> <RouterView /> </template> <script setup lang="ts"> -import { RouterLink, RouterView } from 'vue-router' +import { RouterView } from 'vue-router' </script> -<style scoped> -nav { - width: 100%; - font-size: 24px; - text-align: center; -} - -nav a.router-link-exact-active { - color: var(--el-color-primary); -} - -nav a { - display: inline-block; - padding: 0 1rem; - border-left: 1px solid var(--color-border); -} - -nav a:first-of-type { - border: 0; -} -</style> +<style scoped></style> -- Gitblit v1.8.0