From dd5db56bf8fc53d39689ada6f5aa5f7898b8e5a3 Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Mon, 7 Sep 2020 15:47:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=96=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pageE/more/ApplyLive.vue | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/pageE/more/ApplyLive.vue b/pageE/more/ApplyLive.vue
index 807a4b5..703aa84 100644
--- a/pageE/more/ApplyLive.vue
+++ b/pageE/more/ApplyLive.vue
@@ -3,11 +3,11 @@
-
+
-
+
@@ -16,7 +16,7 @@
-
+
@@ -80,6 +80,17 @@ export default {
this.getHobbyList();
},
methods: {
+ names(a){
+ console.log(a.detail)
+ this.name = a.detail.value
+ },
+ phones(a){
+ this.phone = a.detail.value
+ },
+ detailss(a){
+ this.details = a.detail.value
+ },
+
getAreaData() {
this.$u.api.getArea().then((res)=>{
if (res.errCode == 0) {
@@ -121,11 +132,11 @@ export default {
this.$u.toast('姓名不能为空');
return false;
}
- if(this.$u.test.isEmpty(this.$refs.phone.valueSync)) {
+ if(this.$u.test.isEmpty(this.phone)) {
this.$u.toast('手机号不能为空');
return false;
}
- if(!this.$u.test.mobile(this.$refs.phone.valueSync)) {
+ if(!this.$u.test.mobile(this.phone)) {
this.$u.toast('手机号错误');
return false;
}
@@ -153,7 +164,7 @@ export default {
this.isSubmit = false;
this.$u.api.applyExpert({
name: this.name,
- mobile: this.$refs.phone.valueSync,
+ mobile: this.phone,
address: this.address + this.details,
industry: this.checkedIndustryList,
hobby: this.checkedHobbyList,