index.less 3.35 KB
.my-car-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 240rpx;
}
    .loading-container {
        display: flex;
        justify-content: center;
        align-items: center;

        .loading-text {
            font-size: 28rpx;
            color: #999;
        }
    }

    .no-more-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 32rpx 0;

        text {
            font-size: 24rpx;
            color: #ccc;
        }
    }

/* 空状态样式 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 200rpx 80rpx;
  text-align: center;
}

.empty-image {
  width: 400rpx;
  height: 300rpx;
  margin-bottom: 60rpx;
  opacity: 0.6;
}

.empty-text {
  font-size: 32rpx;
  color: #999;
  margin-bottom: 80rpx;
}

/* 车辆卡片样式 */
.car-card {
  background: white;
  border-radius: 32rpx;
  margin-bottom: 40rpx;
  padding: 40rpx;
  box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
  position: relative;
}

/* 状态标识 */
.status-badges {
  display: flex;
  gap: 16rpx;
  margin-top: 16rpx;
  margin-bottom: 24rpx;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8rpx;
  padding: 8rpx 16rpx;
  border-radius: 24rpx;
  font-size: 22rpx;
  color: white;

  &.verified {
    background: linear-gradient(135deg, #10b981, #059669);
  }

  &.offline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
  }
}

.status-icon {
  width: 32rpx;
  height: 32rpx;
}

/* 车辆图片 */
.car-image-container {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24rpx;
  overflow: hidden;
}

.car-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 车辆信息 */
.car-info {
  padding-left: 24rpx;
}

.car-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.car-details {
  display: flex;
  gap: 32rpx;
  margin-bottom: 24rpx;
}

.detail-item {
  font-size: 26rpx;
  color: #666;
  padding: 8rpx 24rpx;
  background: #f3f4f6;
  border-radius: 16rpx;
}

.car-description {
  font-size: 28rpx;
  color: #666;
  line-height: 1.5;
  margin-bottom: 32rpx;
}

.price-section {
  display: flex;
  align-items: baseline;
  gap: 32rpx;
}

.current-price {
  font-size: 40rpx;
  font-weight: bold;
  color: #f97316;
}

.market-price {
  font-size: 24rpx;
  color: #999;
  text-decoration: line-through;
}

/* 操作按钮 */
.action-buttons {
  display: flex;
  gap: 24rpx;
  justify-content: flex-end;
}

/* 加载更多 */
.load-more {
  display: flex;
  justify-content: center;
  padding: 80rpx 0;
}

.loading-text {
  display: flex;
  align-items: center;
  gap: 24rpx;
  font-size: 28rpx;
  color: #666;
}

/* 没有更多数据 */
.no-more {
  text-align: center;
  padding: 80rpx 0;
  font-size: 28rpx;
  color: #999;
}

/* 响应式适配 */
@media (max-width: 750rpx) {
  .car-list {
    padding: 30rpx;
  }

  .car-card {
    padding: 30rpx;
    margin-bottom: 30rpx;
  }

  .car-title {
    font-size: 32rpx;
  }

  .detail-item {
    font-size: 24rpx;
    padding: 6rpx 20rpx;
  }

  .car-description {
    font-size: 26rpx;
  }

  .current-price {
    font-size: 36rpx;
  }

  .market-price {
    font-size: 22rpx;
  }

  .action-buttons {
    gap: 30rpx;
  }

  .status-badge {
    font-size: 20rpx;
    padding: 6rpx 12rpx;
  }

  .status-icon {
    width: 28rpx;
    height: 28rpx;
  }
}