From 6aeed10d63ae624206f6ad27c4411a49946a0d31 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Mon, 18 Dec 2023 10:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 1 + pages.json | 8 ++++++++ pages/findpass/findpass.vue | 22 ++++++++++++++++++++++ pages/login/components/main.vue | 19 +++++++++++++++++-- 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 pages/findpass/findpass.vue diff --git a/config.js b/config.js index edd6d72..caa9e91 100644 --- a/config.js +++ b/config.js @@ -11,6 +11,7 @@ module.exports = { // apiUrl: "http://10.24.4.156/api/", // product env // apiUrl: "http://10.24.4.14:80/", + // apiUrl: "http://10.24.4.156/", apiUrl: "./kk/", /** diff --git a/pages.json b/pages.json index 8b40ddd..4a2fa1b 100644 --- a/pages.json +++ b/pages.json @@ -249,6 +249,14 @@ "navigationBarTitleText" : "", "enablePullDownRefresh" : false } + }, + { + "path" : "pages/findpass/findpass", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } } ], "globalStyle": { diff --git a/pages/findpass/findpass.vue b/pages/findpass/findpass.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/findpass/findpass.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/login/components/main.vue b/pages/login/components/main.vue index 1f739e7..120dacb 100644 --- a/pages/login/components/main.vue +++ b/pages/login/components/main.vue @@ -220,7 +220,20 @@ */ gotopage(str){ this.$toast(str) - } + }, + /** + * 跳转到注册 + */ + register(){ + this.$navTo("pages/reg/reg") + }, + + /** + * + */ + findpass(){ + this.$navTo("page/findpass/findpass") + }, } } @@ -313,9 +326,11 @@ padding-right: 32rpx; text{ - display: block; + // display: block; + display: flex; float: left; width: 46%; + line-height: 1.4; } .findpass{