更改手机号输入数字

This commit is contained in:
魏啾
2024-11-25 14:15:10 +08:00
parent 2147f86b93
commit 374c561803
12 changed files with 18 additions and 18 deletions

View File

@@ -34,7 +34,7 @@
</view>
<view class="Box_box flex-between">
<view class="Box_boxone">*手机号</view>
<view class="Box_boxtow"><input type="text" v-model="form.mobile" placeholder="请填写联系电话" /></view>
<view class="Box_boxtow"><input type="number" v-model="form.mobile" placeholder="请填写联系电话" /></view>
</view>
<template v-if="form.user_type == 2">
<view class="Box_box flex-between" @click="showElse = !showElse">
@@ -52,7 +52,7 @@
</view>
<view class="Box_box flex-between">
<view class="Box_boxone">联系电话</view>
<view class="Box_boxtow"><input type="text" v-model="form.c_phone" placeholder="请填写公司联系电话" />
<view class="Box_boxtow"><input type="number" v-model="form.c_phone" placeholder="请填写公司联系电话" />
</view>
</view>
<view class="Box_box flex-between">