outputEchart.scss 3.67 KB
/* packagesList/packageOutput/components/outputEchart/outputEchart.wxss */
.container {
  // padding: 20rpx 16rpx;

  margin-bottom: 20rpx;
  font-size: 36rpx;
  // border-radius: 16rpx;

  .title {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 28rpx;
    color: #323436;

    .title-tip {
      font-weight: 400;
      font-size: 20rpx;
      color: #999999;
    }

    .title-tip-red {
      font-weight: 400;
      font-size: 24rpx;
      color: #db6d6d;
    }
  }

  .content {
    padding: 24rpx 20rpx 0rpx;

    .row {
      height: 115rpx;
      font-size: 24rpx;
      padding: 16rpx 0;
      border-bottom: 0.5rpx solid #e4e6ee;

      .label {
        line-height: 18rpx;
        margin-bottom: 22rpx;
      }

      .num {
        font-weight: 600;
        line-height: 22rpx;
        font-size: 36rpx;
        color: #333333;
      }
    }

    .row:last-child {
      border: none;
    }

    .td:first-child {
      width: 55%;
    }

    .td:nth-child(2){
      width: 25%;
    }
    // .td:nth-child(2),
    .td:nth-child(3) {
      width: 20%;
    }

    .icon-up-down {
      width: 24rpx;
      height: 24rpx;
    }

    .up {
      font-weight: 600;
      color: #f24724;
    }

    .down {
      font-weight: 600;
      color: #35c376;
    }
  }

  .revenue {
    box-sizing: border-box;
    background-color: #fff;
    padding: 20rpx 16rpx 20rpx;
    margin-bottom: 20rpx;
    border-radius: 16rpx;
  }

  .pro-rank {
    .rank-item {
      border-bottom: 0.5rpx solid #e4e6ee;
      padding: 24rpx 0;
    }

    .rank-idx {
      width: 36rpx;
      height: 36rpx;
      line-height: 40rpx;
      text-align: center;
      background: #999999;
      border-radius: 8rpx;
      font-weight: 600;
      font-size: 20rpx;
      color: #ffffff;
      margin-right: 10rpx;
    }

    .rank-0 {
      background-image: linear-gradient(180deg, #ffd767 0%, #f7c33f 100%);
      color: #a86921;
    }

    .rank-1 {
      background-image: linear-gradient(180deg, #dfe1e5 0%, #cbccce 100%);
      color: #8b8585;
    }

    .rank-2 {
      background-image: linear-gradient(180deg, #f6dac4 0%, #f0be98 100%);
      color: #cf7334;
    }

    .pro-name {
      width: 480rpx;
      font-weight: 600;
      font-size: 28rpx;
      color: #333333;
    }

    .price {
      font-weight: 600;
      font-size: 36rpx;
      color: #f24724;
      text-align: right;
    }

    .tips {
      font-weight: 400;
      font-size: 24rpx;
      color: #666666;
      margin: 18rpx 0 0 46rpx;
    }

    .icons {
      width: 100%;
      text-align: center;
      padding: 20rpx 0 0;
    }

    .rank-icon {
      width: 40rpx;
      height: 40rpx;
    }
  }
}

.container.revenue {
  padding: 20rpx 0 20rpx 16rpx;

  .title-tip {
    margin-right: 16rpx;
  }
}

.container.rank {
  padding: 24rpx 10rpx 0 20rpx;
}

.container.result {
  background-image: linear-gradient(0deg, #f8fbff 0%, #eff5fe 100%);
  border-radius: 16rpx;

  .content {
    font-weight: 400;
    font-size: 24rpx;
    color: #333333;
  }
}

.resultContainer {
  padding: 20rpx 16rpx 40rpx;
  background-image: linear-gradient(0deg, #f8fbff 0%, #eff5fe 100%);
  border-radius: 16rpx;

  .content {
    font-weight: 400;
    font-size: 24rpx;
    color: #333333;
  }
}

.flex {
  display: flex;
  align-items: center;
}

.container {
  // height: 370rrpx;
  height: 100%;
  overflow: scroll;
  overflow-x: hidden;
  // background-color: #fff;
}

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