This commit is contained in:
toom1996
2025-07-17 16:36:46 +08:00
parent f552859dc0
commit 92cc0f2474
6 changed files with 43 additions and 50 deletions

View File

@ -15,7 +15,7 @@ const limit = 12;
// 页码
const { page = 1 } = Astro.props;
const { code, data, total = 0, about } = await newsIndex(config.id, limit, page);
console.log(about);
console.log(total)
if (!data || code !== 0) {
return Astro.redirect("/404");
}
@ -31,11 +31,11 @@ if (!data || code !== 0) {
style="grid-column: 1 / 3;grid-row: 1 / 2;"
>
<BreadComponent
data={[{ title: "新闻中心", link: "/news" }]}
data={[{ title: "行业专栏", link: "/news" }]}
/>
<div class="archive-description">
<p>
SEO教程SEO入门课程定期分析SEO技术大量SEO实战案例SEO学习课程快速掌握SEO技术
欢迎来到我们的<a href="/news">行业专栏</a>这里汇聚了关于数字营销、SEO优化及互联网行业最新动态的深度分析与实战经验。随着数字化转型的加速越来越多的企业在探索如何在互联网浪潮中脱颖而出。我们专注于为营销人员、SEO专家以及各类企业提供最新的行业洞察、策略解析以及实用技巧
</p>
</div>
</div>