AudioTts.sass 4.87 KB
/* packageEquity/pages/aiCheck/components/AudioTts/AudioTts.wxss */
.chat-item {
  padding: 0 32rpx 30rpx;

  .chat-left {
    display: flex;

    .avatar-icon {
      width: 80rpx;
      height: 80rpx;
      margin-right: 10rpx;
      border-radius: 50%;
    }

    .content-box {
      margin-top: 12rpx;
      background: #FFFFFF;
      font-size: 30rpx;
      color: #333333;
      line-height: 44rpx;
      border-radius: 16rpx;
      max-width: 560rpx;
      box-sizing: border-box;
      padding: 16rpx 24rpx;
    }
  }

  .chat-right {
    display: flex;
    justify-content: flex-end;

    .content-box {
      background: #E7F0FF;
      font-size: 30rpx;
      color: #000000;
      line-height: 44rpx;
      border-radius: 16rpx;
      width: 560rpx;
      box-sizing: border-box;
      padding: 20rpx 24rpx 16rpx;
      margin-top: 12rpx;

      .operation-box {
        margin-top: 16rpx;
        display: flex;
        justify-content: space-between;

        .operation {
          display: flex;
          align-items: center;
          font-weight: 500;
          font-size: 28rpx;
          color: #3989FE;

          &:last-child {
            margin-left: auto;
            ;
          }

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

      .chat-item-right-text {
        background-color: #FFFFFF;
        border-radius: 16rpx;
        padding: 24rpx 28rpx;
        margin-top: 20rpx;

        .chat-aspect {
          display: grid;
          background-image: linear-gradient(95deg, #E1F7FC 0%, #F3F7FF 27%, #E8F1FF 65%, #F7F2FF 100%);
          border-radius: 12rpx;
          padding: 6rpx 0rpx;
          margin-bottom: 20rpx;
          grid-template-columns: repeat(4, 1fr);

          .aspect-item {
            text-align: center;

            .aspect-name {
              font-size: 24rpx;
              color: #575C63;
            }

            .aspect-result {
              font-size: 26rpx;
              color: #FF8D1A;
            }
          }
        }

        .title {
          display: flex;
          align-items: center;
          font-weight: 500;
          font-size: 28rpx;
          color: #333333;

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

      .text {
        margin-top: 12rpx;
        font-weight: 400;
        font-size: 26rpx;
        color: #333333;
        letter-spacing: 0;
        line-height: 44rpx;
      }

      .line {
        width: 100%;
        height: 2rpx;
        background-color: #F0F6FF;
        margin: 24rpx 0;
      }

    }
  }

  .chat-defense {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32rpx;

    .defense-box {
      display: flex;
      width: 560rpx;
      height: 186rpx;
      margin-right: 32rpx;
      background-image: linear-gradient(179deg, #E0EAFF 0%, #FFFFFF 44%);
      padding: 16rpx 20rpx;
      box-sizing: border-box;
      border-radius: 16rpx;
      border: 2rpx solid #B2C6FE;

      .defense-img {
        width: 56rpx;
        height: 56rpx;
        margin-right: 12rpx;

        image {
          width: 56rpx;
          height: 56rpx;
        }
      }

      .defense-desc {
        .defense-title {
          font-weight: 600;
          font-size: 30rpx;
          color: #1B233D;
          line-height: 44rpx;
        }

        .defense-content {
          font-size: 26rpx;
          color: #7A8299;
        }
      }
    }
  }
}

.audio-right {
  font-size: 30rpx;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  padding-right: 24rpx;
  box-sizing: border-box;
  width: 208rpx;
  height: 74rpx;
  background-image: linear-gradient(90deg, #4D53FF 0%, #389AFF 100%);
  border-radius: 37rpx 37rpx 0 37rpx;
  margin-left: auto;
  justify-content: flex-end;

  .wifi-circle {
    border: 5rpx solid #fff;
  }
}

.loadding {
  display: inline-block;
  width: 14rpx;
  height: 14rpx;
  border-radius: 50%;
  margin-right: 24rpx;
  animation: load 1s ease-in infinite;

  &.first {
    animation-delay:0.13s;  
    background-color: rgba(57, 137, 254, 0.3);
  }

  &.second {
    animation-delay:0.26s;   
    background-color: rgba(57, 137, 254, 0.5);
  }

  &.third {
    animation-delay:0.39s;   
    background-color: rgba(57, 137, 254, 0.7);
  }
}

.audio-left {
  font-size: 30rpx;
  color: #333333;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-left: 24rpx;
  width: 208rpx;
  height: 74rpx;
  background: #fff;
  border-radius: 37rpx 37rpx 37rpx 0;

  &.loadding-box {
    width: 154rpx;
    border-radius: 37rpx 37rpx 37rpx 0;
  }

  .wifi-circle {
    border: 5rpx solid #666;
  }
}

.wifi-symbol {
  width: 40rpx;
  height: 40rpx;
  box-sizing: border-box;
  z-index: 99;

  .icon {
    width: 40rpx;
    height: 40rpx;
  }
}

@keyframes load {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}