index.scss
1.25 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
page{
overflow: hidden;
}
.navigation-bar {
position: fixed;
top: 0;
left: 0;
z-index: 2;
.bar-text {
font-size: 34rpx;
font-weight: 600;
}
}
.layout {
position: relative;
.bg-box {
width: 100%;
overflow: hidden;
position: absolute;
left: 0;
.bg {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
top: 0;
left: 0;
}
}
.tab-box {
position: sticky;
top: 0;
left: 0;
z-index: 2;
display: flex;
height: 112rpx;
margin-bottom: 16rpx;
.tab {
flex: 1;
display: flex;
flex-flow: column;
align-items: center;
font-size: 32rpx;
font-weight: 400;
color: #2D2D33;
opacity: 0.9;
.text{
margin: 28rpx 0;
}
.line{
transform: scale(0);
transition: all .25s;
}
}
.active {
font-size: 36rpx;
font-weight: 600;
.line{
width: 48rpx;
height: 8rpx;
background: #708CFF;
border-radius: 3px 3px 0 0;
// box-shadow: 0 4rpx 4rpx 0 #708CFF;
transform: scale(1);
}
}
}
.content{
height: calc(100% - 112rpx);
}
.add-activity{
position: fixed;
top: 65%;
right: 16rpx;
width: 160rpx;
height: 160rpx;
}
}