"use client" import { useState } from "react" import Link from "next/link" import { CONTACT_FAQS } from "@/lib/site-content" export default function CardsSection() { const [openIndex, setOpenIndex] = useState(null) return (
FAQ

常见问题

如果下面几条还不够覆盖你的情况,直接提交表单会更高效。

提交需求
{CONTACT_FAQS.map((faq, i) => (
setOpenIndex(openIndex === i ? null : i)} style={{ cursor: "pointer" }}>
{String(i + 1).padStart(2, "0")}

{faq.question}

{faq.answer}

))}
) }