|
@@ -67,7 +67,9 @@ async function submitInfo(formEl: FormInstance | undefined) {
|
|
ElMessage.success('You have been submitted successfully!')
|
|
ElMessage.success('You have been submitted successfully!')
|
|
formEl.resetFields()
|
|
formEl.resetFields()
|
|
}
|
|
}
|
|
- else { console.log('error submit!') }
|
|
|
|
|
|
+ else {
|
|
|
|
+ console.log('error submit!')
|
|
|
|
+ }
|
|
})
|
|
})
|
|
}
|
|
}
|
|
async function getCountryList() {
|
|
async function getCountryList() {
|
|
@@ -100,25 +102,28 @@ getCountryList()
|
|
<el-input
|
|
<el-input
|
|
v-model="formInfo.name"
|
|
v-model="formInfo.name"
|
|
placeholder="Please enter your name"
|
|
placeholder="Please enter your name"
|
|
- class="h-40px item-input !b-rd-10px"
|
|
|
|
|
|
+ class="h-40px item-input !b-rd-10px"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="Email" prop="mail">
|
|
<el-form-item label="Email" prop="mail">
|
|
<el-input
|
|
<el-input
|
|
v-model="formInfo.mail"
|
|
v-model="formInfo.mail"
|
|
placeholder="Please enter your email"
|
|
placeholder="Please enter your email"
|
|
- class="h-40px item-input !b-rd-10px"
|
|
|
|
|
|
+ class="h-40px item-input !b-rd-10px"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="Subjects" prop="subjects">
|
|
<el-form-item label="Subjects" prop="subjects">
|
|
<el-input
|
|
<el-input
|
|
v-model="formInfo.subjects"
|
|
v-model="formInfo.subjects"
|
|
placeholder="Please enter your subjects"
|
|
placeholder="Please enter your subjects"
|
|
- class="h-40px item-input !b-rd-10px"
|
|
|
|
|
|
+ class="h-40px item-input !b-rd-10px"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="Country" prop="country" class="custom-form-item">
|
|
<el-form-item label="Country" prop="country" class="custom-form-item">
|
|
- <el-select v-model="formInfo.country" placeholder="Please enter your country">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="formInfo.country"
|
|
|
|
+ placeholder="Please enter your country"
|
|
|
|
+ >
|
|
<el-option
|
|
<el-option
|
|
v-for="(item, index) in countryList"
|
|
v-for="(item, index) in countryList"
|
|
:key="index"
|
|
:key="index"
|
|
@@ -133,7 +138,7 @@ getCountryList()
|
|
<el-input
|
|
<el-input
|
|
v-model="formInfo.mobile"
|
|
v-model="formInfo.mobile"
|
|
placeholder="Please enter your Phone number"
|
|
placeholder="Please enter your Phone number"
|
|
- class="h-40px item-input !b-rd-10px"
|
|
|
|
|
|
+ class="h-40px item-input !b-rd-10px"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="Message" prop="message" class="!mb-60px">
|
|
<el-form-item label="Message" prop="message" class="!mb-60px">
|
|
@@ -167,11 +172,11 @@ getCountryList()
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #333 !important;
|
|
color: #333 !important;
|
|
}
|
|
}
|
|
- .el-form-item{
|
|
|
|
|
|
+ .el-form-item {
|
|
display: block !important;
|
|
display: block !important;
|
|
margin-bottom: 34px;
|
|
margin-bottom: 34px;
|
|
&:last-child {
|
|
&:last-child {
|
|
- margin-bottom: 0px!important;
|
|
|
|
|
|
+ margin-bottom: 0px !important;
|
|
}
|
|
}
|
|
.el-form-item__content {
|
|
.el-form-item__content {
|
|
.el-textarea {
|
|
.el-textarea {
|
|
@@ -179,23 +184,23 @@ getCountryList()
|
|
height: 100px !important;
|
|
height: 100px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .el-select{
|
|
|
|
- .el-select__wrapper{
|
|
|
|
- box-shadow: none !important;
|
|
|
|
- height: 40px !important;
|
|
|
|
- border-radius: 10px !important;
|
|
|
|
|
|
+ .el-select {
|
|
|
|
+ .el-select__wrapper {
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
+ height: 40px !important;
|
|
|
|
+ border-radius: 10px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .item-input{
|
|
|
|
- .el-input__wrapper{
|
|
|
|
- box-shadow: none !important;
|
|
|
|
- border-radius: 10px !important;
|
|
|
|
|
|
+ .item-input {
|
|
|
|
+ .el-input__wrapper {
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
+ border-radius: 10px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .el-textarea{
|
|
|
|
- .el-textarea__inner{
|
|
|
|
- box-shadow: none !important;
|
|
|
|
- border-radius: 10px !important;
|
|
|
|
|
|
+ .el-textarea {
|
|
|
|
+ .el-textarea__inner {
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
+ border-radius: 10px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|