product.scss 6.17 KB

// 特色产品
.prod-wrap .big-title {
  margin-left: 40rpx;
  font-family: PingFangSC-S0pxibold;
  font-weight: 600;
  font-size: 36rpx;
  color: #1B233D;
  line-height: 56rpx;
}

.prod-wrap .nav-wrap {
  white-space: nowrap;
  box-sizing: border-box;
  margin-top: 24rpx;
  margin-bottom: 10rpx;
  padding: 0 20rpx;
  height: 86rpx;
}

.prod-wrap .nav-wrap .nav {
  display: inline-block;
  width: 188rpx;
  height: 64rpx;
  border-radius: 12rpx;
  font-weight: 600;
  font-size: 24rpx;
  letter-spacing: 0;
  text-align: center;
  font-family: PingFangSC-Regular;
  line-height: 64rpx;
  margin-right: 12rpx;
  background: #FFFFFF;
  border: 2rpx solid #DDE3F0;
}

.prod-wrap .nav-wrap .active-nav {
  background-image: linear-gradient(0deg, #EBEFFF 8%, #FCFDFF 85%);
  border: 2rpx solid rgba(68, 97, 240, 0.50);
  box-shadow: 0 8rpx 16rpx 0 rgba(175, 187, 219, 0.35);
  color: #4466F0;
}

.prod-wrap .nav-wrap .nav:last-child {
  margin-right: 0;
}

.prod-item {
  background-color: #F5F7FB;
  border-radius: 48rpx 48rpx 0 0;
  padding: 40rpx 24rpx 32rpx;
}

.prod-card {
  display: flex;
  height: 208rpx;
  background-image: linear-gradient(1deg, #FFFFFF 10%, #FDFCFF 100%);
  border: 2rpx solid #FFFFFF;
  box-shadow: 0 8rpx 20rpx 0 rgba(197, 205, 235, 0.35);
  border-radius: 20rpx;
  padding: 20rpx 24rpx;
  box-sizing: border-box;
  position: relative;
}

.prod-card .card-img {
  width: 160rpx;
  height: 164rpx;
  flex-shrink: 0;
  border-radius: 4rpx;
}

.img-desc {
  position: absolute;
  width: 104rpx;
  height: 40rpx;
  line-height: 40rpx;
  background: #D7F5EB;
  border-radius: 4rpx;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  font-size: 24rpx;
  color: #24B38C;
  letter-spacing: 0;
  text-align: center;
}

.prod-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12rpx 0;
  margin-left: 24rpx;
}

.prod-info>text {
  display: block;
  white-space: nowrap;
  height: 40rpx;
  line-height: 40rpx;
}

.prod-info .title {
  font-family: PingFangSC-Medium;
  font-weight: 500;
  font-size: 28rpx;
  color: #323436;
}

.prod-info .sale,
.prod-info .earnings {
  font-size: 26rpx;
  color: #7A8299;
}

.prod-info .sale-num {
  font-size: 26rpx;
  color: #323436;
}

.prod-info .earnings-num {
  font-size: 28rpx;
  font-family: DINAlternate-Bold;
  font-weight: Bold;
  color: #F35251;
}

.share-btn {
  height: 56rpx;
  line-height: 56rpx;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 24rpx;
  background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
  border-radius: 12rpx;
  color: #fff;
  padding: 0 20rpx;
  display: flex;
  align-items: center;
  position: absolute;
  right: 24rpx;
  top: 50%;
  transform: translateY(-50%);
}

.share-btn .icon {
  width: 24rpx;
  height: 24rpx;
  margin-right: 8rpx;
}

.project-wrap {
  background-color: #F5F7FB;
  .sticky-area{
    position: sticky;
    position: -webkit-sticky;
    z-index: 2;
    background-color: #F5F7FB;
  }
}

.project-img {
  white-space: nowrap;
  
  .img-item {
    position: relative;
    width: 100%;
  }

  // 流程图一
  .img-item11 {
    height: 1110rpx;
  }

  .img-item12 {
    height: 1290rpx;
  }

  .img-item13 {
    height: 596rpx;
  }

  .img-item14 {
    height: 744rpx;
  }

  .img-item15 {
    height: 490rpx;
  }

  .img-item16 {
    height: 1666rpx;
  }

  // 流程图二
  .img-item21 {
    height: 2168rpx;
  }

  .img-item22 {
    height: 1290rpx;
  }

  .img-item23 {
    height: 596rpx;
  }

  .img-item24 {
    height: 830rpx;
  }

  .img-item25 {
    height: 490rpx;
  }

  .img-item26 {
    height: 752rpx;
    .video-item{
      width: 100%;
      video{
        border-radius: 16rpx;
        height: 348rpx;
      }
    }
  }

  // 流程图三
  .img-item31 {
    height: 1110rpx;
  }

  .img-item32 {
    height: 1290rpx;
  }

  .img-item33 {
    height: 596rpx;
  }

  .img-item34 {
    height: 984rpx;
  }

  .img-item35 {
    height: 490rpx;
  }

  // 流程图四
  .img-item41 {
    height: 678rpx;
  }

  .img-item42 {
    height: 1266rpx;
  }

  .img-item43 {
    height: 1398rpx;
  }

  .img-item44 {
    height: 830rpx;
  }

  .img-item45 {
    height: 490rpx;
  }

  .img-item46 {
    height: 1666rpx;
  }

}

/* 案例视频 */
.video-bg {
  width: 100%;
  position: absolute;
  top: 290rpx;
}
.video-title {
  position: relative;
  padding: 96rpx 0 24rpx;
  text-align: center;
  font-size: 48rpx;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0;
  line-height: 64rpx;
}
.video-title::after {
  content: '';
  display: block;
  width: 48rpx;
  height: 4rpx;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
}
.video-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0 32rpx;
  font-size: 0;
}
.video-item {
  width: calc(50% - 12rpx);
  margin-bottom: 32rpx;
  position: relative;
}
.download{
  position: absolute;
  top: 16rpx;
  right: 16rpx;
  z-index: 1;
  width: 40rpx;
  height: 50rpx;
}
.video-item video {
  width: 100%;
  height: 592rpx;
}
.video-item:nth-child(even) {
  margin-left: 22rpx;
}
.video-text {
  margin-top: 16rpx;
  font-size: 24rpx;
  font-weight: 500;
  font-size: 24rpx;
  color: #343456;
}
.video-tips {
  width: 100%;
  text-align: center;
  font-size: 28rpx;
  color: rgba(255,255,255,.6);
  padding: 16rpx 0 92rpx;
}

.tab-box {
  display: flex;
  width: 100%;
  height: 92rpx;
  box-sizing: border-box;
  border-bottom: 1rpx solid #EAEBEF;
  .tab {
    position: relative;
    flex-shrink: 0;
    .text {
      height: 84rpx;
      display: flex;
      align-items: center;
      box-sizing: border-box;
      color: #8A8C90;
      justify-content: center;
      margin: 0 24rpx;
      font-weight: 400;
      font-size: 28rpx;
      font-family: PingFangSC-Medium;
    }
    .line {
      width: 48rpx;
      height: var(--borderRadius);
      background: var(--btnColor);
      border-radius: 8rpx 8rpx 0 0;
      margin: 0 auto;
      transform: scale(0);
      transition: all .25s;
    }
  }
  .active {
    .text {
      font-weight: 500;
      font-size: 28rpx;
      transition: all .25s;
      color: var(--btnColor);
    }
    .line {
      transform: scale(1);
    }
  }
}

.tab-box::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  color: transparent;
}