index.scss 1.87 KB
/* pages/tab/select/index.wxss */
.navigation-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  background: #ffffff;
}

.strategy-box {
  padding: 30rpx;
  background: #F8F8F8;

  .category_wrap {
    width: 100%;
    margin-bottom: 30rpx;
    overflow: hidden;
    white-space: nowrap;

    .cate_itm {
      display: inline-block;
      margin-right: 60rpx;
      position: relative;

      .cate_text {
        font-weight: 400;
        font-size: 32rpx;
        color: #333333;
      }

      .cate_text_active {
        font-weight: 600;
        font-size: 36rpx;
        color: #333333;

      }

      .cate_active_line {
        width: 144rpx;
        height: 12rpx;
        background-image: linear-gradient(90deg, #61a5ff00 0%, #2699FD 100%);
        border-radius: 6rpx;
        position: absolute;
        right: 0rpx;
        bottom: 0rpx;
      }
    }

    .cate_itm:last-child {
      margin-right: 0;
    }
  }

  .strategy-item {
    width: 690rpx;
    background: #ffffff;
    border-radius: 8rpx;
    margin-bottom: 30rpx;

    .strategy-img {
      height: 388rpx;
      border-radius: 8rpx 8rpx 0 0;
    }

    .strategy-detail {
      // height: 140rpx;
      padding: 20rpx;

      &-title {
        font-weight: 500;
        font-size: 32rpx;
        color: #333333;
      }

      &-bottom {
        // display: flex;
        // justify-content: space-between;
        margin-top: 14rpx;

        .tag {
          width: 128rpx;
          height: 36rpx;
          font-size: 24rpx;
          color: #ffffff;
          line-height: 36rpx;
          text-align: center;
          background-image: linear-gradient(107deg, #70b2ff 0%, #6db0ff 100%);
          border-radius: 4rpx;
        }

        .viewer {
          font-weight: 400;
          font-size: 24rpx;
          color: #999999;
          // text-align: right;
          line-height: 36rpx;
        }
      }
    }
  }
}