printpdf.less 1.94 KB
.view {
  position: fixed;
  padding: 0;
  display: flex;
  justify-content: center;
  //height: 100vh;
  width:calc(100vw - 0px);
  //overflow: auto;
  z-index: 190;
  background-color: #515558;
}
.pageContainer {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 0px;
  width:max-content;
  max-width:100%;
  height: calc(100vh - 11px);
  overflow-y: auto;
  overflow-x: hidden;
}
.pageTool{
  width: 100%;
  position: absolute;
  top: -30px;
  background: rgb(67, 67, 67);
  color: white;
  padding: 0px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  i{
    padding: 5px;
    margin:0 5px;
    &:hover{
      background: #333;
    }
  }
  input{
    display: inline-block;
    width: 25px;
    text-align: center;
    margin-right: 0px;
    height: 12px;
    font-size: 1rem!important;
  }
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  input[type="number"]{
    -moz-appearance: textfield;
  }
  .numPages{
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 4%;
    font-size: 1rem;
  }
  .left{
    display: flex;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 25%;
  }
  .right{
    display: flex;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 25%;
  }
}

:global{
  .pdfClose{
    position: absolute;
    right: 2%;
    top:3%;
    z-index: 3001;
  }
  .demo-preview-item{
    .am-list-item.am-input-item{
      height: 36px!important;
      min-height: 36px!important;
      padding-left: 5px;
    }
    .am-list-item .am-list-line{
      padding-right: 2px;
    }
  }
  /* 前端控制打印预览inputItem */
  .printStyle{
    .am-list-item.am-input-item{
      height: 30px!important;
      min-height: 30px!important;
      padding-left: 5px;
    }
    .am-list-item .am-list-line{
      padding-right: 2px;
    }
  }
}