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