audioComponent.sass
1.23 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
/* packageStudy/pages/sceneMarket/components/audioComponent/audioComponent.wxss */
.audio-box {
display: flex;
align-items: center;
width: 100%;
height: 80rpx;
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/material/audio-bg.webp');
background-size: 100% 100%;
margin-bottom: 24rpx;
box-sizing: border-box;
padding: 0 32rpx;
font-size: 28rpx;
color: #333333;
.loading{
margin:0 auto;
}
.trumpet {
width: 48rpx;
height: 48rpx;
margin-right: 16rpx;
flex-shrink: 0;
}
.progress-box {
width: 58%;
height: 12rpx;
margin: 0;
background: #D8D8D8;
position: relative;
border-radius: 4rpx;
.line {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background-image: linear-gradient(90deg, #2c66f7 0%, #75bcff 100%);
border-radius: 4rpx;
}
.thumb {
width: 16rpx;
height: 16rpx;
border: 4rpx solid #2c66f7;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
border-radius: 100%;
box-sizing: border-box;
background-color: #fff;
}
}
.duration {
margin-left: auto;
flex-shrink: 0;
}
}