AfterSaleInfoBox.scss 1.19 KB
.box {
  border-radius: 16rpx;
  background-color: #fff;
}

.text-box {
  padding: 32rpx 24rpx;
}

.text-box .title {
  font-weight: 600;
  font-size: 32rpx;
  color: #282829;
  margin-bottom: 24rpx;
}

.text-box .item {
  margin-bottom: 12rpx;
  display: flex;
  align-items: flex-start;
}

.text-box .item .label {
  width: auto;
  min-width: fit-content;
  margin-right: 10rpx;
  flex-shrink: 0;
}

.text-box .item .value {
  color: #656566;
  flex: 1;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.photo-box {
  position: relative;
  padding: 32rpx 24rpx;
  display: grid;
    /* 自动根据容器宽度决定列数,每列最小 200rpx,最大 1fr */
    grid-template-columns: repeat(auto-fill, minmax(200rpx, 1fr));
    gap: 20rpx;
    /* 保证最后一行左对齐 */
    justify-items: start;
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 24rpx;
      right: 24rpx;
      height: 1px;
      background-color: #FFEFF0F2;
    }
    .item {
      box-sizing: border-box;
      width: 200rpx;
      height: 200rpx;
      // background: #d8d8d8;
      // margin: 0 20rpx 20rpx 0;
      border-radius: 8rpx;
      overflow: hidden;
    }
}