diff --git a/pages/register/register.vue b/pages/register/register.vue index e067922..ec9466a 100644 --- a/pages/register/register.vue +++ b/pages/register/register.vue @@ -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; } - \ No newline at end of file +