/* pages/diet/measuret.wxss */ page { background: #f5f5f5; } .card { margin: 6px; padding: 6px; border-radius: 6px; background: #fff; } .title { height: 40px; width: 100%; position: relative; } .time { margin-left:10px; font-size: 15px; height: 40px; color: #48c17b; line-height: 40px; } .my_apport { height: 30px; width: 80px; text-align: center; line-height: 30px; position: absolute; font-size: 14px; margin-top: 5px; right: 10px; background: #48c17b; border-radius: 5px; color: white; } .measuret_title { height: 25px; line-height: 25px; pointer-events: none; padding-bottom: 12px; } /*checkbox 整体大小 */ checkbox { width: 38rpx; height: 38rpx; margin: 0 15rpx; } /*checkbox 选项框大小 */ checkbox .wx-checkbox-input { width: 38rpx; height: 38rpx; } /*checkbox选中后图标样式 */ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { width: 35rpx; height: 35rpx; line-height: 35rpx; text-align: center; font-size: 28rpx; background: transparent; transform: translate(-50%, -50%) scale(1); -webkit-transform: translate(-50%, -50%) scale(1); } .measuret_body checkbox{ transform:scale(0.95); } .measuret_body checkbox .wx-checkbox-input.wx-checkbox-input-disabled { background : #e0e0e0; } .measuret_body .section { width: 50%; float: left; } .measuret_body .section .body-view { display: inline-block; } .measuret_body .section .body-view checkbox-group{ display: inline-block; } .measuret_body .section .section__title { width: 82px; display: inline-block; font-size: 13px; }