king
2024-05-23 9a11e62adeb8d435b52a361eb62d5b59e1deef2a
src/menu/modalconfig/index.scss
@@ -15,6 +15,9 @@
    height: 100%;
    overflow-y: auto;
    padding-bottom: 30px;
    .ant-collapse-borderless {
      background-color: #ffffff;
    }
    .ant-collapse-item {
      border: 0;
    }
@@ -52,41 +55,6 @@
        }
      }
    }
    .tables {
      .ant-select-selection-selected-value {
        opacity: 0.4!important;
      }
    }
    .ant-list {
      margin-top: 20px;
      .ant-list-item {
        display: -webkit-box;
        padding-right: 20px;
        position: relative;
        padding-left: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        width: 100%;
        .anticon {
          position: absolute;
          top: 0px;
          right: 0px;
          padding: 3px 3px 10px 10px;
          cursor: pointer;
        }
        .bottom-mask {
          position: absolute;
          width: 100%;
          height: 8px;
          bottom: 0;
          left: 0;
          background: #ffffff;
          border-radius: 8px;
        }
      }
    }
  }
  .tools::-webkit-scrollbar {
    width: 4px;
@@ -108,8 +76,16 @@
    height: 100%;
    overflow-y: hidden;
    background: #ffffff;
    .ant-card-head {
      min-height: 44px;
    .ant-card {
      padding-top: 45px;
      .ant-card-head {
        min-height: 44px;
        position: fixed;
        width: calc(100vw - 235px);
        top: 48px;
        z-index: 12;
        background: #ffffff;
      }
    }
    .ant-card-head-title {
      padding: 5px 0;
@@ -124,6 +100,22 @@
    .ant-card-body {
      position: relative;
      padding: 0;
      // .modal-fields-row.up_down {
      //   .ant-form-item {
      //     display: block!important;
      //     .ant-form-item-label {
      //       width: 100%!important;
      //       text-align: left;
      //       height: 24px;
      //       line-height: 28px;
      //     }
      //     .ant-form-item-control-wrapper {
      //       width: 100%!important;
      //     }
      //   }
      // }
      .ant-modal-content {
        max-width: 95%;
        margin: 0 auto;
@@ -132,6 +124,27 @@
          position: relative;
          z-index: 10;
          background: transparent;
          min-height: 50px;
          padding-right: 10px;
          .ant-modal-title {
            display: inline-block;
            height: 22px;
            .mk-modal-icon-def {
              margin-right: 10px;
              background: transparent!important;
            }
            .mk-modal-icon-circle {
              display: inline-block;
              border-radius: 30px;
              margin-right: 10px;
              color: #ffffff!important;
              width: 30px;
              height: 30px;
              text-align: center;
              line-height: 30px;
            }
          }
        }
        .ant-modal-close {
          opacity: 0.3;
@@ -150,7 +163,6 @@
          bottom: 0px;
        }
      }
      .modal-form {
        padding: 0px 24px;
        min-height: 87px;
@@ -181,7 +193,6 @@
          position: relative;
          background: #ffffff;
          border-radius: 2px;
          margin-bottom: 15px;
          .ant-form-item {
            cursor: move;
            display: flex;
@@ -200,6 +211,7 @@
              }
            }
            .ant-form-item-control-wrapper {
              position: relative;
              .ant-select {
                width: 100%;
                margin-top: 4px;
@@ -209,23 +221,22 @@
                margin-top: 4px;
              }
              .ant-input-number {
                width: 100%;
                margin-top: 4px;
              }
              .input-mask {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                opacity: 0;
              .normal-braft-editor {
                border: 1px solid #d9d9d9;
                border-radius: 4px;
              }
            }
            .ant-col-cuslabel {
              width: 10.5%;
            }
            .ant-col-cuswrap {
              width: 89.5%;
            .ant-form-item-control-wrapper::after {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              opacity: 0;
              z-index: 1;
            }
          }
        }
@@ -236,18 +247,14 @@
      > .anticon-setting {
        position: absolute;
        font-size: 16px;
        right: 15px;
        top: 10px;
      }
      .paste-Icon {
        position: absolute;
        font-size: 16px;
        right: 15px;
        top: 65px;
        right: 5px;
        top: 5px;
        padding: 10px;
        cursor: pointer;
      }
    }
  }
  .setting:hover {
  .setting {
    overflow-y: auto;
  }
  .setting::-webkit-scrollbar {
@@ -266,6 +273,7 @@
  }
}
.modal-fields {
  .ant-modal {
    top: 50px;