audioComponent.sass 1.23 KB
/* 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;
  }
}