BusiCard.scss 1.73 KB
/* pages/tab/output/components/BusiCard/BusiCard.wxss */
.busi-card {
  background: #FFFFFF;
  box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
  border-radius: 8rpx;
  margin: 0rpx 20rpx 20rpx;
  padding: 20rpx 0;

  .title-box {
    display: flex;
    align-items: center;
    padding: 0 20rpx;

    .icon {
      width: 40rpx;
      height: 40rpx;
      margin-right: 8rpx;
      margin-top: -4rpx;
    }

    .title {
      display: flex;
      justify-content: space-between;
      width: calc(100% - 40rpx);
      // border-bottom: 2rpx dotted #E0E0E0;
      padding-bottom: 14rpx;
    }

    .title-tap {
      height: 36rpx;
      line-height: 36rpx;
      background: #3e71fe1f;
      border-radius: 4rpx;
      font-size: 20rpx;
      color: #3E71FE;
      padding: 0 8rpx;
    }
  }

  .bf-blue {
    padding: 0;
  }

  .bf-blue::before {
    display: inline-block;
    content: '';
    width: 6rpx;
    height: 28rpx;
    background: #3666FE;
    border-radius: 0 4rpx 4rpx 0;
    margin: -12rpx 16rpx 0 0;
  }

  .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20rpx;
  }

  .content-item {
    width: calc(50% - 10rpx);
    // flex: 1;
    text-align: center;
    font-size: 20rpx;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    color: #999999;
    margin-top: 16rpx;
    height: 128rpx;
    background: #F8F9FC;
    border-radius: 12rpx;
    &:nth-child(2n - 1) {
      margin-right: 14rpx;
    }

    .price {
      font-weight: 700;
      font-size: 24rpx;
      color: #323436;
      font-weight: 600;
      margin-bottom: 10rpx;
    }
    .unit{
      font-size: 20rpx;
      font-weight: 600;
    }
    // .label{
    //   font-size: 20rpx;
    // }
  }
}