/**
* @desc 获取绝对路径完整地址
* @param @path
**/
//例如：https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
@basePath: 'business/';
@doMain: '//sandbox-img.jufubao.cn/';

.getBusinessImageUrl(@path, @size: 'size8') {
  @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
  background-image: url(@url);
}

//start
.jfb-base-card-info-entry {
  box-sizing: border-box;

  &__body{
      position: relative;
      overflow: hidden;
      z-index: 2
  }

  &.editx,&.editx:hover {
    position: relative;
    min-height: unit(100, rpx);
    z-index: 3;
    &::after {
      border: 2rpx dashed blue;
      content: " ";
      position: absolute;
      top:0;
      left:0;
      bottom:0;
      right:0;
      z-index: 4;
      cursor: pointer;
    }

  }


  &__edit {
    cursor: pointer;
    position: absolute;
    right: unit(0, rpx);
    top: unit(-52, rpx);
    height: unit(50, rpx);
    line-height: unit(50, rpx);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    border-radius: unit(10, rpx);
    box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
    color: #fff;
    font-size: unit(22, rpx);

    &-icon{
      padding: 0 unit(20, rpx);
    }

    &.editx {
      box-sizing: border-box;

    }
  }
}
//end


/**notPreview**/
.jfb-base-card-info-entry {
  //&:before {
    //content: " ";
    //display: table;
  //}
}
/**endNotPreview**/
