From 65dc3085bb85e4b3d4a30a20941799e18ab6ae22 Mon Sep 17 00:00:00 2001
From: DongZeLiang <2746733890@qq.com>
Date: Fri, 13 Sep 2024 20:23:11 +0800
Subject: [PATCH] =?UTF-8?q?fix():=20=E5=A2=9E=E5=8A=A0=E6=B3=A8=E5=86=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/user.js | 9 ++-
src/layout/components/Navbar.vue | 10 +--
src/views/login/index.vue | 116 ++++++++++++++++++++++++++-----
3 files changed, 109 insertions(+), 26 deletions(-)
diff --git a/src/api/user.js b/src/api/user.js
index c626921..77eaada 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -4,7 +4,14 @@ export function login(data) {
return request({
url: '/system/auth/login',
method: 'post',
- data
+ data: data
+ })
+}
+export function reg(data) {
+ return request({
+ url: '/system/auth/reg',
+ method: 'post',
+ data: data
})
}
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 0ca5cf6..413174f 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -13,17 +13,11 @@
- Home
+ 主页
-
- Github
-
-
- Docs
-
- Log Out
+ 退出登录
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 71e0ec2..41e7e47 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -1,14 +1,15 @@
-
+
-
车辆模拟
+ 智能车联-车机模拟器
-
+
-
+
- 登录系统
- 注册系统
+ 登录系统
+
+ 注册系统
+
+
+
+
+
+
用户注册
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+