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,