.van-notice-bar {
  color: #F90000 !important;
  padding: 0 12px !important;
  border-radius: 4px !important;
  .van-notice-bar__left-icon {
    .van-icon__image {
      width: 34px;
      height: 35px;
    }
  }
  .van-notice-bar__right-icon {
    &::before {
      content: "";
      width: 30px;
      height: 30px;
      background: url("@/assets/images/close.png") no-repeat;
      background-size: 100% 100%;
    }
  }
}
.van-tabbar-item__icon img {
  height: 32px !important;
}
.van-tabbar-item--active {
  color: #2C81FF !important;
}

:deep(.common-search) {
  font-size: 14px;
  :deep(.van-badge__wrapper van-icon) {
    .van-icon__image {
      width: 12px !important;
      height: 12px;
    }
  }
}

.van-button {
  border-radius: 2px;
}
/* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */
.van-popup.van-toast{
  background: var(--van-toast-background) !important;
  box-sizing: content-box !important;
  /* 下面3条css,影响不大 */
  transition: all var(--van-duration-fast) !important;
  width: var(--van-toast-default-width) !important;
  max-width: var(--van-toast-max-width) !important;
}
.van-popup.van-toast .van-toast__icon{
  font-size: var(--van-toast-icon-size) !important;
}
.van-dialog {
   border-radius: 8px !important;
  .van-dialog__header {
    padding: 12px 16px;
    font-size: 14px;
    color: #445267;
    font-weight: bold;
    border-bottom: 1px solid #EEEEEE;
  }
  .van-dialog__footer {
    justify-content: center;
    margin: 16px 0 24px;
    &:after {
      display: none;
    }
    .van-dialog__confirm, .van-dialog__cancel {
      flex: unset;
      width: 90px;
      height: 40px;
      border-radius: 2px;
      font-size: 16px;
    }
    .van-dialog__confirm {
      color: #FFFFFF;
      background: #2C81FF;
    }
    .van-dialog__cancel {
      border: 1px solid #D1D1D1;
      color: #B3B3B3;
      margin-right: 24px;
    }
  }
}
