tengsx
2023-04-06 80eb2e8d0eb78caf0b5d369aba18f99ed1222b97
src/styles/index.scss
@@ -92,27 +92,7 @@
    .one {
      height: 258px;
      position: relative;
      .content-data  {
        padding-left: 18px;
        &>.common-text {
          margin-right: 8px
        }
      };
      .data-item {
        height: 26px;
        line-height: 26px;
        background: #879EC7;
        border-radius: 6px;
        padding: 0 15px;
        margin-right: 12px;
      }
      .more-text {
        position: absolute;
        color: #3BCAFF;
        right: 10px;
        bottom: 36px;
        cursor: pointer;
      }
    }
    .two {
@@ -142,6 +122,28 @@
    .four {
      flex: 1;
    }
  }
  .content-data  {
    padding-left: 18px;
    &>.common-text {
      margin-right: 8px
    }
    .data-item {
      height: 26px;
      line-height: 26px;
      background: #879EC7;
      border-radius: 6px;
      padding: 0 15px;
      margin-right: 12px;
    }
  };
  .more-text {
    position: absolute;
    color: #3BCAFF;
    right: 10px;
    bottom: 36px;
    cursor: pointer;
  }
  .scroll-table {
    font-family: Alibaba PuHuiTi;
@@ -226,7 +228,7 @@
      cursor: pointer;
    }
    .btn-left {
      background-image: url(./../../public/images/ctrl-left.png);
      background-image: url(/images/ctrl-left.png);
    }
    .btn-right {
      margin-left: 3px ;
@@ -261,4 +263,353 @@
      color: #B5C5D4;
    }
  }
  .video-box {
    padding: 5px 12px 0;
    video {
      width: 100%;
      height: 185px;
      background-color: #333;
    }
  }
  .all-text-box {
    position: relative;
    .more-text {
      right: 24px
    }
  }
  .all-text {
    color: #D4E8F8;
    padding: 12px 18px 0 18px;
    line-height: 26px;
    text-indent: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }
  .detail-box {
    padding: 12px;
    img {
      height: 180px;
      width: 100%;
    }
    .all-text{
      -webkit-line-clamp: 3;
      text-indent: 0;
    }
  }
  .device-box {
    padding: 15px 8px 0;
    align-items: flex-start;
    .device-item {
      width: 110px;
      height: 113px;
      text-align: center;
      background-image: url(/images/device_01.png);
      background-size: 100% 100%;
      padding-top: 20px;
      &:nth-of-type(2) {
        background-image: url(/images/device_02.png);
        .item-title {
          color: #AED6FF;
        }
        .item-num {
          background: linear-gradient(to bottom, #FFF9C5 10%, #FFD24D 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }
      }
    }
    .item-title {
      color: #44C1EF;
      line-height: 1;
      text-shadow: 1px 2px 0px rgba(17,20,22,0.22);
      font-size: 16px;
      font-weight: bold;
    }
    .item-num {
      margin-top: 5px;
      font-size: 28px;
      font-family: Roboto-Bold;
      font-weight: bold;
      font-style: italic;
      color: #EDFBFF;
      background: linear-gradient(to bottom, #8CEAFF 10%, rgba(255,255,255,1) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
  .warning-box {
    padding: 0 5px;
    img {
      width: 101px;
      height: 90px;
    }
    .warning-item {
      flex: 1;
    }
    .item-title {
      width: 100px;
      line-height: 32px;
      text-indent:32px;
      position: relative;
      left: -28px;
      color: #fff;
      font-size: 18px;
      background-image: url(/images/warnbg_01.png);
      background-repeat: no-repeat;
      background-position: left bottom;
      background-size: 100px 18px;
    }
    .item-num {
      height: 31.5px;
      width: 84px;
      margin-top: 5px;
      font-size: 28px;
      font-family: Roboto-Bold;
      font-weight: bold;
      font-style: italic;
      background-image: url(/images/warnbg_02.png);
      background-size: cover;
      span {
        width: 100%;
        background: linear-gradient(to right, #76B2EC 30%, rgba(255,255,255,1) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }
    .el-carousel__indicators--horizontal {
      bottom: 5px
    }
    .el-carousel__button {
      height: 4px;
      border-radius: 2px;
      width: 40px;
    }
  }
  .rain-monitor-box {
    padding: 12px 15px;
    .item-title {
      text-indent: 15px;
      position: relative;
      line-height: 20px;
      font-size: 20px;
      text-shadow: 0px 2px 8px rgba(5,28,55,0.42);
      background: linear-gradient(to bottom,  rgba(14,197,236, .6) 0%, #EFFCFE 20%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 1px;
        width: 4px;
        height: 18px;
        background-image: url(/images/rain-title.png);
      }
    }
    .info-item {
      padding-left: 20px;
      font-size: 16px;
      color: #BFD3E5;
      margin-top: 20px;
    }
    .box-bottom {
      margin-top: 20px;
    }
    .monitor-tab-section {
      .info-item  {
        margin-top: 18px;
      }
    }
    &>.justify-between {
      align-items: flex-start;
    }
    .tab-item {
      font-size: 16px;
      color: #BFD3E5;
      cursor: pointer;
      background: rgba(55,75,123,0.36);
      &:first-of-type {
        margin-right: 20px;
      }
    }
  }
}
.page-search {
  position: absolute;
  left: 488px;
  z-index: 99;
  top: 110px;
  .el-input {
    height: 38px;
    width: 280px;
  }
  .el-input__inner {
    padding-right: 30px;
    font-size: 16px;
    font-weight: 400;
    color: #BFD3E5;
    border: 1px solid #4081CB;
    border-radius: 4px;
    background: rgba(135,158,199,0.3);
    box-shadow: inset 0px 3px 7px 0px rgba(42,138,236,0.95);
  }
}
.page-select {
  left: 788px;
  .el-input {
    width: 120px;
  }
}
.select-popup {
  border: 1px solid #4081CB;
  background: rgba(0,0,0,1);
  box-shadow: inset 0px 3px 7px 0px rgba(42,138,236,0.95);
  .el-cascader-menu {
    color: #fff;
  }
  .el-cascader-node:not(.is-disabled):focus, .el-cascader-node:not(.is-disabled):hover {
    background: rgba(42,138,236,0.35)
  }
  .el-cascader-node.in-active-path, .el-cascader-node.is-active, .el-cascader-node.is-selectable.in-checked-path {
    background: rgba(42,138,236,0.35)
  }
}
.page-full {
  top: auto;
  bottom: 55px;
  width: 80px;
  height: 30px;
  background: rgba(135,158,199,0.2);
  border-radius: 6px;
  font-size: 16px;
  color: #BFD3E5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  line-height: 1;
  .el-icon-rank {
    font-size: 20px;
    margin-right: 5px;
  }
}
.page-mode {
  top: auto;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  &>div {
    background-image: url(/images/mode-tab.png);
    background-size: cover;
    width: 150px;
    height: 50px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #BFD3E5;
    line-height: 32px;
    padding-top: 12px;
    font-style: italic;
    cursor: pointer;
    &:first-of-type {
      margin-right: -20px;
    }
    &.active {
      color: #F6FCFF;
      background-image: url(/images/mode-tab-ac.png);
    }
  }
}
.page-map {
  position: absolute;
  z-index: 99;
  bottom: 55px;
  right: 488px;
  width: 100px;
  height: 220px;
  background: rgba(135,158,199,0.2);
  border-radius: 6px;
  padding: 10px;
  &>div {
    height: 60px;
    background: #879EC7;
    border: 1px solid #3BCAFF;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    &:last-of-type {
      margin-bottom: 0;
    }
  }
}
.page-section {
  left: auto;
  right: 488px;
  width: 160px;
  .el-collapse-item__header{
    height: 40px;
    background: rgba(135,158,199,0.1);
    border: 0;
    padding-left: 10px;
    font-size: 18px;
    color: rgba(191, 211, 229, 0.7);
    &.is-active {
      background: rgba(13,43,84,0.76);
    }
  }
  .el-collapse-item__arrow {
    color: rgba(199,219,245,0.88);
    &::before {
      content: "\e790";
    }
  }
  .el-collapse-item__arrow.is-active {
    color: #2CB7FF;
    &::before {
      content: "\e792";
    }
  }
  .el-collapse-item__wrap {
    background: rgba(135,158,199,0.3);
    border: 0;
  }
  .el-collapse-item__content {
    padding-bottom: 0;
  }
  .check-item {
    padding-left: 10px;
    height: 40px;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    .el-checkbox__label {
      color: rgba(191, 211, 229, 0.7);
    }
    .is-checked {
      .el-checkbox__label {
        color: #3BCAFF;
      }
    }
  }
}
.page-back {
  min-width: 182px;
  height: 50px;
  background-image: url(/images/back-bg.png);
  background-size: cover;
  display: flex;
  align-items: center;
  img {
    height: 100%;
  }
  div {
    font-size: 26px;
    color: #BFD3E5;
  }
}