liveStream.wxss
2.14 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
/* pages/liveStream/liveStream.wxss */
.title {
font-size: 30rpx;
padding: 50rpx 32rpx;
}
.list-item {
padding: 0 32rpx 30rpx;
display: flex;
}
.list-item-left {
position: relative;
width: 340rpx;
height: 220rpx;
flex-shrink: 0;
}
.list-item-right {
display: flex;
flex-direction: column;
justify-content: space-between;
padding-left: 32rpx;
/* position: relative;
padding-bottom: 70rpx; */
}
.item-pic {
/* width: 400rpx; */
width: 100%;
height: 100%;
background-color: #eee;
}
.item-desc {
position: absolute;
bottom: 0;
width: 100%;
background: black;
color: #fff;
text-align: center;
padding-bottom: 23rpx;
background: -moz-linear-gradient(bottom,#7A7171, transparent);/*Mozilla*/
background: -webkit-gradient(bottom,0 50%,100% 50%,from(#7A7171),to(transparent));/*Old gradient for webkit*/
background: -webkit-linear-gradient(bottom,rgba(0,0,0,.8),transparent);/*new gradient for Webkit*/
background: -o-linear-gradient(bottom,#7A7171,transparent); /*Opera11*/
}
.item-desc view:first-child {
font-size: 24rpx;
font-weight: bold;
}
.item-desc view:last-child {
font-size: 17rpx;
}
.item-title {
font-weight: bold;
font-size: 30rpx;
text-align: justify;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.item-time {
color: #999;
font-size: 22rpx;
padding-top: 10rpx;
}
.item-anchor {
color: #999;
font-size: 22rpx;
}
.item-btn {
width: 172rpx;
height: 56rpx;
line-height: 56rpx;
background-color: #f23030;
color: #fff;
font-size: 28rpx;
text-align: center;
}
subscribe {
position: relative;
}
.subscribe--live-player-subscribe__btn {
width: 172rpx !important;
height: 56rpx !important;
line-height: 56rpx !important;
background-color: #f23030 !important;
font-size: 28rpx !important;
position: relative;
border-radius: 0 !important;
margin: 0 !important;
}
.subscribe--live-player-notSubscribe::before {
content: '订阅';
position: absolute;
left: 0;
width: 172rpx;
height: 56rpx;
background-color: #f23030;
color: #fff;
}
.subscribe--live-player-hasSubscribe {
background-color: #666 !important;
}