import Home from pages;import SiteRuntime from SiteRuntime;export default function InfoTotal const total = Home; return section className=info div className=info-fanma
from "@/pages"; import { SiteRuntime } from "./SiteRuntime";
export default function InfoTotal({ totalsites }: { totalsites: number }) {
const { common, collects, recommend, blognav, framehot } = Home();
return (
<section className="info">
<div className="info-fanma">
<h2>导航信息</h2>
<ul>
<li><span className="l"></span><span className="r"></span></li>
<li><span className="l">收录网站:</span><span className="r">{totalsites}</span></li>
<SiteRuntime />
</ul>
</div>
</section>
)
}
// We need to pass the totalsites as a prop to InfoTotal component. // Also, we need to destructure the response of Home() to get the required data.
原文地址: https://www.cveoy.top/t/topic/buK4 著作权归作者所有。请勿转载和采集!