Live.wxss
979 Bytes
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
/* components/Live/Live.wxss */
@import "../../common.wxss";
.live-box {
height: 394rpx;
background: #FFFFFF;
box-shadow: 0 4rpx 16rpx 0 #EFF0F2;
border-radius: var(--borderRadius);
overflow: hidden;
margin-bottom: 28rpx;
}
.live-preview{
position: relative;
height: 240rpx;
}
.live-preview .title{
position: absolute;
left: 0;
top: 0;
width: 100%;
box-sizing: border-box;
padding: 16rpx 24rpx;
color: #fff;
font-size: var(--margin);
display: flex;
align-items: center;
}
.live-preview .title .icon{
width: 44rpx;
height: 44rpx;
margin-right: 8rpx;
border-radius: 100%;
}
.live-preview .title .name{
width: calc(100% - 52rpx);
}
.live-info{
padding: var(--margin);
}
.live-info .title{
font-size: var(--margin);
}
.live-info .description{
display: flex;
align-items: center;
margin-top: 8rpx;
font-size: 24rpx;
color: #656566;
}
.live-info .description .status{
color: var(--themeColor);
margin-right: 16rpx;
}