手机号
This commit is contained in:
parent
d0e58b876a
commit
e1a74972f2
@ -12,7 +12,7 @@
|
|||||||
</u-radio-group>
|
</u-radio-group>
|
||||||
</view>
|
</view>
|
||||||
<view class="invoice-list" v-if="currentList.length">
|
<view class="invoice-list" v-if="currentList.length">
|
||||||
<u-radio-group v-model="invoice" @change="selectInvoice" active-color="#FF780F" icon-size="12" size="30" :wrap="true">
|
<u-radio-group v-model="invoice" @change="selectInvoice" active-color="#FF780F" icon-size="22" size="30" :wrap="true">
|
||||||
<u-radio
|
<u-radio
|
||||||
v-for="(item, index) in currentList" :key="index"
|
v-for="(item, index) in currentList" :key="index"
|
||||||
:name="item.invoice_id"
|
:name="item.invoice_id"
|
||||||
|
@ -59,7 +59,6 @@ export default {
|
|||||||
height: 140rpx;
|
height: 140rpx;
|
||||||
border-radius: 70rpx;
|
border-radius: 70rpx;
|
||||||
margin-bottom: 29rpx;
|
margin-bottom: 29rpx;
|
||||||
background-color: aqua;
|
|
||||||
}
|
}
|
||||||
.name {
|
.name {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
@ -124,7 +123,6 @@ export default {
|
|||||||
width: 239rpx;
|
width: 239rpx;
|
||||||
height: 170rpx;
|
height: 170rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
background-color: aqua;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<label for="phone">手机号:</label>
|
<label for="phone">手机号:</label>
|
||||||
<input type="number" id="phone" v-model="phone" maxlength="11" placeholder="请输入手机号" />
|
<input type="number" id="phone" ref='phone' maxlength="11" placeholder="请输入手机号" />
|
||||||
</view>
|
</view>
|
||||||
<view @click="show=true">
|
<view @click="show=true">
|
||||||
<label for="address">居住地址:</label>
|
<label for="address">居住地址:</label>
|
||||||
@ -121,11 +121,11 @@ export default {
|
|||||||
this.$u.toast('姓名不能为空');
|
this.$u.toast('姓名不能为空');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(this.$u.test.isEmpty(this.phone)) {
|
if(this.$u.test.isEmpty(this.$refs.phone.valueSync)) {
|
||||||
this.$u.toast('手机号不能为空');
|
this.$u.toast('手机号不能为空');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(!this.$u.test.mobile(this.phone)) {
|
if(!this.$u.test.mobile(this.$refs.phone.valueSync)) {
|
||||||
this.$u.toast('手机号错误');
|
this.$u.toast('手机号错误');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ export default {
|
|||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
this.$u.api.applyExpert({
|
this.$u.api.applyExpert({
|
||||||
name: this.name,
|
name: this.name,
|
||||||
mobile: this.phone,
|
mobile: this.$refs.phone.valueSync,
|
||||||
address: this.address + this.details,
|
address: this.address + this.details,
|
||||||
industry: this.checkedIndustryList,
|
industry: this.checkedIndustryList,
|
||||||
hobby: this.checkedHobbyList,
|
hobby: this.checkedHobbyList,
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
:header="header"
|
:header="header"
|
||||||
:form-data="formData"
|
:form-data="formData"
|
||||||
:name="fileName"
|
:name="fileName"
|
||||||
|
:size-type="['original']"
|
||||||
@on-list-change="setImageList"
|
@on-list-change="setImageList"
|
||||||
>
|
>
|
||||||
<view slot="addBtn" class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
|
<view slot="addBtn" class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
|
||||||
@ -33,6 +34,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
name: 'CommonView',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
count: 3,
|
count: 3,
|
||||||
|
Loading…
Reference in New Issue
Block a user