diff --git a/src/assets/main.css b/src/assets/main.css index 74d8662..49544cc 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,2 +1,7 @@ @import "tailwindcss"; -@plugin "daisyui"; \ No newline at end of file +@plugin "daisyui"; + + +@utility input { + @apply w-full outline-none ; +} \ No newline at end of file diff --git a/src/pages/index.vue b/src/pages/index.vue index 5620f14..b8a72e0 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -9,6 +9,7 @@ import { RouterLink } from 'vue-router' Home | About + 登录 diff --git a/src/pages/login.vue b/src/pages/login.vue index e75584b..74830e1 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -1,6 +1,66 @@ + + + + + + + + {{ word }} + + + + + + + + + + + + + + + + + + + + + + + + + + ⚠️ + {{ errorMessage }} + + + + + {{ isLoading ? '登录中...' : '登 录' }} + + + + + + + 返回首页 + | + 关于 + + + + + + + - - - - - - - Rolegram - - - - {{ welcomeWords[currentWordIndex] }} - - - - - - - - - - 用户登录 - - - - - 👤 - 用户名 - - - - - - - 🔒 - 密码 - - - - - - ⚠️ - {{ errorMessage }} - - - - - {{ isLoading ? '登录中...' : '登 录' }} - - - - - - - - - - + \ No newline at end of file
- {{ welcomeWords[currentWordIndex] }} -