@import "../../styles/mixin";
.#{$prefix}-zoom-img {
  height: 452px;
  width: 452px;
  border: 1px solid rgba(238, 238, 238, 1);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  // 图片
  img {
    height: 100%;
    width: 100%;
  }

  // 右下角标
  .#{$prefix}-magnifying-glass {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    // background: rgba(204, 204, 204, 1) url(../../images/magnifier.png) no-repeat center center;
  }

  .#{$prefix}-move-area {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
  }

  // 放大区域
  .#{$prefix}-zoom-area {
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
  }

  // 放大的图片
  .#{$prefix}-big-box {
    position: absolute;
    left: 101%;
    top: -1px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #eee;
    overflow: hidden;
    background: #fff;

    .#{$prefix}-big-img {
      position: absolute;
    }
  }
}
