@include b(toast) {
  @include self-center();
  @include child-center();

  max-width: 70%;
  padding: 12px 15px;
  border-radius: 6px;
  background-color: rgba(0,0,0,.6);
  color: $white;
  font-size: 14px;
  white-space: nowrap;
  &-text {
    overflow: hidden;
    width: max-content;
    padding: 0;
    line-height: normal;
    color: #fff;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
    // word-break: keep-all;
    letter-spacing: -.22px;
  }
  &-content {
    overflow: hidden;
    width: max-content;
    font-size: 13px;
    white-space: normal;
    word-wrap: break-word;
    word-break: keep-all;
    letter-spacing: -.22px;
    .iconfont {
      width: 34px;
      height: 34px;
      margin: 0 auto 10px;
      border: 1px solid #fff;
      border-radius: 50%;
      line-height: 34px;
      text-align: center;
    }
  }
  &-icon {
    // border: 1px solid #ddd;
    // border-radius: 50%;
    text-align: center;
    font-size: 24px;
  }
  &-message {
    text-align: center;
  }
  &-top {
    top: 50px;
  }
  &-bottom {
    bottom: 50px;
  }
}

/* 透明度动画 */
.fade-enter-active,
.fade-leave-active {
  transition: $fade-transition;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
