From 8a0d0628316814974537be07552276a8c526090c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=8A=E9=87=8C?= <1227971437@qq.com>
Date: Fri, 9 Apr 2021 22:48:05 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E4=BB=85=E6=94=AF?=
=?UTF-8?q?=E6=8C=81=E4=B8=AD=E5=9B=BD=E5=A4=A7=E9=99=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../uni-login-page/pages/index/index.vue | 19 ++++++++++++-------
.../uni-login-page/pages/index/pwd-login.vue | 17 +++++++++++------
2 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/uni_modules/uni-login-page/pages/index/index.vue b/uni_modules/uni-login-page/pages/index/index.vue
index 653d13c6..9d447b53 100644
--- a/uni_modules/uni-login-page/pages/index/index.vue
+++ b/uni_modules/uni-login-page/pages/index/index.vue
@@ -10,10 +10,11 @@
-
-
- {{currenPhoneArea}}
-
+
+
+
+ {{currenPhoneArea}}
+
@@ -51,7 +52,7 @@
text: '隐私政策',
to: '/pages/ucenter/agree-list/privacy/privacy'
}],
- phoneArea: ['+86', '+87'],
+ phoneArea: ['+86'],
currenPhoneArea: '+86',
phoneNumber: '',
@@ -104,8 +105,12 @@
console.log('表单错误信息:', err);
})
},
- selectPhoneArea(event) {
- this.currenPhoneArea = this.phoneArea[event.detail.value];
+ selectPhoneArea(event) {
+ uni.showToast({
+ title: '当前仅支持中国大陆手机号',
+ icon: 'none'
+ });
+ // this.currenPhoneArea = this.phoneArea[event.detail.value];
},
sendShortMsg() {
if (!this.canGetShortMsg) return;
diff --git a/uni_modules/uni-login-page/pages/index/pwd-login.vue b/uni_modules/uni-login-page/pages/index/pwd-login.vue
index fc1cff21..d01ca09c 100644
--- a/uni_modules/uni-login-page/pages/index/pwd-login.vue
+++ b/uni_modules/uni-login-page/pages/index/pwd-login.vue
@@ -11,9 +11,10 @@
-
- {{currenPhoneArea}}
-
+
+
+ {{currenPhoneArea}}
+