|
@@ -158,10 +158,6 @@
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // if (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(this.account)) {
|
|
|
|
|
- // obj.$api.msg('请输入正确的手机号');
|
|
|
|
|
- // return;
|
|
|
|
|
- // }
|
|
|
|
|
if (obj.password == '') {
|
|
if (obj.password == '') {
|
|
|
obj.$api.msg(obj.$t("reg.a9"));
|
|
obj.$api.msg(obj.$t("reg.a9"));
|
|
|
return;
|
|
return;
|
|
@@ -172,7 +168,6 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
register({
|
|
register({
|
|
|
- // account: obj.account, //账号
|
|
|
|
|
account: obj.account, //账号
|
|
account: obj.account, //账号
|
|
|
captcha: obj.captcha, //验证码
|
|
captcha: obj.captcha, //验证码
|
|
|
password: obj.password, //密码
|
|
password: obj.password, //密码
|
|
@@ -180,15 +175,15 @@
|
|
|
spread: this.spread //上级推广人
|
|
spread: this.spread //上级推广人
|
|
|
}).then(function(e) {
|
|
}).then(function(e) {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
- title: this.$t("reg.c5"),
|
|
|
|
|
|
|
+ title: obj.$t("reg.c5"),
|
|
|
duration: 2000,
|
|
duration: 2000,
|
|
|
position: 'top'
|
|
position: 'top'
|
|
|
});
|
|
});
|
|
|
uni.showModal({
|
|
uni.showModal({
|
|
|
- title: this.$t("enter.a7"),
|
|
|
|
|
- content: this.$t("login.c3"),
|
|
|
|
|
- cancelText: this.$t("zy.b4"),
|
|
|
|
|
- confirmText: this.$t("zy.b3"),
|
|
|
|
|
|
|
+ title: obj.$t("enter.a7"),
|
|
|
|
|
+ content: obj.$t("login.c3"),
|
|
|
|
|
+ cancelText: obj.$t("zy.b4"),
|
|
|
|
|
+ confirmText: obj.$t("zy.b3"),
|
|
|
success: res => {
|
|
success: res => {
|
|
|
if(res.confirm){
|
|
if(res.confirm){
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|