From bf1ac3a37b40eaac971deedef9b9034f5ffdced3 Mon Sep 17 00:00:00 2001
From: gukai <1522776404@qq.com>
Date: Tue, 4 Mar 2025 09:35:34 +0800
Subject: [PATCH] 1
---
api/modules/user.js | 7 ++
pages/login/index.vue | 267 ++++++++++++++++++++++++------------------
2 files changed, 157 insertions(+), 117 deletions(-)
diff --git a/api/modules/user.js b/api/modules/user.js
index c7b78f6..082220d 100644
--- a/api/modules/user.js
+++ b/api/modules/user.js
@@ -11,4 +11,11 @@ export default {
data,
});
},
+ captch(data) {
+ return request({
+ url: "/admin/auth/captch",
+ method: "POST",
+ data,
+ });
+ },
};
\ No newline at end of file
diff --git a/pages/login/index.vue b/pages/login/index.vue
index 3cf6b09..8f7016f 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -23,26 +23,36 @@
-
+
-
+
+
+
+
+
+
+
@@ -50,125 +60,148 @@
+ .content {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+ }
+
+ .logo {
+ height: 200rpx;
+ width: 200rpx;
+ margin-top: 200rpx;
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: 50rpx;
+ }
+
+ .text-area {
+ display: flex;
+ justify-content: center;
+ }
+
+ .title {
+ font-size: 36rpx;
+ color: #8f8f94;
+ }
+
\ No newline at end of file