修改
This commit is contained in:
parent
9022873a6f
commit
5316056a36
@ -182,13 +182,15 @@
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 身份证限制数字格式
|
||||
TypeInput(e, val) {
|
||||
// 只能输入数字的验证;
|
||||
var inputType = /[\W]/g ;//想限制什么类型在这里换换正则就可以了
|
||||
var inputType = /[\W]/g; //想限制什么类型在这里换换正则就可以了
|
||||
this.$nextTick(function() {
|
||||
this.form.cardNumber = e.replace(inputType, '');
|
||||
})
|
||||
},
|
||||
// 取消
|
||||
ontouchcancel() {
|
||||
uni.reLaunch({
|
||||
url: "/pages/Personal/Personal"
|
||||
@ -202,7 +204,7 @@
|
||||
|
||||
})
|
||||
},
|
||||
|
||||
// 性别
|
||||
groupChange(n) {
|
||||
if (n == '男') {
|
||||
this.form.studentSex = 'MALE'
|
||||
@ -236,7 +238,6 @@
|
||||
duration: '2000'
|
||||
})
|
||||
}
|
||||
|
||||
this.$refs.uForm.validate().then(res => {
|
||||
// uni.$u.toast('校验通过')
|
||||
updateStudent(this.form).then(res => {
|
||||
@ -270,8 +271,6 @@
|
||||
icon: 'none'
|
||||
})
|
||||
})
|
||||
// }
|
||||
|
||||
|
||||
},
|
||||
|
||||
@ -401,7 +400,6 @@
|
||||
left: 54%;
|
||||
color: white;
|
||||
background-color: #D7EEE8;
|
||||
// bottom: 5%;
|
||||
}
|
||||
|
||||
.submit {
|
||||
@ -414,7 +412,6 @@
|
||||
position: absolute;
|
||||
left: 20%;
|
||||
color: white;
|
||||
// bottom: 5%;
|
||||
background-color: #35A97A;
|
||||
}
|
||||
|
||||
@ -427,15 +424,6 @@
|
||||
margin-left: 10% !important;
|
||||
}
|
||||
|
||||
|
||||
// ::v-deep .bindtitle {
|
||||
// ::v-deep .input-inner {
|
||||
// // color: #fff!important;
|
||||
// font-size: 5rpx !important;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
::v-deep .u-input {
|
||||
font-size: 5rpx !important;
|
||||
}
|
||||
@ -461,7 +449,6 @@
|
||||
::v-deep .uni-data-select {
|
||||
z-index: 9999 !important;
|
||||
height: 200rpx !important;
|
||||
/* background: red; */
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user