25856
This commit is contained in:
@@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
|
|
||||||
<u-form-item label="地址" prop="address" required :border-bottom="false" right-icon="arrow-right">
|
<u-form-item label="地址" prop="address" required :border-bottom="false" right-icon="arrow-right" class="addresss">
|
||||||
<u-input v-model="forms.address" placeholder="请输入地址" />
|
<AiAreaPicker v-model="forms.areaId" all :areaId="user.areaId" @select="areaSelect"></AiAreaPicker>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
@@ -69,7 +69,7 @@ export default {
|
|||||||
|
|
||||||
modeTypeValue: '',
|
modeTypeValue: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
address: '',
|
areaId: '',
|
||||||
content: '',
|
content: '',
|
||||||
|
|
||||||
personType: 1,
|
personType: 1,
|
||||||
@@ -124,7 +124,7 @@ export default {
|
|||||||
modeType: this.forms.modeTypeValue,
|
modeType: this.forms.modeTypeValue,
|
||||||
phone: this.forms.phone,
|
phone: this.forms.phone,
|
||||||
|
|
||||||
address: this.forms.address,
|
address: this.forms.areaId,
|
||||||
content: this.forms.content,
|
content: this.forms.content,
|
||||||
createUserId: this.user.id,
|
createUserId: this.user.id,
|
||||||
personType: this.forms.personType,
|
personType: this.forms.personType,
|
||||||
@@ -156,6 +156,10 @@ export default {
|
|||||||
this.forms.modeTypeValue = e[0].value
|
this.forms.modeTypeValue = e[0].value
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
areaSelect(e) {
|
||||||
|
this.forms.areaId = e.id
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -191,6 +195,27 @@ export default {
|
|||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.addresss {
|
||||||
|
.u-form-item__body {
|
||||||
|
.u-form-item--right {
|
||||||
|
.u-form-item--right__content {
|
||||||
|
.u-form-item--right__content__slot {
|
||||||
|
.AiAreaPicker {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
.areaSelector {
|
||||||
|
.location {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.avatars,
|
.avatars,
|
||||||
.contents {
|
.contents {
|
||||||
padding-bottom: 20px !important;
|
padding-bottom: 20px !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user