echart.scss 3.75 KB
/* packageOutput/components/echart/echart.wxss */

.ec-canvas {
  width: 720rpx;
  height: 450rpx;
  // margin-top: -20rpx;
}

.container {
  // height: 584rpx;
  padding: 20rpx 16rpx 0rpx;
  background-color: #fff;
  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: 24rpx;
      color: #333333;
    }

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

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

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

      .label {
        margin-bottom: 19rpx;
      }

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

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

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

    .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;
    }
  }
}

.invalidFlowContainer {
  box-sizing: border-box;
  border-top: 1rpx solid #e4e6ee;
  padding: 20rpx 16rpx 24rpx;
  margin-top: 40rpx;

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32rpx;

    .label {
      font-size: 24rpx;
      color: #333333;
    }
  }

  .customer {
    box-sizing: border-box;
    width: 100%;
    padding: 24rpx;
    font-weight: 400;
    font-size: 24rpx;
    color: #666666;
    background: #F7F9FA;
    border: 2rpx solid #F3F8FA;
    border-radius: 16rpx;
    margin-bottom: 24rpx;

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;

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

    }

    .item {
      display: flex;
      margin-top: 16rpx;

      .label {
        width: 100rpx;
        margin-right: 24rpx;
      }
      .result{
        flex: 1;
        word-break: break-all;
      }
    }
  }
}

.arrow {
  width: 40rpx;
  height: 40rpx;
  margin: 0 auto;

  .img {
    width: 100%;
    height: 100%;
  }

  .rotate {
    transform: rotate(180deg);
  }
}