/* components/recording/index.wxss */
|
@import '../../styles/public_components.wxss';
|
|
.recording {
|
position: absolute;
|
width: 350rpx;
|
padding: 48rpx 0;
|
top: 15%;
|
left: 50%;
|
margin-left: -175rpx;
|
text-align: center;
|
color: #ffffff;
|
border-radius: 20rpx;
|
border: 4rpx solid #ffffff;
|
font-size: 28rpx;
|
}
|
|
.recording-img {
|
width: 150rpx;
|
height: 150rpx;
|
}
|
|
.recording-title {
|
padding: 24rpx 0;
|
}
|
|
.recording-button-bg {
|
padding: 32rpx var(--padding-my);
|
position: absolute;
|
left: 0;
|
right: 0;
|
bottom: env(safe-area-inset-bottom);
|
}
|
|
.recording-button-bg .recording-button {
|
background-color: rgba(0, 0, 0, 0.5);
|
}
|
|
.recording-content {
|
position: relative;
|
padding: 32rpx;
|
margin-bottom: 146rpx;
|
}
|
|
.recording-popup-button {
|
padding: 32rpx;
|
border-top: 2rpx solid var(--border-color);
|
position: fixed;
|
bottom: env(safe-area-inset-bottom);
|
left: 0;
|
right: 0;
|
}
|
|
.time-box {
|
position: relative;
|
height: 120rpx;
|
left: 50%;
|
margin-left: -86rpx;
|
}
|
|
.time-box-top {
|
position: absolute;
|
bottom: 50%;
|
}
|
|
.time-box-bottom {
|
position: absolute;
|
top: 50%;
|
transform: rotateX(180deg);
|
}
|
|
.hr {
|
background-color: red;
|
width: 10rpx;
|
height: 10rpx;
|
bottom: 0;
|
position: absolute;
|
background: #ffffff;
|
animation: bodong 0.5s infinite ease;
|
border-top-left-radius: 5rpx;
|
border-top-right-radius: 5rpx;
|
}
|
|
.hr1 {
|
left: 0;
|
animation-delay: 1s;
|
animation-duration: 1s;
|
}
|
|
.hr2 {
|
left: 18rpx;
|
animation-delay: 0.9s;
|
animation-duration: 0.9s;
|
}
|
|
.hr3 {
|
left: 36rpx;
|
animation-delay: 0.8s;
|
animation-duration: 0.8s;
|
}
|
|
.hr4 {
|
left: 54rpx;
|
animation-delay: 0.7s;
|
animation-duration: 0.7s;
|
}
|
|
.hr5 {
|
left: 72rpx;
|
animation-delay: 0.6s;
|
animation-duration: 0.6s;
|
}
|
|
.hr6 {
|
left: 90rpx;
|
animation-delay: 0.5s;
|
animation-duration: 0.5s;
|
}
|
|
.hr7 {
|
left: 108rpx;
|
animation-delay: 0.7s;
|
animation-duration: 0.7s;
|
}
|
|
.hr8 {
|
left: 126rpx;
|
animation-delay: 0.6s;
|
animation-duration: 0.6s;
|
}
|
|
.hr9 {
|
left: 144rpx;
|
animation-delay: 0.8s;
|
animation-duration: 0.8s;
|
}
|
|
.hr10 {
|
left: 162rpx;
|
animation-delay: 1s;
|
animation-duration: 1s;
|
}
|
|
@keyframes bodong {
|
0% {
|
height: 10rpx;
|
}
|
20% {
|
height: 20rpx;
|
}
|
30% {
|
height: 30rpx;
|
}
|
60% {
|
height: 60rpx;
|
}
|
80% {
|
height: 30rpx;
|
}
|
100% {
|
height: 10rpx;
|
}
|
}
|