king
2023-02-14 3620d67cfd2f2af19ef4d656734badd4445c90b8
src/tabviews/custom/components/module/voucher/index.scss
@@ -7,7 +7,152 @@
  background-size: cover;
  min-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  color: #000000;
  .voucher-header {
    padding: 10px;
    border-bottom: 1px solid #eeeeee;
    .header-btn {
      height: 28px;
      min-width: 80px;
      margin-right: 10px;
    }
  }
  .voucher-body {
    .voucher-code {
      display: inline-block;
      width: 160px;
      margin-right: 15px;
      .ant-select {
        width: 65px;
        margin-right: 10px;
      }
      .ant-input {
        width: 60px;
      }
      .ant-input-number {
        display: inline-block;
        width: 60px;
        .ant-input-number-handler-wrap {
          display: none;
        }
      }
    }
    .voucher-affix {
      .ant-input-number {
        display: inline-block;
        width: 50px;
        .ant-input-number-handler-wrap {
          display: none;
        }
      }
    }
    .pre-wrap {
      padding: 10px 0px;
    }
    .voucher-date {
      display: inline-block;
      .ant-calendar-picker {
        width: 120px;
      }
    }
    .voucher-text {
      display: inline-block;
      width: calc(56% - 350px);
      margin-left: 12px;
    }
    .voucher-affix {
      float: right;
      width: 240px;
      .ant-input {
        width: 60px;
      }
    }
    .pre-temp-wrap {
      padding: 10px 0px;
      .temp-text {
        display: inline-block;
        width: 22%;
        white-space: nowrap;
        padding-left: 10px;
        .ant-input {
          width: calc(100% - 70px);
        }
        .ant-select {
          width: calc(100% - 70px);
        }
      }
      .temp-action {
        float: right;
        .ant-btn {
          margin-left: 15px;
        }
      }
    }
  }
  .add-background {
    background: #26C281;
    border-color: #26C281;
    color: #ffffff;
  }
  .print-background {
    background-color: #8E44AD;
    border-color: #8E44AD;
    color: #ffffff;
  }
  .out-background {
    background-color: rgb(50, 197, 210);
    border-color: rgb(50, 197, 210);
    color: #ffffff;
  }
  .system-background {
    background: var(--mk-sys-color);
    border-color: var(--mk-sys-color);
    color: #ffffff;
  }
  .user {
    padding: 15px 30px 0px;
  }
}
.mk-vcode-dropdown {
  .ant-empty-image svg {
    max-width: 100%;
  }
  .ant-empty-description {
    display: none;
  }
}
.mk-voucher-dropdown-wrap {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  min-height: 66px;
  .ant-btn {
    display: block;
    width: 100%;
    border: none;
  }
  .split {
    width: 100%;
    height: 1px;
    background: #d8d8d8;
  }
}
.mk-temp-add-modal {
  .ant-form-item {
    .ant-form-item-label {
      width: 170px;
    }
    .ant-form-item-control-wrapper {
      width: 250px;
      display: inline-block;
    }
  }
}