articleDetail.wxss 1.4 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
/*顶部模块*/
.TopBar {
width:100%;
height:202px;
}

.promptText {
background: #f4879b;
font: bold;
text-align: center;
font-size: 10px;
color: white;
}

.TopBgImage {
width:100%;
height:202px;
position: absolute;
background: #48C17B;
}

.avatar {
width:70px;
height:70px;
border-radius: 50%;
position: absolute;
top: 15px;
left: 50%;
transform: translateX(-50%);
border: 3px solid white;
box-shadow: 0 2px 4px 0 rgba(186,70,70,0.50);
}

.userName {
font-size: 14px;
font-weight: bold;
display: block;
top: 100px;
position: absolute;
/*居中*/
left: 50%;
transform: translateX(-50%);
}

.documentView {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}

/*上方信息条部分*/
.infoBar {
width: 100%;
height: 60px;
top: 142px;
position: absolute;
}

.infoView {
text-align: center;
width: 33.3%;
height: 100%;
display:inline-block;
box-sizing: border-box;
position: relative;
background-color: rgba(255, 255, 255, 0.1);
}

.lineView {
width: 100%;
border-right: solid rgba(255, 255, 255, 0.7) 0.5px;
border-left: solid rgba(255, 255, 255, 0.7) 0.5px;
height: 40px;
position: absolute;
top: 10px;
}

.titleText {
margin-top: 12px;
display:block;
font-size: 11px;
color: #D8FCE7;
}

.timeText {
font-family: PingFangSC-Medium;
font-size: 12px;
color: #FFFFFF;
display:block;
margin-top: 2px;
}