reward.scss
1.08 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
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';
.page {
$contentWidth: 650px;
.bgc {
background-color: #af3541;
}
.bg {}
.main {
.top-space {
height: 140px;
}
.content {
position: relative;
.portrait {
position: relative;
width: 207px;
margin: 0 auto;
&-bg {
text-align: center;
position: absolute;
width: 207px;
top: -3px;
}
// 头像
.avatar {
margin: 0 auto;
position: relative;
display: block;
width: 201px;
height: 201px;
border-radius: 50%;
overflow: hidden
}
.avatar-avatar::after {
border-radius: 205px;
}
}
.reward {
width: $contentWidth;
margin: 124px auto 0;
&-wrap {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
&-item {
width: 320px;
margin-bottom: 12px;
}
}
}
}
}
}