From eb85e1132515a80c1b2fd9446f490f07d2914fd3 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Tue, 31 Oct 2023 11:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9F=AD=E4=BF=A1=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 10 +- pages/home.vue | 6 +- pages/login/index.vue | 28 +++-- pages/login/loginsms.vue | 239 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 266 insertions(+), 17 deletions(-) create mode 100644 pages/login/loginsms.vue diff --git a/pages.json b/pages.json index eb6919a..71150a7 100644 --- a/pages.json +++ b/pages.json @@ -123,10 +123,18 @@ { "navigationBarTitleText": "", "enablePullDownRefresh": false, - "navigationStyle": "custom" + "navigationStyle": "custom" } + }, + { + "path" : "pages/login/loginsms", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } } ], "globalStyle": { diff --git a/pages/home.vue b/pages/home.vue index ee138a0..d18e716 100644 --- a/pages/home.vue +++ b/pages/home.vue @@ -199,10 +199,14 @@ this.isLogin = true }else{ this.isLogin= false - showError("请登录后再操作") + setTimeout("",1200) + showError("请登录后再操作",this.gotologin()) } }, + gotologin(){ + this.$navTo("pages/login/index") + }, // 退出登录 handleLogout() { const app = this diff --git a/pages/login/index.vue b/pages/login/index.vue index 3bdcd29..a52f618 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -31,7 +31,7 @@ - 验证码登录 + 验证码登录 @@ -166,23 +166,21 @@ height: 100%; } + // 国家代码选择 .gjcode{ - font-size: 36rpx; - width: 46rpx; + width: 66rpx; height: 100%; + + select{ + font-size: 32rpx; + border: none; + padding: 6rpx; + margin-right: 22rpx; + height: 100%; + background-color: #F8F8F8; + } } - - // 图形验证码 - .captcha { - height: 100%; - - .image { - display: block; - width: 192rpx; - height: 100%; - line-height: 100%; - } - } + // end } // 登录按钮 diff --git a/pages/login/loginsms.vue b/pages/login/loginsms.vue new file mode 100644 index 0000000..cc19a39 --- /dev/null +++ b/pages/login/loginsms.vue @@ -0,0 +1,239 @@ + + + + +