From 375244d58bbd4bf53d9ac16d010db2136249bcfd Mon Sep 17 00:00:00 2001 From: toom1996 Date: Fri, 20 Jun 2025 19:54:59 +0800 Subject: [PATCH] update --- src/components/Breadcrumb.astro | 1 + src/config/app.ts | 2 +- src/layouts/Layout.astro | 1 + src/pages/faq.astro | 2 +- src/pages/index.astro | 8 ++++---- src/pages/news.astro | 5 +---- utils/rpc.ts | 3 ++- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Breadcrumb.astro b/src/components/Breadcrumb.astro index 531b150..2bde6ff 100644 --- a/src/components/Breadcrumb.astro +++ b/src/components/Breadcrumb.astro @@ -18,6 +18,7 @@ const {data} = Astro.props; margin-left: 1rem; margin-bottom: 1rem; font-size: 0.9rem; + font-weight: bold; } .breadcrumb a { diff --git a/src/config/app.ts b/src/config/app.ts index bebff8d..665b73f 100644 --- a/src/config/app.ts +++ b/src/config/app.ts @@ -1,6 +1,6 @@ // 网站全局配置 export const APP_NAME = "知识回声"; -export const APP_COMPANY = '新疆阅快阅好信息技术有限公司'; +export const APP_COMPANY = '武汉森颜网络科技有限公司'; export const BASE_URL = "https://www.zhishihuisheng.com"; export const DESCRIPTION = '知识回声是一款超实用学习应用,涵盖海量读物,热门有声书籍,让知识触手可及。'; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index fb77792..e489cff 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -14,6 +14,7 @@ const {description, title, keywords} = Astro.props; {title} + diff --git a/src/pages/faq.astro b/src/pages/faq.astro index 9b83bcd..d2a4dfc 100644 --- a/src/pages/faq.astro +++ b/src/pages/faq.astro @@ -147,7 +147,7 @@ const faqCategories = [ background: white; border-radius: 16px; padding: 1rem; - border: 1px solid var(--black-color); + /* border: 1px solid var(--black-color); */ transition: all 0.3s ease; } diff --git a/src/pages/index.astro b/src/pages/index.astro index 98fb1fd..dc3c472 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -64,7 +64,7 @@ const LDJSON = {
- 优质课程界面展示 + 优质课程界面展示

精品课程

@@ -73,7 +73,7 @@ const LDJSON = {
- 内容推荐界面展示 + 内容推荐界面展示

优质好书

@@ -82,7 +82,7 @@ const LDJSON = {
- 精美页面界面展示 + 精美页面界面展示

精美页面

@@ -91,7 +91,7 @@ const LDJSON = {
- 有声阅读界面展示 + 有声阅读界面展示

有声阅读

diff --git a/src/pages/news.astro b/src/pages/news.astro index 8a273be..12012b8 100644 --- a/src/pages/news.astro +++ b/src/pages/news.astro @@ -80,10 +80,6 @@ const keywords = '知识回声,知识回声新闻,知识回声动态,知识回 transition: all 0.2s; } - .news-list a:hover { - background: var(--bg-tertiary); - } - .news-list .news-title { flex: 1; margin-right: 1rem; @@ -103,6 +99,7 @@ const keywords = '知识回声,知识回声新闻,知识回声动态,知识回 @media (max-width: 768px) { .news-list a { flex-direction: column; + align-items: flex-start; } } diff --git a/utils/rpc.ts b/utils/rpc.ts index b50b8ee..52e4565 100644 --- a/utils/rpc.ts +++ b/utils/rpc.ts @@ -16,7 +16,8 @@ interface data { } function getRpcClient() { - return new JsonRpcClient('172.18.0.5', 9504) + + return new JsonRpcClient(import.meta.env.RPC_REMOTE, import.meta.env.RPC_PORT) } // 新闻列表