注册页面
This commit is contained in:
parent
9bc29b27c8
commit
543cd45957
@ -288,14 +288,15 @@
|
|||||||
},
|
},
|
||||||
// 下拉框多选
|
// 下拉框多选
|
||||||
selectChange(val) {
|
selectChange(val) {
|
||||||
console.log(val);
|
console.log(val,'999');
|
||||||
},
|
},
|
||||||
cancel() {},
|
cancel() {},
|
||||||
confirm(e) {
|
confirm(e) {
|
||||||
this.query.diseaseList = e.map(Number)
|
this.query.diseaseList = e.map(Number)
|
||||||
console.log(e)
|
console.log(e,'打印e')
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
|
console.log(this.query)
|
||||||
var that = this
|
var that = this
|
||||||
that.query.openid = uni.getStorageSync('openid');
|
that.query.openid = uni.getStorageSync('openid');
|
||||||
if (that.query.sexname == '男') {
|
if (that.query.sexname == '男') {
|
||||||
@ -356,8 +357,15 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//切换
|
//切换
|
||||||
|
// changeRadio() {
|
||||||
|
// this.selected == 1 ? this.selected = 2 : this.selected = 1
|
||||||
|
// },
|
||||||
changeRadio() {
|
changeRadio() {
|
||||||
this.selected == 1 ? this.selected = 2 : this.selected = 1
|
if (this.selected == 1) {
|
||||||
|
this.selected = 2;
|
||||||
|
} else {
|
||||||
|
this.selected = 1;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 性别
|
// 性别
|
||||||
sexchange(e) {
|
sexchange(e) {
|
||||||
@ -526,15 +534,22 @@
|
|||||||
},
|
},
|
||||||
godisease(item) {},
|
godisease(item) {},
|
||||||
tapradio() {
|
tapradio() {
|
||||||
this.selected = 1;
|
this.selected = 2;
|
||||||
this.maskshow = false;
|
this.maskshow = false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
//进入界面加载
|
//进入界面加载
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
let that = this
|
let that = this
|
||||||
console.log(options, '00')
|
// console.log(options, '00')
|
||||||
this.query.headPictureUrl = options.headPictureUrl
|
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)
|
// this.query.couponId = Number(options.couponId)
|
||||||
// const value = uni.getStorageSync('patientId');
|
// const value = uni.getStorageSync('patientId');
|
||||||
// if (value) {
|
// if (value) {
|
||||||
@ -574,6 +589,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
background: #fff;
|
||||||
|
|
||||||
.Agreement {
|
.Agreement {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -704,6 +720,11 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
::v-deep .u-radio.data-v-643b3322{
|
||||||
|
padding-left: 32rpx;
|
||||||
|
padding-top: 7rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep.input-placeholder {
|
::v-deep.input-placeholder {
|
||||||
@ -738,9 +759,9 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .u-radio.data-v-643b3322 {
|
::v-deep .u-radio[data-v-643b3322]{
|
||||||
margin-top: 8rpx;
|
margin-top: 8rpx !important;
|
||||||
margin-left: 30rpx;
|
margin-left: 30rpx !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -899,4 +920,4 @@
|
|||||||
/deep/ .u-form-item__message {
|
/deep/ .u-form-item__message {
|
||||||
padding-left: 0 !important;
|
padding-left: 0 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user