MoveGroup.scss
1.48 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
/* pages/crowdfunding/components/MoveGroup/MoveGroup.wxss */
@import "../../assets/css/sharegoods.wxss";
.group-list {
// visibility: hidden;
position: absolute;
left: 16rpx;
top: 7%;
width: 360rpx;
height: 80%;
overflow: hidden;
.move {
width: 100%;
height: 100%;
pointer-events: none;
}
.item {
position: relative;
display: inline-flex;
padding: 0 12rpx 0 6rpx;
box-sizing: border-box;
height: 56rpx;
background: rgba(0, 0, 0, 0.5);
border-radius: 34rpx;
// margin-bottom: 8rpx;
font-size: 24rpx;
font-weight: 500;
color: #ffffff;
.group-head {
width: 44rpx;
height: 44rpx;
border-radius: 100%;
overflow: hidden;
margin-right: 6rpx;
}
}
@keyframes opacity-text {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.first {
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
.text {
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
// animation: opacity-text 5s forwards;
}
.last {
background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
.text {
background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
.show {
visibility: visible;
}