index.scss 4.71 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';


$contentWidth:670px;

.page {
  padding-bottom: $pageBottom;

  .bgc {}

  .bg {}

  .main {

    .top {
      position: relative;
      width: 750px;
      z-index: 11;

      &-bg {
        position: absolute;
        width: 750px;
        height: 360px;
      }

      .space1 {
        height: 12px;
      }

      .scan {
        position: relative;
        text-align: center;
        color: #ffffff;
        font-size: 26px;

        &-icon {
          width: 108px;
        }

        &-t1 {
          margin-top: 12px;
        }
      }

      .data {
        width: 730px;
        margin: 0 auto;
        position: relative;
        display: flex;
        justify-content: space-between;
        text-align: center;
        color: #ffffff;

        &-item {
          width: 320px;
          // background-color: wheat;

          &-t1 {
            font-size: 50px;
          }

          &-t2 {
            font-size: 24px;
            color: rgba(255, 255, 255, 0.7);
          }

          &-t3 {
            color: rgba(255, 255, 255, 1);
            font-size: 26px;
          }
        }
      }

      .search {
        position: relative;
        width: $contentWidth;
        // height: 100px;
        width: 621px;
        height: 84px;
        border-radius: 42px;
        box-shadow: 0px 6px 23.5px 1.5px rgba(112, 168, 239, 0.17);
        background-color: #ffffff;
        background: #FFFFFF;
        @extend .shadow;
        // margin: 222px auto 0;
        margin: 16px auto 0;
        display: flex;
        // justify-content: space-between;
        align-items: center;

        &-ipt-wrap {
          @extend .bb;
          // padding-left: 30px;
          // width: 320px;
          flex: 1;

          .ipt {
            font-size: 28px;
            color: #333333;
          }
        }

        &-line {
          width: 2px;
          height: 40px;
          background-color: #d8d8d8;
        }

        &-scan {
          @extend .bb;
          @extend .fcc;
          width: 100px;
          height: 100px;
          padding-left: 24px;

          .icon {
            width: 40px;
            height: 40px;
          }

          .icon-search {
            width: 36px;
            height: 36px;
            opacity: .6;
          }

          .icon2 {
            width: 60px;
            height: 60px;
            margin-left: 4px;
          }

          .t1 {
            font-size: 22px;
            margin: 0 12px 0;
            color: #808080;
            text-align: center;
          }
        }

        &-scan2 {
          flex-wrap: wrap;
          flex: 1;
        }

      }
    }

    .top-space {
      height: 64px;
    }

    .content {
      position: relative;
      width: $contentWidth;
      margin: 0 auto;

      // 导航
      .nav {
        @extend .bb;
        display: flex;
        justify-content: space-between;
        // width: 100%;
        padding: 0 12px;

        &-item {
          text-align: center;

          .icon {
            width: 86px;
          }

          .t1 {
            color: #333333;
            font-size: 26px;
          }
        }
      }

      // banner
      .banner {
        width: $contentWidth;
        height: 250px;
        margin: 42px auto 0;

        .swiper {
          width: $contentWidth;
          height: 250px;

          .swiper-image {
            width: $contentWidth;
            height: 250px;
          }
        }
      }

      // 产品
      .product {
        position: relative;
        width: $contentWidth;
        margin: 0 auto;
        margin-top: 62px;

        .blue-block {
          position: absolute;
          top: 2px;
          left: -40px;
          width: 10px;
          height: 44px;
          background-color: #3b7be0;
        }

        // 产品标题
        &-title {
          font-size: 36px;
          color: #333333;

        }

        // 产品列表
        &-list {
          margin-top: 20px;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;

          .item {
            width: 322px;
            height: 440px;
            background: #F8F8F8;
            border-radius: 4px;
            margin-bottom: 20px;
            padding-bottom: 12px;

            .image {
              width: 322px;
              height: 322px;
            }

            .desc {
              @extend .bb;
              width: 322px;
              padding: 4px 20px;
              font-size: 24px;
              // line-height: 32px;
              color: #333333;
              @include ellipsis(3);
            }


          }
        }
      }
    }
  }
}

.verify-btn {
  @include cb(100px, 48px, 24px);
  position: absolute;
  right: 0;
  top: 4px;
}