"use client"; import Link from "next/link"; import { TOPICS } from "@/app/data/vip.mock"; import styles from "../vip.module.css"; type TopicItem = (typeof TOPICS)[number]; export function TopicCards() { return (

模块入口

{TOPICS.map((t: TopicItem) => { const { id, href } = t; const content = ( <> {t.icon} {t.title} {t.desc} ); return href ? ( {content} ) : (
{content}
); })}
); }