diff --git a/src/plugins/naive.ts b/src/plugins/naive.ts index 75d4e3ef..9cb6be04 100644 --- a/src/plugins/naive.ts +++ b/src/plugins/naive.ts @@ -66,7 +66,8 @@ import { NTimePicker, NBackTop, NSkeleton, - NCarousel + NCarousel, + NCollapseTransition } from 'naive-ui'; const naive = create({ @@ -136,7 +137,8 @@ const naive = create({ NTimePicker, NBackTop, NSkeleton, - NCarousel + NCarousel, + NCollapseTransition ], }); diff --git a/src/styles/common/var.scss b/src/styles/common/var.scss index 5979a6f3..1083cae4 100644 --- a/src/styles/common/var.scss +++ b/src/styles/common/var.scss @@ -4,6 +4,12 @@ $--color-red: #fc625d; $--color-warn: #fcbc40; $--color-success: #34c749; +// 文字 +$--color-text-1: hsla(0, 0%, 100%, 0.9); +$--color-text-2: hsla(0, 0%, 100%, 0.7); +$--color-text-3: hsla(0, 0%, 100%, 0.5); +$--color-text-4: hsla(0, 0%, 100%, 0.3); + // 顶部距离 $--header-height: 60px; // 模糊 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index ec40ef96..c7861d27 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -15,78 +15,82 @@
- -
+