healthRating.wxss 2 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
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
/**healthrating.wxss 孕期健康评级**/
.healthrating {
display: flex;
flex-direction: column;
align-items: center;
background: white;
}

/*.userinfo-avatar {
width: 128rpx;
height: 128rpx;
margin: 20rpx;
border-radius: 50%;
}

.userinfo-nickname {
color: #aaa;
}

.usermotto {
margin-top: 200px;
}*/

.healthrating__caution-mark{
position: relative;
height: 271.5px;
align-items: center;
}
.healthrating__caution-mark__img{
margin-top: 15px;
width: 182px;
height: 182px;
}

.healthrating__caution-mark__title{
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
line-height: 182px;
width: 300px;
color: white;
font-size: 20px;
text-align: center;
margin-top: 14px;
}

.healthrating__caution-mark__border{
position: absolute;
height: 1rpx;
background: #d8dbd4;
left: 25px;
right: 25px;
top: 212px
}

.healthrating__caution-describe{
position: absolute;
font-size: 11px;
color: #858585;
line-height: 120%;
top: 227.5px;
left: 55px;
right: 55px;
text-align: center
}


/*-------------------下方高危列表-------------------*/

.risk-list-bg {
margin: 3px;
background: white;
position:relative;
border-radius: 4px;
}

.risk-list-bg:first-child {
margin-top: 5px;
}

.risk-list-dot {
width: 12px;
height: 12px;
float: left;
margin-top: 17px;
margin-left: 15px;
border-radius: 6px;
}

.risk-list-title {
float: left;
margin-top: 12px;
margin-left: 5px;
margin-bottom: 15px;
color: #5e5e5e;
font-size: 14px;
font: medium;
height: 12px;
}

.risk-list-content {
clear: both;
margin-left: 15px;
margin-right: 50px;
/*大于2行显示.....*/
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
color: #858585;
font-size: 12px;
line-height: 16px;
}

.risk-list-accessory {
position: absolute;
width: 16px;
height: 16px;
transform: translateY(-50%);
right: 15px;
top: 50%;
}