handleRadio(e){
console.log(e)
this.setData({
agreementChecked:!this.data.agreementChecked
})
},
agreementChecked:false,
css 圆角改为方角
radio .wx-radio-input{
width: 26rpx;
height: 26rpx;
line-height: 26rpx;
border-radius: 3px;/* 圆角:border-radius: 50%; /
}
radio .wx-radio-input.wx-radio-input-checked {
border: 1rpx solid #4788E5;
background: #4788E5;
width: 26rpx; / 背景的宽 /
height: 26rpx; / 背景的高 /
line-height: 26rpx;
}
radio .wx-radio-input.wx-radio-input-checked::before {
width: 26rpx;
height: 26rpx;
line-height: 26rpx;
text-align: center;
font-size: 30rpx; / 对勾大小 30rpx /
color: #fff; / 对勾颜色 白色 */
background: transparent;
transform: translate(-50%, -50%) scale(1);
-webkit-transform: translate(-50%, -50%) scale(1);
}