diff --git a/src/assets/icon/a-b.svg b/src/assets/icon/a-b.svg
new file mode 100644
index 0000000..156e6e4
--- /dev/null
+++ b/src/assets/icon/a-b.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icon/lock-2-fill.svg b/src/assets/icon/lock-2-fill.svg
new file mode 100644
index 0000000..5106f66
--- /dev/null
+++ b/src/assets/icon/lock-2-fill.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icon/user-3-fill.svg b/src/assets/icon/user-3-fill.svg
new file mode 100644
index 0000000..add1180
--- /dev/null
+++ b/src/assets/icon/user-3-fill.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/pages/login/login.jsx b/src/pages/login/login.jsx
index ba375d0..e8589a3 100644
--- a/src/pages/login/login.jsx
+++ b/src/pages/login/login.jsx
@@ -6,6 +6,8 @@ import Taro from '@tarojs/taro';
import ws from '@/api/websocket'
import './login.scss'
import { fetchOpMap } from '@/api/api'
+import iconUser from '@/assets/icon/user-3-fill.svg'
+import iconLock from '@/assets/icon/lock-2-fill.svg'
/*
登录 -> 大厅 -> 新桌面 -> 进桌面 -> profile(弹窗)
@@ -52,20 +54,25 @@ function Login(props, ref) {
}
return (
- Hello Login Page!
+
+ Player
+ Infomation
+ Easily add new account or login the current one.
{/* */}
-
-
+
+
-
-
+
+
-
+
setCapatcha({...capatcha, src: capatcha.origin + '?t=' + Math.random()})} />
-
+
diff --git a/src/pages/login/login.scss b/src/pages/login/login.scss
index aedda5c..d48ae83 100644
--- a/src/pages/login/login.scss
+++ b/src/pages/login/login.scss
@@ -1,10 +1,42 @@
.login {
height: 100vh;
- background-color:goldenrod;
+ background-color:#fff;
+ .ceiling {
+ height: 75px;
+ }
+ .title-line {
+ padding: 6px 39px;
+ }
+ .title-1 {
+ font-size: 36px;
+ color: #EE914E;
+ font-weight: bold;
+ }
+ .title-2 {
+ font-size: 14px;
+ }
+
+ .input-wrap {
+ display: flex;
+ justify-content: center;
+ // align-items: center;
+ margin: 37.5px 0;
+ }
+ .input-icon {
+ margin-right: 16px;
+ height: 36px;
+ width: 36px;
+ padding: 4px 0;
+ }
.input-1 {
- width: 560px;
+ box-sizing: border-box;
+ width: 307px;
+ height: 42px;
border-radius: 16px;
- text-align: center;
+ border: 1px solid #000;
+ font-size: 18px;
+ padding: 5px 20px;
+ box-shadow: 0px 4px 10px rgba($color: #000000, $alpha: 0.3);
}
}
\ No newline at end of file
diff --git a/src/store/conn.js b/src/store/conn.js
index 97c2fd3..349958d 100644
--- a/src/store/conn.js
+++ b/src/store/conn.js
@@ -1,3 +1,4 @@
+import { createSlice } from '@reduxjs/toolkit';
const connSlice = createSlice({
name: 'conn',