diff --git a/web/src/App.vue b/web/src/App.vue index 02614c7285cc77e222bb6cb2817df84e138b7201..9c0a8af832e55f5f32efb722cd124ca8bc8b1a54 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -20,54 +20,5 @@ const zhCn = ref(locale); height: 100%; width: 100%; background-color: #f5f5f9; - - .top { - width: 100%; - height: 44px; - display: flex; - align-items: center; - - &-title { - width: 160px; - text-align: center; - font-size: 16px; - font-weight: 600; - color: #333; - display: inline-block; - } - } - - .nav { - position: absolute; - z-index: 100; - left: calc(50% - 160px); - width: 200px; - display: flex; - justify-content: space-around; - align-items: center; - - &-link { - display: inline-block; - width: 44%; - text-align: center; - text-decoration: none; - color: rgb(96, 122, 207); - border-radius: 6px; - font-weight: bold; - background-color: #fff; - - &:hover { - background-color: rgba(96, 122, 207, 0.4); - color: #fff; - } - } - - .active { - color: #fff; - background-color: rgb(96, 122, 207); - box-shadow: 0 1px 6px 0 rgba(96, 122, 207, 0.4), - 0 2px 6px 0 rgba(96, 122, 207, 0.8); - } - } } diff --git a/web/src/assets/main.css b/web/src/assets/main.css index 3bb9236454782a53521dff3f050abb03f81a551a..3e7c31471e04418dde50317854f313e609bb2e43 100644 --- a/web/src/assets/main.css +++ b/web/src/assets/main.css @@ -16,9 +16,6 @@ html,body { Segoe UI, roboto, Helvetica Neue, arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol; } -.shadow { - box-shadow: 0 -3px 4px rgba(0, 0, 0, 0.05), 0 6px 10px 0 rgba(0, 0, 0, 0.1); -} .flex { display: flex; align-items: center; diff --git a/web/src/router/index.ts b/web/src/router/index.ts index 1311f0cc32ce66cad2ccdf56eb3689d53dc41235..4d6e5244128f0d0b09f830c2cc86b41fd71ca327 100644 --- a/web/src/router/index.ts +++ b/web/src/router/index.ts @@ -23,14 +23,7 @@ const routes: Array = [ { path: "/template", component: Atune, - meta: { title: "模板列表" }, - children: [ - { - path: "detail", - name: "atuneDetail", - component: () => import("../views/atuneDetail.vue"), - }, - ], + meta: { title: "模板列表" } }, ]; const router = createRouter({ diff --git a/web/src/views/atuneDetail.vue b/web/src/views/atuneDetail.vue index 96f45f5662e02beed363dd379d17d2acdcf15e47..4210528ca6c6cf4d6dda52cb9b4b69771fc69cf4 100644 --- a/web/src/views/atuneDetail.vue +++ b/web/src/views/atuneDetail.vue @@ -4,14 +4,14 @@ - {{ custom_name }} + {{ tune_detail.custom_name }} - {{ tuneName }} + {{ tune_detail.tuneName }} {{ - workDir - }} + tune_detail.workDir + }} {{ - note + tune_detail.note }} @@ -36,7 +36,7 @@