outputCrowdfund.scss 4.97 KB
/* packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxss */
.crowdfund-layout {
  margin: 20rpx 20rpx;

  .box {
    background-color: #FFFFFF;
    border-radius: 8rpx;
    margin-bottom: 20rpx;
  }

  .flex {
    display: flex;
  }

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

    &-block {
      // width: 33.3%;
      width: 50%;
      text-align: center;
      font-weight: 500;
      font-size: 26rpx;
      color: #393B3E;
      padding: 20rpx 0;
    }

    &-txt {
      height: 40rpx;
      line-height: 40rpx;
      margin-bottom: 14rpx;
      font-weight: 600;
    }

    &-label {
      font-size: 20rpx;
      color: #8A8C90;
    }
  }

  .merchant {
    padding: 0 32rpx 32rpx;

    .head {
      box-sizing: border-box;
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      // height: 70rpx;
      // line-height: 70rpx;
      padding: 16rpx 0;
      line-height: 40rpx;
      font-size: 28rpx;
      font-weight: 600;
      border-bottom: 1rpx dashed #CCCED1;
      margin-bottom: 16rpx;

      &-title {
        width: 70%;
      }

      &-link {
        font-size: 24rpx;
        color: #3666FE;
        // line-height: 32rpx;
        line-height: 37rpx;
      }

      .icon-download {
        width: 36rpx;
        height: 36rpx;
        vertical-align: middle;
      }

      .down-tips {
        position: absolute;
        right: -40rpx;
        top: -50rpx;
        height: 52rpx;
        line-height: 52rpx;
        font-size: 20rpx;
        color: #FFFFFF;
        background: rgba(0, 0, 0, 0.60);
        padding: 0 16rpx;
        border-radius: 12rpx;
        font-weight: 500;

        &::after {
          display: inline-block;
          content: '';
          position: absolute;
          bottom: -28rpx;
          right: 40rpx;
          width: 0;
          height: 0;
          border: 18rpx solid;
          border-color: #686868 transparent transparent;
        }
      }
    }

    .content {

      // 表单
      &-row {
        display: flex;
        height: 40rpx;
        line-height: 40rpx;
        font-size: 26rpx;
        color: #8A8C90;
        margin-bottom: 16rpx;
      }

      &-label {
        width: 104rpx;
        flex-shrink: 0;
        margin-right: 16rpx;
      }

      &-txt {
        color: #323436;
      }

      &-txt.red {
        color: #F35251;
      }

      // 排名
      &-rank {
        background: #F7F8FC;
        border-radius: 20rpx;
        margin-top: 16rpx;

        .rank-head {
          position: relative;
          height: 52rpx;
          line-height: 52rpx;
          text-align: center;
          font-size: 20rpx;
          color: #5A6066;
          margin-bottom: 20rpx;
          border-bottom: 1rpx solid rgba(204, 206, 209, 0.50);

          .activity-status {
            position: absolute;
            top: 0;
            right: 22rpx;
            font-size: 24rpx;
          }
        }

        .rank-table {
          color: #5A6066;
          font-size: 20rpx;
          padding-left: 20rpx;

          .tr {
            display: flex;
            height: 32rpx;
            line-height: 32rpx;
            padding-bottom: 16rpx;

            .th,
            .td {
              width: calc((100% - 116rpx) / 4);

              .icon-rank {
                width: 24rpx;
                height: 24rpx;
                vertical-align: middle;
                padding-right: 4rpx;
              }
            }
          }

          .tr-no-data {
            text-align: center;
            height: 32rpx;
            line-height: 32rpx;
            padding-bottom: 16rpx;
          }

          .btn-more {
            height: 56rpx;
            line-height: 56rpx;
            color: #5A6066;
            border: 2rpx solid #EEEEEE;
            border-radius: 28rpx;
            text-align: center;
            margin: 0 20rpx 16rpx;
          }
        }
      }

      // 建议
      &-suggest {
        margin-top: 32rpx;

        .suggest-title {
          width: 116rpx;
          height: 36rpx;
          line-height: 36rpx;
          font-weight: 600;
          font-size: 20rpx;
          color: #3E71FE;
          background: rgba(62, 113, 254, 0.12);
          border-radius: 4rpx;
        }

        .suggest-txt {
          font-size: 24rpx;
          color: #323436;
          line-height: 40rpx;
          margin: 12rpx 0 16rpx;
        }

        .suggest-block {
          line-height: 40rpx;
          background: #FFF9F2;
          border-radius: 20rpx;
          padding: 16rpx;

          .suggest-step {
            display: flex;

            .step-label {
              width: 54rpx;
              font-size: 20rpx;
              color: #323436;
              margin-right: 18rpx;
            }

            .step-txt {
              width: calc(100% - 72rpx);
              font-size: 22rpx;
              color: #8A8C90;
            }
          }
        }
      }
    }
  }
}

.downloadIcon {
  width: 40rpx;
  height: 40rpx;
}