measuret.wxss 1.58 KB
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
/* 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;
}