diff --git a/ui/src/components/layout/top-bar/index.vue b/ui/src/components/layout/top-bar/index.vue
index d02edba6..3c5c4912 100644
--- a/ui/src/components/layout/top-bar/index.vue
+++ b/ui/src/components/layout/top-bar/index.vue
@@ -2,7 +2,7 @@
-
智能客服
+
{{ defaultTitle }}
diff --git a/ui/src/views/login/forgot-password/index.vue b/ui/src/views/login/forgot-password/index.vue
new file mode 100644
index 00000000..e0498099
--- /dev/null
+++ b/ui/src/views/login/forgot-password/index.vue
@@ -0,0 +1,119 @@
+
+
+
+ 忘记密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 获取验证码
+
+
+
+ 立即验证
+
+
+ 返回登录
+
+
+
+
+
+
+
diff --git a/ui/src/views/login/index.scss b/ui/src/views/login/index.scss
new file mode 100644
index 00000000..89991973
--- /dev/null
+++ b/ui/src/views/login/index.scss
@@ -0,0 +1,4 @@
+.login-submit-button {
+ margin-top: 12px;
+ height: 40px;
+}
diff --git a/ui/src/views/login/index.vue b/ui/src/views/login/index.vue
index e690098f..4205ef00 100644
--- a/ui/src/views/login/index.vue
+++ b/ui/src/views/login/index.vue
@@ -1,152 +1,102 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 注册
+
+
+ 忘记密码
+
+
+ 登录
+
+
diff --git a/ui/src/views/login/register/index.vue b/ui/src/views/login/register/index.vue
new file mode 100644
index 00000000..8e4a8a8d
--- /dev/null
+++ b/ui/src/views/login/register/index.vue
@@ -0,0 +1,203 @@
+
+
+
+ 注册
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 获取验证码
+
+
+
+ 注册
+
+
+ 返回登录
+
+
+
+
+
+
+
diff --git a/ui/src/views/login/reset-password/index.vue b/ui/src/views/login/reset-password/index.vue
new file mode 100644
index 00000000..b41ee71e
--- /dev/null
+++ b/ui/src/views/login/reset-password/index.vue
@@ -0,0 +1,137 @@
+
+
+
+ 修改密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确认修改
+
+
+ 返回登录
+
+
+
+
+
+
+
diff --git a/ui/src/views/register/index.vue b/ui/src/views/register/index.vue
deleted file mode 100644
index c9f8dace..00000000
--- a/ui/src/views/register/index.vue
+++ /dev/null
@@ -1,236 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ui/src/views/reset-password/index.vue b/ui/src/views/reset-password/index.vue
deleted file mode 100644
index a5a156e9..00000000
--- a/ui/src/views/reset-password/index.vue
+++ /dev/null
@@ -1,183 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ui/vite.config.ts b/ui/vite.config.ts
index 5e5d9bb9..36a2935a 100644
--- a/ui/vite.config.ts
+++ b/ui/vite.config.ts
@@ -1,7 +1,10 @@
import { fileURLToPath, URL } from 'node:url'
import type { ProxyOptions } from 'vite'
import { defineConfig, loadEnv } from 'vite'
+
import vue from '@vitejs/plugin-vue'
+import DefineOptions from 'unplugin-vue-define-options/vite'
+
const envDir = './env'
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
@@ -13,10 +16,11 @@ export default defineConfig(({ mode }) => {
rewrite: (path) => path.replace(ENV.VITE_BASE_PATH, '/')
}
return {
+ preflight: false,
lintOnSave: false,
base: ENV.VITE_BASE_PATH,
envDir: envDir,
- plugins: [vue()],
+ plugins: [vue(), DefineOptions()],
server: {
cors: true,
host: '0.0.0.0',