@@ -23,9 +23,6 @@
height: 100%;
overflow: hidden;
display: flex;
- background-color: rgba(248, 247, 245, 1);
- background-image: url('@/assets/images/home-bg.png');
- background-size: 100% 100%;
user-select: none;
> .right-main {
flex: 1;
diff --git a/src/views/home/left-nav.vue b/src/views/home/left-nav.vue
index 8bedd54..7111304 100644
--- a/src/views/home/left-nav.vue
+++ b/src/views/home/left-nav.vue
@@ -189,7 +189,6 @@
justify-content: space-between;
align-items: center;
padding: 0 0.8rem;
- box-sizing: border-box;
}
> .title {
font-weight: 600;
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 35ff681..48db8c9 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -1,13 +1,63 @@
-
+
+
+
diff --git a/src/views/login/login.vue b/src/views/login/login.vue
index 20d6591..40b48e3 100644
--- a/src/views/login/login.vue
+++ b/src/views/login/login.vue
@@ -1,13 +1,108 @@
-
+
+
+

+
+

+
FiDA
+
+
+
+
+
+
+
+

+
+
+
Log on to
+

+
+ A multi-agent canvas for rapid, trend driven design iteration.
+
+
+
+
+
+
+
+
+ forget password?
+
+
+
+ I agree to the Terms, Policy and Fees.
+
+
+
+ Log in
+
+
+
+ Don't have an account? Sign up
+
+
+
+
+
+
+
diff --git a/src/views/login/other-login.vue b/src/views/login/other-login.vue
new file mode 100644
index 0000000..d2b6012
--- /dev/null
+++ b/src/views/login/other-login.vue
@@ -0,0 +1,76 @@
+
+
+
or continue with
+
+
+
+ Sign in with Google
+
+
+
+ Sign in with Wechat
+
+
+
+
+
+
+
+
diff --git a/src/views/login/register.vue b/src/views/login/register.vue
new file mode 100644
index 0000000..a5989fe
--- /dev/null
+++ b/src/views/login/register.vue
@@ -0,0 +1,110 @@
+
+
+
+

+
+

+
FiDA
+
+
+
+
+
+
+
+

+
+
+
Register for
+

+
+ A multi-agent canvas for rapid, trend driven design iteration.
+
+
+
+
+
+
+
+
+
+
+
+
+ I agree to the Terms, Policy and Fees.
+
+
+
+ Register
+
+
+
+ Already have an account? Log in
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/login/style.less b/src/views/login/style.less
new file mode 100644
index 0000000..7903ac9
--- /dev/null
+++ b/src/views/login/style.less
@@ -0,0 +1,187 @@
+.register,
+.login {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ padding: 2.5rem;
+ display: flex;
+
+ >.left {
+ flex: 1;
+ height: 100%;
+ position: relative;
+ overflow: hidden;
+
+ >.bg {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ border-radius: 2rem;
+ }
+
+ >.logo {
+ position: absolute;
+ top: 2.4rem;
+ left: 4.2rem;
+
+ >img {
+ width: 6rem;
+ height: auto;
+ }
+
+ >span {
+ font-weight: 600;
+ font-size: 3.3rem;
+ }
+ }
+ }
+
+ >.right {
+ width: 90rem;
+ min-width: 600px;
+ display: flex;
+ flex-direction: column;
+
+ >.top {
+ display: flex;
+ padding: 0 3rem;
+
+ >.back {
+ width: 5rem;
+ height: 5rem;
+ border-radius: 1.2rem;
+ border: 0.25rem solid rgba(223, 223, 223, 1);
+ background-color: transparent;
+ cursor: pointer;
+ }
+ }
+
+ >.box {
+ min-width: 50rem;
+ flex: 1;
+ overflow-y: auto;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+
+ >img {
+ width: 11rem;
+ height: auto;
+ margin-top: 2rem;
+ }
+
+ >.visible-code {
+ margin-top: 1.7rem;
+ margin-bottom: 7.2rem;
+ }
+
+ >.title {
+ font-weight: 600;
+ font-size: 7rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #252727;
+ margin-top: 1.7rem;
+
+ >img {
+ width: auto;
+ height: 9.8rem;
+ }
+ }
+
+ >.tip {
+ font-weight: 400;
+ font-family: General Sans Variable;
+ font-style: Regular;
+ font-size: 1.8rem;
+ color: #666;
+ margin-top: 0.4rem;
+ }
+
+ >.el-form {
+ margin-top: 5rem;
+ width: 100%;
+
+ &::v-deep {
+ .el-form-item {
+ margin-bottom: 2rem;
+ }
+
+ .el-form-item__label {
+ color: #252727;
+ font-size: 1.8rem;
+ margin-bottom: 0.8rem;
+ }
+
+ .el-input {
+ --el-input-height: 5rem;
+ --el-input-border-radius: 0.8rem;
+ --el-input-text-color: #252727;
+ --el-border-color: #dfdfdf;
+ font-size: 1.4rem;
+ }
+
+ .forgetPassword {
+ margin-top: -1.2rem;
+ margin-bottom: 2rem;
+ font-size: 1.6rem;
+ text-align: right;
+ color: #666666;
+ cursor: pointer;
+ text-decoration: underline;
+ }
+
+
+ .privacy {
+ --el-checkbox-height: auto;
+ margin-bottom: 4rem;
+
+ .el-checkbox__label {
+ font-size: 1.6rem;
+ color: #666666;
+ font-weight: 400;
+
+ >span {
+ text-decoration: underline;
+ cursor: pointer;
+ }
+ }
+ }
+
+ .el-form-item__error {
+ padding-top: 1px;
+ font-size: 1.4rem;
+ }
+
+ .submit {
+ width: 100%;
+ height: 6rem;
+ background: #252727;
+ font-size: 2rem;
+ border-radius: 0.8rem;
+ color: #fff;
+ font-weight: 600;
+ }
+ }
+ }
+
+ >.tip-2 {
+ font-weight: 400;
+ font-size: 1.6rem;
+ color: #666;
+
+ >span {
+ text-decoration: underline;
+ color: #FF7A50;
+ cursor: pointer;
+ }
+ }
+
+ >.other-login {
+ margin-top: 5rem;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/views/login/tools.js b/src/views/login/tools.js
new file mode 100644
index 0000000..370df5c
--- /dev/null
+++ b/src/views/login/tools.js
@@ -0,0 +1,35 @@
+export const validateName = (rule, value, callback) => {
+ var str = ""
+ if (!value) {
+ str = 'Please input the name'
+ } else if (value.length < 2 || value.length > 20) {
+ str = 'Name length must be between 2 and 20 characters'
+ }
+ callback(str ? new Error(str) : undefined)
+}
+export const validateEmail = (rule, value, callback) => {
+ const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(\.[a-zA-Z]{2,})?$/
+ var str = ''
+ if (!value) {
+ str = 'Please input the email'
+ } else if (!emailRegex.test(value)) {
+ str = 'Please input the email again'
+ }
+ callback(str ? new Error(str) : undefined)
+}
+export const validatePass = (rule, value, callback) => {
+ var str = ''
+ if (!value) {
+ str = 'Please input the password'
+ } else if (value.length < 6 || value.length > 20) {
+ str = 'Password length must be between 6 and 20 characters'
+ }
+ callback(str ? new Error(str) : undefined)
+}
+export const validatePrivacy = (rule, value, callback) => {
+ if (!value) {
+ callback(new Error('Please agree to the Terms, Policy and Fees'))
+ } else {
+ callback()
+ }
+}
\ No newline at end of file
diff --git a/src/views/login/visible-code.vue b/src/views/login/visible-code.vue
new file mode 100644
index 0000000..cd59601
--- /dev/null
+++ b/src/views/login/visible-code.vue
@@ -0,0 +1,105 @@
+
+
+
Verify your email address
+
+ A verification code has been sent to {{ email }}
+
+
+
Verify
+
+ Resend Code in {{ timeStr }}
+
+
+
+
+
+
+