From 79a47dcb69e65287302b75db3bcd8329e828b0dd Mon Sep 17 00:00:00 2001 From: mutoe Date: Thu, 11 Oct 2018 18:24:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(signin):=20(#580)=20=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E7=99=BB=E9=99=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/sign/Signin.vue | 11 +++ src/page/sign/SigninDynamic.vue | 156 ++++++++++++++++++++++++++++++++ src/routers/sign.js | 9 ++ 3 files changed, 176 insertions(+) create mode 100644 src/page/sign/SigninDynamic.vue diff --git a/src/page/sign/Signin.vue b/src/page/sign/Signin.vue index b9796ea0..c03a0af6 100644 --- a/src/page/sign/Signin.vue +++ b/src/page/sign/Signin.vue @@ -70,6 +70,9 @@ 忘记密码 +
+ 使用手机号一键登陆 +
@@ -170,6 +173,14 @@ export default { } } + .dynamic-signin { + display: flex; + align-items: center; + justify-content: center; + font-size: 28px; + margin-top: 80px; + } + .m-trhsignin { position: relative; text-align: center; diff --git a/src/page/sign/SigninDynamic.vue b/src/page/sign/SigninDynamic.vue new file mode 100644 index 00000000..4aa8c9c4 --- /dev/null +++ b/src/page/sign/SigninDynamic.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/src/routers/sign.js b/src/routers/sign.js index a11a0b92..0c29fafe 100644 --- a/src/routers/sign.js +++ b/src/routers/sign.js @@ -2,6 +2,7 @@ import Forgot from "@/page/sign/Forgot.vue"; import ChangePassword from "@/page/sign/ChangePassword.vue"; import Signup from "@/page/sign/Signup.vue"; import Signin from "@/page/sign/Signin.vue"; +import SigninDynamic from "@/page/sign/SigninDynamic.vue"; import RegisterProtocol from "@/page/sign/RegisterProtocol.vue"; export default [ @@ -13,6 +14,14 @@ export default [ forGuest: true } }, + { + path: "/signin/dynamic", + component: SigninDynamic, + meta: { + title: "一键登录", + forGuest: true + } + }, { path: "/signup", component: Signup,