audio-play.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* components/audio-play.wxss */
  2. .audio {
  3. position: relative;
  4. display:inline-block;
  5. font-size: 0;
  6. width:220rpx;
  7. height: 220rpx;
  8. border-radius: 6rpx;
  9. }
  10. .audio .bg-img {
  11. width: 100%;
  12. height: 100%;
  13. }
  14. .audio .icon-img {
  15. width:80rpx;
  16. height:80rpx;
  17. position:absolute;
  18. top:50%;
  19. left:50%;
  20. transform: translate(-50%,-50%);
  21. }
  22. .audio .free-MusicProgress {
  23. position: absolute;
  24. width: 100%;
  25. height: 52rpx;
  26. bottom: 0;
  27. background: rgba(0, 0, 0, 0.6);
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .audio .free-MusicProgress .before-progress {
  33. width:50%;
  34. height:8rpx;
  35. background: rgba(255,255,255,0.3);
  36. border-radius: 6rpx;
  37. margin-right: 16rpx;
  38. position: relative;
  39. }
  40. .audio .free-MusicProgress .progress {
  41. background: #38A2D7;
  42. height:100%;
  43. overflow: hidden;
  44. border-radius: 6rpx;
  45. position: absolute;
  46. left: 0;
  47. top: 0;
  48. }
  49. .audio .free-MusicProgress .durationTime {
  50. width: 20%;
  51. font-size: 20rpx;
  52. color: rgba(255,255,255,0.67);
  53. }
  54. .title{
  55. font-size: 24rpx;
  56. text-align: center;
  57. margin-top: 10rpx;
  58. width: 100%;
  59. display: inline-block;
  60. }