index.less 2.96 KB
.my-car-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 120px;
}

.car-list {
  padding: 20px;
}

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

.empty-image {
  width: 200px;
  height: 150px;
  margin-bottom: 30px;
  opacity: 0.6;
}

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

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

/* 状态标识 */
.status-badges {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 22px;
  color: white;

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

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

.status-icon {
  width: 16px;
  height: 16px;
}

/* 车辆图片 */
.car-image-container {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

/* 车辆信息 */
.car-info {
  margin-bottom: 20px;
}

.car-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.car-details {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.detail-item {
  font-size: 26px;
  color: #666;
  padding: 4px 12px;
  background: #f3f4f6;
  border-radius: 8px;
}

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

.price-section {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

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

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

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

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

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

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

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

  .car-card {
    padding: 15px;
    margin-bottom: 15px;
  }

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

  .detail-item {
    font-size: 24px;
    padding: 3px 10px;
  }

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

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

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

  .action-buttons {
    gap: 8px;
  }

  .status-badge {
    font-size: 20px;
    padding: 3px 6px;
  }

  .status-icon {
    width: 14px;
    height: 14px;
  }
}