This commit is contained in:
闫晓茹 2023-08-07 10:19:59 +08:00
parent 9022873a6f
commit 5316056a36

View File

@ -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>