手机号198可以输入 个人成绩录入 宽度

This commit is contained in:
shidongli 2022-08-29 09:56:24 +08:00
parent 374a893bef
commit 87cbe3cb20
2 changed files with 4 additions and 3 deletions

View File

@ -220,7 +220,8 @@ export default {
var checkMobile = (rule, value, cb) => { var checkMobile = (rule, value, cb) => {
// //
const regMobile = const regMobile =
/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/; /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/;
// /^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/;
const reg = /^(0[0-9]{2,3}\-)([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/; const reg = /^(0[0-9]{2,3}\-)([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/;
const isTel = reg.test(value); const isTel = reg.test(value);

View File

@ -183,7 +183,7 @@
@click="yryinnerVisible = true" @click="yryinnerVisible = true"
v-if="kindergartenName == '请选择幼儿园'" v-if="kindergartenName == '请选择幼儿园'"
style=" style="
width: 200px; width: 240px;
text-align: left; text-align: left;
height: 36px; height: 36px;
color: #c0c4cc; color: #c0c4cc;
@ -197,7 +197,7 @@
@click="yryinnerVisible = true" @click="yryinnerVisible = true"
v-else v-else
style=" style="
width: 200px; width: 240px;
text-align: left; text-align: left;
height: 36px; height: 36px;
padding-left: -10px; padding-left: -10px;