king
2024-03-03 67036fb0ed31d77ca33b660ce5f9f47c29ae65c0
src/menu/components/search/main-search/index.scss
@@ -4,6 +4,9 @@
  background: #ffffff;
  padding-bottom: 15px;
  .ant-form-item-control {
    line-height: 1.5;
  }
  >.ant-switch {
    position: absolute;
    z-index: 3;
@@ -25,6 +28,11 @@
    > .ant-col {
      padding: 0 12px!important;
    }
  }
  .mk-search-item-wrap {
    display: inline-block;
    float: none;
    vertical-align: top;
  }
  .ant-row.ant-form-item .ant-col {
    padding: 0;
@@ -68,7 +76,7 @@
      z-index: 2;
    }
  }
  .page-card.false {
  .page-card.label-hide {
    .ant-form-item-label {
      display: none;
    }
@@ -76,28 +84,81 @@
      width: 100%;
    }
  }
  label[title=" "]::after, label[title="  "]::after {
    display: none;
  }
  .page-card.advanced {
    .ant-form-item-label label {
      color: orange;
    }
  }
  .page-card.range {
    .ant-form-item-control-wrapper {
      .ant-form-item-control {
        .ant-form-item-children {
          display: flex;
          line-height: 40px;
          .ant-input:first-child {
            margin-right: 5px;
          }
          .ant-input:last-child {
            margin-left: 5px;
          }
        }
      }
    }
  }
  .page-card.no-query {
    .ant-form-explain {
      color: #13c2c2;
    }
  }
  .mk-search-item-wrap.action {
    .ant-form-item {
      white-space: nowrap;
    }
    .ant-form-item-label, .ant-form-item-control-wrapper {
      display: inline-block;
    }
  }
  .mk-search-item-wrap.action.hide-button {
    display: none;
  }
  .ant-calendar-picker {
    min-width: 100px!important;
    width: 100%;
  }
  .check-card-edit-box {
    margin-top: 5px!important;
  }
  .quickly-add {
    position: absolute;
    z-index: 3;
    right: 55px;
    bottom: 3px;
    .ant-btn-block {
      background-color: transparent;
      color: #1890ff;
      border: none;
      box-shadow: none!important;
      height: 18px;
      padding: 0 10px;
    }
  }
}
.main-search-edit-list.right {
  >.ant-row {
    >.ant-col {
      float: right;
    }
    >.ant-col.action {
      display: none;
    }
    text-align: right;
  }
}
.main-search-edit-list.false {
  >.ant-row {
    >.ant-col.action {
      display: none;
    }
.main-search-edit-list:not(.show-field) {
  .ant-form-explain {
    display: none;
  }
}
.main-search-edit-list::after {
  display: block;
  content: ' ';