ShowImage.less 3.79 KB
.draggableImage{
  z-index: 1200;
  position: fixed;
  top:50%;
  left:20%;
}
.custcontent{
  text-align: center;
  margin-top: 40px;
}
:global{
  @font-face {
    font-family: 'icon';  /* project id 942104 */
    src: url('//at.alicdn.com/t/font_942104_lhzztf6om6j.eot');
    src: url('//at.alicdn.com/t/font_942104_lhzztf6om6j.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_942104_lhzztf6om6j.woff') format('woff'),
    url('//at.alicdn.com/t/font_942104_lhzztf6om6j.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_942104_lhzztf6om6j.svg#iconfont') format('svg');
  }
  .icon {
    font-family:"icon" !important;
    font-size:16px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .icon-close:before { content: "\eaf2"; }
  .icon-left:before { content: "\e77f"; }
  .icon-right:before { content: "\e783"; }
  .icon-lturn:before { content: "\e787"; }
  .icon-rturn:before { content: "\e788"; }
  .icon-imgbig:before { content: "\e781"; }
  .icon-imgmin:before { content: "\e780"; }

  .title{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
  }
  .showimg{
    display: none;
  }
//图片缩放
.dilong{
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: #000;
  opacity: 0.6;
  //background-color: rgba(0,0,0,.85);
  //box-shadow: 0 0 3px 1px rgba(0,0,0,.3);
  z-index: 1000;
}
.bigimg{
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 950px;
  height: 600px;
  background: #fff;
  border: 1px solid #a7aaa6;
  border-radius: 5px;
  z-index: 1100
}
.bigimg p i{
  cursor: pointer
}
.close{
  position:absolute;
  top: 20px;
  right: 20px;
  z-index: 66;
}
.left{
  position: absolute;
  top: 50%;
  left:5%;
  transform: translate(-50% ,-50%);
  z-index: 66;
}
.right{
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-50% ,-50%);
  z-index: 66;
}
.rotateright{
  position: absolute;
  top: 90%;
  left: 45%;
  transform: translate(-50% ,-50%);
  z-index: 66;
}
.rotateleft{
  position: absolute;
  top: 90%;
  left: 35%;
  transform: translate(-50% ,-50%);
  z-index: 66;
}
.showbig{
  position: absolute;
  top: 90%;
  left: 55%;
  transform: translate(-50% ,-50%);
  z-index: 66;
}
.showmin{
  position: absolute;
  top: 90%;
  left: 65%;
  transform: translate(-50% ,-50%);
  z-index: 66;
}
.previewBox {
  width: 100%;
  height: ~"calc(100% - 43px)";
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imgstyle{
  //width: 800px;
  //height: 600px;
    // position: absolute;
    // top: 54%;
    // left: 50%;
    transform: translate(-50% ,-50%) rotate(0deg) scale(1,1);
    z-index: 6
  }
  .imgheader{
    //background-color: rgba(0,0,0,.5);
    border-bottom: 1px solid #f1f1f1;
    border-radius: 3px;
    position: relative;
    height: 43px;
    padding-left:20px;
    text-align: left;
    font-size: 18px;
    padding: 5px;
    z-index: 66;
  }
  .rotateright_top{
    position: absolute;
    top:20px;
    right:42%;
    transform: translate(-50% ,-50%);
  }
  .rotateleft_top{
    position: absolute;
    top:20px;
    right:34%;
    transform: translate(-50% ,-50%);
  }
  .full_screen {
    position: absolute;
    top:18px;
    right:26%;
    transform: translate(-50% ,-50%);
  }
  .showbig_top{
    position: absolute;
    top:20px;
    right: 18%;
    transform: translate(-50% ,-50%);
  }
  .showmin_top{
    position: absolute;
    top:20px;
    right: 10%;
    transform: translate(-50% ,-50%);
  }
  .left_top{
    position:absolute;
    top:205px;
    left: 3%;
  }
  .right_top{
    position:absolute;
    top:205px;
    right: 3%;
  }
  .close_top{
    position:absolute;
    top:5px;
    right: 3%;
  }
  .headtitle{
    color: #999;
    width: 100px;
    text-align: center;
  }
}