@include b(dialog) {
  @include self-center();

  width: 270px;
  min-height: 126px;
  padding: 21px 15px 0;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #fff;
  color: $primary-text-color;
  &-title {
    position: relative;
    font-size: 16px;
    .iconfont {
      position: absolute;
      top: 0;
      right: 0;
      color: #999;
      transform: translateY(-50%);
    }
  }
  &-content {
    margin: 8px 0 65px;
    color: $auxiliary-text-color;
    font-size: 13px;
  }
  &-footer {
    @include child-center();

    position: absolute !important;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 50px;
    .#{$namespace}-button {
      overflow: hidden;
      flex: 1;
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 0;
      background-color: transparent;
      font-size: 18px;
      &:active {
        background-color: $line-color;
      }
    }
    .#{$namespace}-dialog-cancel {
      color: $auxiliary-text-color;
      &:active {
        border-bottom-left-radius: 8px;
      }
    }
    .#{$namespace}-dialog-confirm {
      color: $primary-color;
      &:active {
        border-bottom-right-radius: 8px;
      }
      &-none {
        &:active {
          border-bottom-left-radius: 8px;
        }
      }
    }
  }
}

/* 缩放动画 */
.bounce-enter-active,
.bounce-leave-active {
  transition: $all-transition;
}
.bounce-enter,
.bounce-leave-to {
  opacity: 0;
  transform: translate3d(-50%,-50%,0) scale(.4);
}
