.BaseApp-page {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  //font: 14px Arial, 'PingFang SC', 'Hiragino Sans GB', STHeiti, 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
  color: #495060;
  overflow: hidden;
  /* flex row 布局 */
  &.BaseApp-page--flex-h {
    position: relative;
    display: flex;
    flex-direction: row;
  }
  &.BaseApp-page--embed {
    width: auto;
    margin: 48px;
    background: none;
  }

  .BaseApp-page-header {
    .BaseApp-header-search {
      .el-form {
        .el-form-item {
          margin-bottom: 22px;
        }
        .el-form-item:first-child,
        .el-form-item + .el-form-item {
          margin-right: 20px;
        }
        .el-input-group {
          vertical-align: unset;
        }
        .search_btn {
          margin-left: 10px;
        }
      }

      .BaseApp-header-search__btns {
        display: flex;
        .el-button {
          height: 24px;
        }
      }
    }
  }
  /* 左右布局 左侧 aside */
  .BaseApp-page-aside {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 413px;
    margin: -10px 10px -10px -10px;
    padding: 10px;
    background-color: #fff;
    .aside-main {
      position: relative;
      flex: 1;
      overflow: hidden;
    }
  }
  .BaseApp-page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 20px;
    overflow: auto;
  }
  /* 左右布局 右侧 main */
  .BaseApp-page-main--right {
    @extend .BaseApp-page-main;
    background-color: #fff;
    margin: -10px -10px -10px 0;
    padding: 10px;
  }
  .BaseApp-page-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 88px;
    padding: 0 20px;
    background: #ffffff;
    box-shadow: 0px -3px 6px 1px rgba(0, 0, 0, 0.16);
    border: 1px solid #dcdcdc;
    justify-content: space-between;
    &.BaseApp-page-footer--evenly {
      justify-content: space-evenly;
    }
    .btn-group {
      display: flex;
      flex-direction: row;
      justify-content: center;
    }
  }

  input:focus {
    outline: none; /* 去掉外框 */
    box-shadow: none; /* 去掉阴影 */
  }
}

/* dialog */
.BaseApp-dialog {
  min-width: 400px;
  &.BaseApp-dialog--large {
    width: 750px;
    min-height: 600px;
  }
  &.BaseApp-dialog--small {
    width: 475px;
    height: 475px;
  }
}

/* drawer */
.BaseApp-drawer {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  margin: 0;
  @keyframes rtl-drawer-in {
    0% {
      transform: translate(100%);
    }

    to {
      transform: translate(0);
    }
  }

  @keyframes rtl-drawer-out {
    0% {
      transform: translate(0);
    }

    to {
      transform: translate(100%);
    }
  }
  .el-drawer__container {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    .el-drawer {
      position: absolute;
      box-sizing: border-box;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14),
        0 6px 30px 5px rgba(0, 0, 0, 0.12);
      overflow: hidden;
      outline: 0;
    }
  }
  .el-drawer__open {
    .el-drawer.rtl {
      height: 100%;
      top: 0;
      right: 0;
      bottom: 0;
      animation: rtl-drawer-in 0.3s 1ms;
    }
  }
  .BaseApp-drawer__header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 14px;
    .header__title {
      font-size: 18px;
      font-weight: normal;
      line-height: normal;
      letter-spacing: 0px;
      color: #333333;
    }
    .header__close {
      font-size: 18px;
      color: #e6e6e6;
      cursor: pointer;
    }
    .header__searchInput {
      width: 260px;
      margin-right: 34px;
    }
  }
  .el-drawer__body {
    display: flex;
    flex-direction: column;
    overflow: auto;
    .BaseApp-drawer__main {
      flex: 1;
      padding: 24px;
      overflow-y: auto;
    }
    .BaseApp-drawer__footer {
      display: flex;
      justify-content: flex-end;
      padding: 20px;
      .el-button {
        width: 206px;
        height: 40px;
        color: #666666;
        font-size: 14px;
        font-weight: normal;
        line-height: 17px;
        text-align: center;
        letter-spacing: 0px;
        border-radius: 4px;
        background: #ffffff;
        box-sizing: border-box;
        border: 1px solid #cccccc;
        &.el-button--primary {
          color: #ffffff;
          background: #32ae57;
          border: 1px solid #2aa44e;
        }
      }
    }
  }

  &.BaseApp-drawer--small {
    .el-drawer {
      width: 600px;
    }
  }
  &.BaseApp-drawer--medium {
    .el-drawer {
      width: 850px !important;
    }
  }
  &.BaseApp-drawer--big {
    .el-drawer {
      width: 1100px;
    }
  }
}

/* form */
.BaseApp-form {
  .BaseApp-form__main,
  &.BaseApp-form__main {
    .BaseApp-form__footer {
      margin-top: 20px;
      text-align: right;
    }
    .form-row {
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 100%;
      margin-bottom: 0px;
      border-bottom: 1px solid #ebeef5;
      &:last-child {
        border-bottom: none;
      }
      .form-row-tiem {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 100px;
        .form-row-tiem__label {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
          width: 190px;
          height: 100%;
          padding-left: 30px;
          font-weight: 400;
          font-size: 14px;
          color: #606266;
          background: #f8f8f8;
        }
        .form-row-tiem__value {
          flex: 1;
          display: flex;
          flex-direction: row;
          align-items: center;
          padding: 0 48px;
          font-size: 14px;
          color: #303133;
          background: #ffffff;
        }
      }
    }
  }
  .el-input {
    width: 100%;
    height: 80px;
    margin: 15px 15px 15px 0;
    font-size: 14px;
    background: #ffffff;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #ebeef5;
    opacity: 1;
    &::placeholder {
      font-size: 14px;
      color: #dcdfe6;
    }
    .el-input__inner {
      height: 100%;
      font-size: 14px;
      line-height: 0;
    }
  }
}

/* table */
.BaseApp-table-wrapper {
  flex: 1;
  overflow-y: hidden;
}
.BaseApp-table {
  &::before {
    display: none;
  }

  .vxe-header--row {
    th {
      font-weight: 400;
      font-size: 20px;
      color: #808080;
      background: #e6eef6;
      border: none;
    }
  }

  .vxe-body--row {
    font-size: 20px;
    color: #3a3a3a;
    .vxe-cell {
      margin-top: 22px;
      margin-bottom: 22px;
    }
  }
  .BaseApp-table-btn-group {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    .BaseApp-table-btn {
      font-size: 20px;
      color: #1d8eff;
      &.BaseApp-table-btn--red {
        color: #cf4a4a;
      }
    }
    .BaseApp-table-btn + .BaseApp-table-btn {
      margin-left: 25px;
    }
  }

  // 滚动条的宽度
  .el-table__body-wrapper::-webkit-scrollbar {
    width: 10px; // 横向滚动条
    height: 10px; // 纵向滚动条 必写
  }

  // 滚动条的滑块
  .el-table__body-wrapper::-webkit-scrollbar-thumb {
    height: 10px;
    border-radius: 5px;
    background-color: #b0b5bc;
    border: none;
    box-shadow: unset;
  }
  .el-table__body-wrapper::-webkit-scrollbar-track {
    background: #e6e6e6;
  }
  .el-table__body-wrapper::-webkit-scrollbar-corner {
    background: #e6e6e6;
  }
}
.BaseApp-pagination {
  text-align: left;
  font-size: 36px;
  &.BaseApp-pagination--center {
    text-align: center;
  }
  .el-pagination__total,
  .el-pagination__sizes {
    float: left;
  }
  .number {
    font-size: 36px;
    font-weight: 400;
  }
  .el-icon-arrow-left,
  .el-icon-arrow-right {
    font-size: 22px !important;
  }
}
.BaseApp-pagination-tips {
  margin-top: 30px;
  font-weight: 400;
  font-size: 28px;
  color: #dcdfe6;
  line-height: 34px;
  &.BaseApp-pagination-tips--center {
    text-align: center;
  }
}

/* tab */
.BaseApp-tabs {
  display: flex;
  flex-direction: column;
  font-size: 39px;
  color: #409eff;
  overflow: hidden;
  .el-tabs__nav-wrap::after {
    display: none;
  }
  .el-tabs__header {
    .el-tabs__item {
      font-size: 39px;
      color: #909399;
      padding: 0 40px;
      &.is-active {
        color: #409eff;
      }
    }
    .el-tabs__nav.is-top {
      width: 100%;
      padding-bottom: 15px;
      overflow-y: hidden;
      overflow-x: auto;
      &::-webkit-scrollbar {
        display: none;
      }
    }
    .el-tabs__active-bar {
      height: 4px;
    }
  }
  .el-tabs__content {
    flex: 1;
    margin-top: 30px;
    padding: 40px;
    background: #ffffff;
    box-shadow: 12px 12 24px 1px rgba(0, 0, 0, 0.04);
    border-radius: 18px 18px 18px 18px;
    border: 1px solid #eeeeee;
    .el-tab-pane {
      height: 100%;
    }
  }
}

/* 卡片布局 */
.BaseApp-card-list {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  .BaseApp-card-item {
    margin: 24px 48px 0;
    border-radius: 8px;
    opacity: 1;
    background: #ffffff;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.04);
  }
}

/**
 * 按钮
 * e.g. <div class="BaseApp-btn BaseApp-btn--frame"  @click="init">查看</div>
 */
.BaseApp-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 98px;
  height: 48px;
  padding: 0 32px;
  font-size: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.26);
  border-radius: 8px 8px 8px 8px;
  cursor: pointer;

  // 主要
  &.BaseApp-btn--primary {
    color: #ffffff;
    background: linear-gradient(180deg, #ff7b83 0%, #850006 100%);
  }

  // 蓝色
  &.BaseApp-btn--blue {
    color: #ffffff;
    background: linear-gradient(180deg, #51a8ff 0%, #064d92 100%);
  }

  // 红色字体
  &.BaseApp-btn--red {
    color: #cf4a4aff;
  }

  .BaseApp-btn-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    .BaseApp-btn__icon {
      width: 12px;
      height: 12px;
      margin-right: 4px;
    }
  }
  &.BaseApp-btn--disabled {
    background: #e3e3e3;
    color: #86909c !important;
  }

}
.BaseApp-btn + .BaseApp-btn {
  margin-left: 20px;
}

/* select */
.BaseApp-select {
  width: 360px;
  .vxe-input {
    height: 60px;
    font-size: 20px;
  }
  .vxe-select--panel-wrapper {
    font-size: 20px;
    .vxe-select-option {
      display: flex;
      flex-direction: row;
      align-items: center;
      height: 70px;
      padding: 10px;
    }
  }
}
.BaseApp-select-popper {
  .el-select-dropdown__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 40px 0;
    font-size: 14px;
    background: none;
    border-bottom: 1px solid #ebeef5;
    &:last-child {
      border-bottom: none;
    }
    .selected {
      color: #409eff;
    }
  }
  .el-select-dropdown__wrap {
    max-height: 600px;
  }
}

/* 消息框-confirm */
.BaseApp-MessageBox-Confirm {
  width: 500px;
  .van-dialog__header {
    font-size: 18px;
  }
  .van-dialog__content {
    min-height: 100px;
    .van-dialog__message {
      font-size: 20px;
    }
  }
}

/* 消息框-toast*/
.BaseApp-MessageBox-toast {
  top: 10%;
  font-size: 14px;
  .el-message__content {
    font-size: 14px;
  }
}

/* 搜索 */
.BaseApp-search {
  width: 100%;
  height: 60px;
  font-size: 18px;
  color: #999999;
}
