diff --git a/vue/src/assets/styles/login.scss b/vue/src/assets/styles/login.scss
index c8599ec..e9939fc 100644
--- a/vue/src/assets/styles/login.scss
+++ b/vue/src/assets/styles/login.scss
@@ -95,5 +95,23 @@ $cursor: #fff;
background: rgba(0, 0, 0, 0.1);
margin-bottom: 22px;
}
+
+ .submit-btn {
+ width: 100%;
+ }
+
+ .other-ways {
+ color: #fff;
+ font-size: 14px;
+
+ svg {
+ cursor: pointer;
+ margin-left: 10px;
+
+ &:hover {
+ color: $--color-primary;
+ }
+ }
+ }
}
}
diff --git a/vue/src/router/constant/modules/app.js b/vue/src/router/constant/modules/app.js
index af1626b..bf6fba2 100644
--- a/vue/src/router/constant/modules/app.js
+++ b/vue/src/router/constant/modules/app.js
@@ -14,12 +14,9 @@ const router = [
},
{
path: '/login',
+ alias: '/register',
component: () => import('@/views/app/login')
},
- {
- path: '/register',
- component: () => import('@/views/app/register')
- },
{
path: '/404',
component: () => import('@/views/app/404')
diff --git a/vue/src/store/modules/app.js b/vue/src/store/modules/app.js
index 627bbfe..6c4d0b9 100644
--- a/vue/src/store/modules/app.js
+++ b/vue/src/store/modules/app.js
@@ -8,9 +8,7 @@ const state = {
//区分pc和移动端(mobile)
device: isMobile() ? 'mobile' : 'pc',
//登陆页背景动画
- loginPageBackgroundAnimation: 'firework',
- //注册页背景动画
- registerPageBackgroundAnimation: 'firework',
+ loginBackgroundAnimation: 'firework',
//路由页面滚动高度
scrollTop: 0,
//右侧块是否含有头部
diff --git a/vue/src/views/app/login.vue b/vue/src/views/app/login.vue
deleted file mode 100644
index 45f14d7..0000000
--- a/vue/src/views/app/login.vue
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
-
- 进销存管理系统
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 登 录
-
-
- 其他方式登录
-
-
-
-
-
注册账户
-
-
-
-
-
-
-
-
-
diff --git a/vue/src/views/app/login/LoginForm.vue b/vue/src/views/app/login/LoginForm.vue
new file mode 100644
index 0000000..f0d7348
--- /dev/null
+++ b/vue/src/views/app/login/LoginForm.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 登 录
+
+
+
+
+
diff --git a/vue/src/views/app/login/RegisterForm.vue b/vue/src/views/app/login/RegisterForm.vue
new file mode 100644
index 0000000..7e60c8d
--- /dev/null
+++ b/vue/src/views/app/login/RegisterForm.vue
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 注 册
+
+
+
+
+
diff --git a/vue/src/views/app/components/SetAnimation.vue b/vue/src/views/app/login/SetAnimation.vue
similarity index 100%
rename from vue/src/views/app/components/SetAnimation.vue
rename to vue/src/views/app/login/SetAnimation.vue
diff --git a/vue/src/views/app/login/index.vue b/vue/src/views/app/login/index.vue
new file mode 100644
index 0000000..528ad79
--- /dev/null
+++ b/vue/src/views/app/login/index.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
diff --git a/vue/src/views/app/register.vue b/vue/src/views/app/register.vue
deleted file mode 100644
index 9d215ee..0000000
--- a/vue/src/views/app/register.vue
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
-
-
- 用户注册
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 注 册
-
-
-
-
-
-
-
-
-