From 31bb047dac343c88fffe565d8bde3866f291e0f2 Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Fri, 5 May 2023 23:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E6=8E=92=E7=89=88=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 217 ++++++++++++++++++++++---------------------- 1 file changed, 106 insertions(+), 111 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 91bdd59a..96bcf326 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -86,110 +86,89 @@ const oneStepAdminInfo = ref({ - -
-
- -

Fantastic-startkit

-

一款开箱即用的 Vue 项目启动套件

+ + +
    +
  • + {{ item }} +
  • +
- -
-
- -

Fantastic-admin

-

一款开箱即用的 Vue 中后台管理系统框架

+ + + + + + + + - -
-
- -

One-step-admin

-

一款干啥都快人一步的 Vue 中后台系统框架

+ + + + + + + + @@ -224,7 +203,44 @@ const oneStepAdminInfo = ref({ } .ecology { - padding: 10px 0 0; + margin: 0; + height: 100%; + + :deep(.title-container) { + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + gap: 20px; + + .title-info { + flex: 1 1 400px; + display: flex; + align-items: center; + gap: 20px; + + img { + width: 50px; + display: block; + } + + h1 { + margin: 0; + font-size: 24px; + } + + h2 { + margin: 0; + font-size: 16px; + font-weight: normal; + color: var(--el-text-color-secondary); + } + } + + .el-dropdown { + margin-left: auto; + } + } &.vue { h1 { @@ -244,27 +260,6 @@ const oneStepAdminInfo = ref({ } } - .main { - text-align: center; - - img { - display: block; - margin: 0 auto; - } - - h1 { - margin: 10px auto 0; - text-align: center; - } - - h2 { - font-size: 16px; - font-weight: normal; - color: var(--el-text-color-secondary); - text-align: center; - } - } - .el-carousel { box-shadow: var(--el-box-shadow-light); transition: var(--el-transition-box-shadow);