steps.sass 1.42 KB
/* packageUsedCar/pages/deliveryNote/components/steps/steps.wxss */

.steps-box {
  padding: 20rpx 0 24rpx 0;
  margin-bottom: 8rpx;
  display: flex;
  justify-content: center;
  .step-item {
    color: #999;
    font-size: 28rpx;
    font-weight: 500;
    height: 56rpx;
    display: flex;
    align-items: center;
    .serial-num {
      flex-shrink: 0;
      width: 56rpx;
      height: 56rpx;
      border-radius: 50%;
      box-sizing: border-box;
      margin-right: 12rpx;
      position: relative;
      border: 4rpx solid #b1b1b1;
      display: flex;
      justify-content: center;
      align-items: center;
      .num {
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        border: 3rpx solid #fff;
        background: #b1b1b1;
        color: #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 28rpx;
        font-weight: 700;
      }
    }
    .line {
      width: 32rpx;
      border-top: 2rpx dashed #d6d6d6;
      border-bottom: 2rpx dashed #d6d6d6;
      margin: 0 16rpx;
      height: 0;
    }
    &.active-item {
      color: #347BFF;
      .serial-num {
        border-color: #347BFF;
        box-shadow: 4rpx 4rpx 4rpx #d7e3ff;
        .num {
          background: #347BFF;
        }
      }
      .line {
        border-color: #347BFF;
      }
    }
  }
}

/* flex 工具类 */
.flex {
  display: flex;
  align-items: center;
}