quality.scss 4.16 KB
.flex {
  display: flex;
  align-items: center;
}

.view {
  height: 100%;
  width: 100%;
  position: relative;
  .scroll-classify{
    width: calc(100% - 56rpx);
    margin: 0 28rpx;
  }
  .classify-wrap {
    width: 100%;
    box-sizing: border-box;
    height: 112rpx;
    display: flex;
    flex-wrap: nowrap;
    background: #f5f9ff;
    border-radius: 16rpx 16rpx 0 0;
    .classify-item {
      min-width: 160rpx;
      height: 100%;
      padding: 0 24rpx;
      flex-shrink: 0;
      justify-content: center;
      flex-direction: column;
      line-height: 40rpx;
      font-size: 28rpx;
      transition: all 0.15s;
      background: #f5f9ff;

      .title {
        color: #757980;
      }

      .score {
        color: #347bff;
        font-weight: 600;
      }
    }

    .active {
      border-radius: 16rpx 16rpx 0 0;
      background: #ffffff;

      .title {
        color: #292d33;
        font-weight: 600;
      }
    }
  }

  .scroll-view {
    height: calc(100% - 112rpx);
  }

  .quality-block {
    width: calc(100% - 56rpx);
    margin: 0 28rpx;

    .title {
      height: 80rpx;
      background: linear-gradient(119.9deg, #e1f7fc 0%, #f3f7ff 27%, #f7f2ff 41%, #e8f1ff 66%, #f7f2ff 100%);
      font-size: 28rpx;
      font-weight: 600;
      padding: 0 20rpx;

      &::before {
        content: '';
        width: 8rpx;
        height: 8rpx;
        background: #000000;
        border-radius: 100%;
        display: block;
        margin-right: 16rpx;
      }

      .matched-btn {
        margin-left: auto;
        height: 56rpx;
        border-radius: 28rpx;
        background: #ffffff;
        padding: 0 36rpx;
        color: #eb4e4e;
        font-size: 24rpx;
        font-weight: 600;
      }

      .hit {
        color: #35c376;
      }
    }

    .quality-item {
      padding: 20rpx 24rpx;
      background: #fff;

      .avatar-box {
        position: relative;
        width: 68rpx;
        height: 96rpx;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        flex-direction: column;

        .icon {
          width: 68rpx;
          height: 68rpx;
          border-radius: 100%;
          overflow: hidden;
          flex-shrink: 0;
        }

        .time {
          width: 70rpx;
          height: 28rpx;
          background: #ffffff;
          border: 2rpx solid #f0f6ff;
          border-radius: 28rpx;
          font-size: 20rpx;
          color: #999ea8;
          display: flex;
          align-items: center;
          justify-content: center;
          box-sizing: border-box;
        }
      }

      .text {
        width: 508rpx;
        min-height: 80rpx;
        color: #292d33;
        font-size: 26rpx;
        margin-left: 16rpx;
        line-height: 44rpx;
      }
    }

    .active {
      background: #f0f6ff;

      .text {
        font-weight: 500;
      }
    }

    .script-rec {
      padding: 24rpx;
      background-color: #f2f6ff;
      .suggestions-box {
        background: #FFF;
        border-radius: 16rpx;
        padding: 24rpx 28rpx;
        box-sizing: border-box;
        border: 2rpx solid #e8f0ff;
        .suggestions-title {
          display: flex;
          align-items: center;
          font-weight: 500;
          font-size: 28rpx;
          color: #333333;
          margin-bottom: 20rpx;

          .icon {
            width:32rpx;
            height:32rpx;
            margin-right: 12rpx;
          }
        }

        .text {
          color: #292d33;
          font-size: 26rpx;
          line-height: 44rpx;
        }

        .suggestions-text {
          padding-bottom: 22rpx;
          border-bottom: 2rpx solid #f0f6ff;
          margin-bottom: 24rpx;
        }
      }
    }

    .active {
      background: #f0f6ff;

      .text {
        font-weight: 500;
      }
    }
  }

  .nothing {
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    color: #999ea8;
    font-size: 24rpx;
    background: #fff;
    .icon {
      width: 172rpx;
      height: 172rpx;
    }
  }
}