注册页面

This commit is contained in:
shidongli 2023-10-13 18:11:04 +08:00
parent 9bc29b27c8
commit 543cd45957

View File

@ -288,14 +288,15 @@
},
//
selectChange(val) {
console.log(val);
console.log(val,'999');
},
cancel() {},
confirm(e) {
this.query.diseaseList = e.map(Number)
console.log(e)
this.query.diseaseList = e.map(Number)
console.log(e,'打印e')
},
submit() {
console.log(this.query)
var that = this
that.query.openid = uni.getStorageSync('openid');
if (that.query.sexname == '男') {
@ -356,8 +357,15 @@
});
},
//
// changeRadio() {
// this.selected == 1 ? this.selected = 2 : this.selected = 1
// },
changeRadio() {
this.selected == 1 ? this.selected = 2 : this.selected = 1
if (this.selected == 1) {
this.selected = 2;
} else {
this.selected = 1;
}
},
//
sexchange(e) {
@ -526,15 +534,22 @@
},
godisease(item) {},
tapradio() {
this.selected = 1;
this.selected = 2;
this.maskshow = false;
},
},
//
onLoad(options) {
let that = this
console.log(options, '00')
this.query.headPictureUrl = options.headPictureUrl
// console.log(options, '00')
uni.$on('headPictureUrl',(res)=>{
console.log(res,'99999')
this.query.headPictureUrl = res.tempImg
uni.$off('headPictureUrl')
// B
})
// this.query.headPictureUrl = options.headPictureUrl
// this.query.couponId = Number(options.couponId)
// const value = uni.getStorageSync('patientId');
// if (value) {
@ -574,6 +589,7 @@
flex-direction: column;
justify-content: center;
align-items: center;
background: #fff;
.Agreement {
width: 100%;
@ -704,6 +720,11 @@
}
}
::v-deep .u-radio.data-v-643b3322{
padding-left: 32rpx;
padding-top: 7rpx;
}
::v-deep.input-placeholder {
@ -738,9 +759,9 @@
}
::v-deep .u-radio.data-v-643b3322 {
margin-top: 8rpx;
margin-left: 30rpx;
::v-deep .u-radio[data-v-643b3322]{
margin-top: 8rpx !important;
margin-left: 30rpx !important;
}
@ -899,4 +920,4 @@
/deep/ .u-form-item__message {
padding-left: 0 !important;
}
</style>
</style>