From 491264f8787c8c4891e7e47c70278df25bfcb7a7 Mon Sep 17 00:00:00 2001 From: huangq Date: Tue, 23 Feb 2021 14:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=83=A8=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.js | 1 + pages.json | 18 ++ pages/login/components/login-footer.vue | 27 +++ pages/login/login-main/login-main.vue | 170 ++++++++++++++++++ pages/login/login.vue | 77 +++++++- pages/login/reset-password/reset-password.vue | 142 +++++++++++++++ 6 files changed, 426 insertions(+), 9 deletions(-) create mode 100644 common/config.js create mode 100644 pages/login/components/login-footer.vue create mode 100644 pages/login/login-main/login-main.vue create mode 100644 pages/login/reset-password/reset-password.vue diff --git a/common/config.js b/common/config.js new file mode 100644 index 0000000..1dbc0d3 --- /dev/null +++ b/common/config.js @@ -0,0 +1 @@ +export const identifyingCodeTime = 60 \ No newline at end of file diff --git a/pages.json b/pages.json index 698fd4f..0a02e06 100644 --- a/pages.json +++ b/pages.json @@ -30,6 +30,24 @@ } } + ,{ + "path" : "pages/login/login-main/login-main", + "style" : + { + "navigationBarTitleText": "登录", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/login/reset-password/reset-password", + "style" : + { + "navigationBarTitleText": "重置密码", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/login/components/login-footer.vue b/pages/login/components/login-footer.vue new file mode 100644 index 0000000..276f323 --- /dev/null +++ b/pages/login/components/login-footer.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/pages/login/login-main/login-main.vue b/pages/login/login-main/login-main.vue new file mode 100644 index 0000000..4a542b5 --- /dev/null +++ b/pages/login/login-main/login-main.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/pages/login/login.vue b/pages/login/login.vue index eceb1f2..0d48cec 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -1,39 +1,98 @@ + - diff --git a/pages/login/reset-password/reset-password.vue b/pages/login/reset-password/reset-password.vue new file mode 100644 index 0000000..f3f91e6 --- /dev/null +++ b/pages/login/reset-password/reset-password.vue @@ -0,0 +1,142 @@ + + + + +