@imgSrc: '@/assets/images/mobileConfig/WorkDesign';
.group {
  margin-top: 10px;
  border-radius: 5px;
  width: 100%;
  min-height: 100px;
  box-sizing: border-box;
  position: relative;
  padding: 7px;
  &[active='true'] {
    border: 2px solid #001bff;
    margin-bottom: 30px;
  }
  .title {
    display: flex;
    align-items: center;
    .t-bg {
      width: 4px;
      height: 16px;
      border-radius: 3px;
      background: #1985FF;
    }
    .t-text {
      margin-left: 5px;
      font-size: 16px;
      font-weight: bold;
    }
  }
  .deleted {
    background: #1985FF;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 7px;
    &:hover {
      cursor: pointer;
    }
  }
  .card {
    width: 100%;
    margin-top: 7px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    &[active='true'] {
      border: 2px solid #001bff;
    }
    &[widget='OVERVIEW'] {
      height: 50px;
      background: url('@{imgSrc}/card1.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_OVERVIEW'] {
      height: 100px;
      background: url('@{imgSrc}/card2.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_CHART'] {
      height: 130px;
      background: url('@{imgSrc}/card3.png');
      background-size: 100% 100%;
    }
    &[widget='PIPEMONITORING'] {
      height: 200px;
      background: url('@{imgSrc}/card4.png');
      background-size: 100% 100%;
    }
    &[widget='PIPEGATHER'] {
      height: 80px;
      background: url('@{imgSrc}/card5.png');
      background-size: 100% 100%;
    }
    &[widget='PIPEINSPECTION'] {
      height: 160px;
      background: url('@{imgSrc}/card6.png');
      background-size: 100% 100%;
    }
    &[widget='MAINTENANCEORDER'] {
      height: 290px;
      background: url('@{imgSrc}/card7.png');
      background-size: 100% 100%;
    }
    &[widget='OPERATIONAL_OVERVIEW'] {
      height: 110px;
      background: url('@{imgSrc}/card8.png');
      background-size: 100% 100%;
    }
    &[widget='PUMP_STATUS'] {
      height: 120px;
      background: url('@{imgSrc}/card9.png');
      background-size: 100% 100%;
    }
    &[widget='PUMP_MAINTAIN'] {
      height: 130px;
      background: url('@{imgSrc}/card10.png');
      background-size: 100% 100%;
    }
    &[widget='REVENUE_OVERVIEW'] {
      height: 120px;
      background: url('@{imgSrc}/card11.png');
      background-size: 100% 100%;
    }
    &[widget='LARGE_MONITORING'] {
      height: 180px;
      background: url('@{imgSrc}/card12.png');
      background-size: 100% 100%;
    }
    &[widget='OPERATIONSOVERVIEW'] {
      height: 60px;
      background: url('@{imgSrc}/card101.png');
      background-size: 100% 100%;
    }
    &[widget='PIPELINEASSETS'] {
      height: 205px;
      background: url('@{imgSrc}/card102.png');
      background-size: 100% 100%;
    }
    &[widget='PIPELINEASSETSV2'] {
      height: 205px;
      background: url('@{imgSrc}/card102.png');
      background-size: 100% 100%;
    }
    &[widget='PIPELINECOLLECTION'] {
      height: 43px;
      background: url('@{imgSrc}/card103.png');
      background-size: 100% 100%;
    }
    &[widget='INSPECTIONMAINTENANCE'] {
      height: 57px;
      background: url('@{imgSrc}/card104.png');
      background-size: 100% 100%;
    }
    &[widget='EVENTWORKORDER'] {
      height: 46px;
      background: url('@{imgSrc}/card105.png');
      background-size: 100% 100%;
    }
    &[widget='SUBSIDIARYBUSINESSRANKING'] {
      height: 180px;
      background: url('@{imgSrc}/card106.png');
      background-size: 100% 100%;
    }
    &[widget='PRODUCT_OVERVIEW'] {
      height: 80px;
      background: url('@{imgSrc}/生产概览.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_SUPPLY_MONITORING3'] {
      height: 180px;
      background: url('@{imgSrc}/三水厂送水泵房监控.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_SUPPLY_MONITORING4'] {
      height: 180px;
      background: url('@{imgSrc}/四水厂送水泵房监控.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_MONITORING'] {
      height: 80px;
      background: url('@{imgSrc}/水厂监控.png');
      background-size: 100% 100%;
    }
    &[widget='PRESSURE_MONITORING'] {
      height: 160px;
      background: url('@{imgSrc}/压力监控.png');
      background-size: 100% 100%;
    }
    &[widget='ACQUISITION_OVERVIEW'] {
      height: 70px;
      background: url('@{imgSrc}/天等采集总览.png');
      background-size: 100% 100%;
    }
    &[widget='PROJECT_OVERVIEW'] {
      height: 60px;
      background: url('@{imgSrc}/采集工程.png');
      background-size: 100% 100%;
    }
    &[widget='MANAGE_OVERVIEW'] {
      height: 120px;
      background: url('@{imgSrc}/经营概览.png');
      background-size: 100% 100%;
    }
    &[widget='RUIYUN_WATERSTATISTICS'] {
      height: 60px;
      background: url('@{imgSrc}/供水统计.png');
      background-size: 100% 100%;
    }
    &[widget='RUIYUN_SWITCHSTATISTICS'] {
      height: 60px;
      background: url('@{imgSrc}/开关阀统计.png');
      background-size: 100% 100%;
    }
    &[widget='RUIYUN_AREASTATISTICS'] {
      height: 90px;
      background: url('@{imgSrc}/DMA分区统计.png');
      background-size: 100% 100%;
    }
    &[widget='RUIYUN_MAINTAINSTATISTICS'] {
      height: 260px;
      background: url('@{imgSrc}/维修服务统计.png');
      background-size: 100% 100%;
    }
    &[widget='USAGE_STATISTICS'] {
      height: 150px;
      background: url('@{imgSrc}/实用情况统计.png');
      background-size: 100% 100%;
    }
    &[widget='FREQUENCY_ANALYSIS'] {
      height: 280px;
      background: url('@{imgSrc}/使用频次分析.png');
      background-size: 100% 100%;
    }
    &[widget='USAGE_RANKING'] {
      height: 220px;
      background: url('@{imgSrc}/系统使用排名.png');
      background-size: 100% 100%;
    }
  }
}