This commit is contained in:
Gdpao
2020-08-09 19:08:12 +08:00
parent 097f7e3cba
commit 234f11eeef
22 changed files with 306 additions and 223 deletions

View File

@@ -71,7 +71,7 @@
value: '',
login: '注册',
show: false,
is_check: null,
is_check: true,
member_mobile: '', //手机号
smslog_type : '1',//状态
sms_code : '', //验证码
@@ -104,9 +104,10 @@
},
// 用户注册
loginIns(){
console.log(this.is_check);
let me = this;
let type_phone = this.$u.test.mobile( this.member_mobile)
if( this.member_mobile == ''){
let type_phone = this.$u.test.mobile(this.member_mobile)
if(this.member_mobile == ''){
this.$refs.uToast.show({
title: '手机号不能为空!',
})
@@ -118,13 +119,13 @@
});
return false;
}
if( this.sms_code == ''){
if(this.sms_code == ''){
this.$refs.uToast.show({
title: '验证码不能为空!',
})
return false;
}
if (this.is_check) {
if (!this.is_check) {
this.$refs.uToast.show({
title: '请同意协议!',
})
@@ -446,10 +447,6 @@
.pact {
position: relative;
padding-left: 40rpx;
overflow: hidden;
// overflow: hidden; //超出的文本隐藏
// text-overflow: ellipsis; //溢出用省略号显示
// white-space: nowrap; //溢出不换行
}
.phones{
margin-bottom: 90rpx!important;