diff --git a/src/assets/css/theme-style.css b/src/assets/css/theme-style.css
index ea87b01..0cc0aaa 100644
--- a/src/assets/css/theme-style.css
+++ b/src/assets/css/theme-style.css
@@ -10,6 +10,16 @@ main {
background-color: #f5f5f5;
}
+
+.gray {
+ color: #999;
+}
+
+.font-14 {
+ font-size: 14px;
+}
+
+
@media only screen and (max-width: 767.98px) {
main {
padding: 1rem;
diff --git a/src/components/Breadcrumb.astro b/src/components/Breadcrumb.astro
index 64b7fb2..51ec9ac 100644
--- a/src/components/Breadcrumb.astro
+++ b/src/components/Breadcrumb.astro
@@ -6,8 +6,8 @@ const {data} = Astro.props;
{
data.map((item: { title: string; link: string }) => {
return (
- >
- {item.title}
+ >
+ {item.link ? {item.title} : item.title}
)
})
}
diff --git a/src/pages/404.astro b/src/pages/404.astro
index 935624f..0939eab 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -2,7 +2,7 @@
- 404 - 飞驰营销
+ 页面未找到 | 飞驰营销网
404
diff --git a/src/pages/news.astro b/src/pages/news.astro
index 6cb7de3..03a7c06 100644
--- a/src/pages/news.astro
+++ b/src/pages/news.astro
@@ -23,7 +23,7 @@ const {
page = Astro.locals?.column_page || 1, // 页码
columnDesc = Astro.locals?.column_data?.desc || `霍尔果斯飞驰广告有限公司致力于分享从基础到进阶的SEO优化策略、广告投放方法、内容运营技巧和网站转化率提升方案。` ,
breadcrumb = Astro.locals?.column_data?.item || [{ title: "资讯", link: "/news" }], // 面包屑导航
- filter = Astro.locals?.column_data?.filter || [], // 面包屑导航
+ filter = Astro.locals?.column_data?.filter || [], // 文章筛选条件
} = Astro.props;
const { code, data, total = 0, hot } = await newsIndex(config.id, limit, page, filter);
if (data.length == 0 || code !== 0) {
@@ -78,7 +78,7 @@ if (data.length == 0 || code !== 0) {
-
diff --git a/src/pages/news/[...slug].astro b/src/pages/news/[...slug].astro
index 6b4fbd3..d529f89 100644
--- a/src/pages/news/[...slug].astro
+++ b/src/pages/news/[...slug].astro
@@ -50,7 +50,7 @@ const bytedanceData = formatDate(data.created_at)
@@ -79,8 +79,8 @@ const bytedanceData = formatDate(data.created_at)
{data.title}
@@ -277,7 +277,7 @@ const bytedanceData = formatDate(data.created_at)
border-bottom: none !important;
padding: unset !important;
font-weight: unset;
- a {
+ a, span {
color: #999 !important;
font-size: 14px;
}
@@ -476,7 +476,7 @@ const bytedanceData = formatDate(data.created_at)
.related-news ul {
list-style: none;
padding: 0;
- margin: 0;
+ margin-top: 1rem;
}
.related-news li {
diff --git a/utils/rpc-client.ts b/utils/rpc-client.ts
index fda4d65..73585d6 100644
--- a/utils/rpc-client.ts
+++ b/utils/rpc-client.ts
@@ -33,7 +33,6 @@ export class JsonRpcClient {
params,
id: Date.now(),
}
-console.log(req)
const message = JSON.stringify(req) + '\n'
diff --git a/utils/rpc.ts b/utils/rpc.ts
index 1256a7e..de29ddd 100644
--- a/utils/rpc.ts
+++ b/utils/rpc.ts
@@ -65,8 +65,8 @@ export interface InewsDetail {
updated_at: string
column_tag: string
column_tag_url: string
- second_column: string
- second_column_url: string
+ second_column_tag: string
+ second_column_tag_url: string
about: {
id: number
title: string