This commit is contained in:
toom1996
2025-06-20 19:54:59 +08:00
parent a3db90600c
commit 375244d58b
7 changed files with 11 additions and 11 deletions

View File

@ -18,6 +18,7 @@ const {data} = Astro.props;
margin-left: 1rem; margin-left: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
font-size: 0.9rem; font-size: 0.9rem;
font-weight: bold;
} }
.breadcrumb a { .breadcrumb a {

View File

@ -1,6 +1,6 @@
// 网站全局配置 // 网站全局配置
export const APP_NAME = "知识回声"; export const APP_NAME = "知识回声";
export const APP_COMPANY = '新疆阅快阅好信息技术有限公司'; export const APP_COMPANY = '武汉森颜网络科技有限公司';
export const BASE_URL = "https://www.zhishihuisheng.com"; export const BASE_URL = "https://www.zhishihuisheng.com";
export const DESCRIPTION = '知识回声是一款超实用学习应用,涵盖海量读物,热门有声书籍,让知识触手可及。'; export const DESCRIPTION = '知识回声是一款超实用学习应用,涵盖海量读物,热门有声书籍,让知识触手可及。';

View File

@ -14,6 +14,7 @@ const {description, title, keywords} = Astro.props;
<title>{title}</title> <title>{title}</title>
<meta name="description" content={description} /> <meta name="description" content={description} />
<meta name="keywords" content={keywords} /> <meta name="keywords" content={keywords} />
<meta name="baidu-site-verification" content="codeva-kLMUXYuoiO" />
<!-- <link href="https://fonts.googleapis.com/css2?family=Graphik:wght@400;500;600;700&display=swap" rel="stylesheet"> --> <!-- <link href="https://fonts.googleapis.com/css2?family=Graphik:wght@400;500;600;700&display=swap" rel="stylesheet"> -->
</head> </head>
<body> <body>

View File

@ -147,7 +147,7 @@ const faqCategories = [
background: white; background: white;
border-radius: 16px; border-radius: 16px;
padding: 1rem; padding: 1rem;
border: 1px solid var(--black-color); /* border: 1px solid var(--black-color); */
transition: all 0.3s ease; transition: all 0.3s ease;
} }

View File

@ -64,7 +64,7 @@ const LDJSON = {
<div class="app-showcase-grid"> <div class="app-showcase-grid">
<article class="app-showcase-item"> <article class="app-showcase-item">
<div class="app-image"> <div class="app-image">
<Image src={page_1} alt="优质课程界面展示" width="280" height="500" loading="lazy" /> <Image src={page_1} alt="优质课程界面展示" width="280" height="500" loading="eager" />
</div> </div>
<div class="app-overlay"> <div class="app-overlay">
<h3>精品课程</h3> <h3>精品课程</h3>
@ -73,7 +73,7 @@ const LDJSON = {
</article> </article>
<article class="app-showcase-item"> <article class="app-showcase-item">
<div class="app-image"> <div class="app-image">
<Image src={page_2} alt="内容推荐界面展示" width="280" height="500" loading="lazy" /> <Image src={page_2} alt="内容推荐界面展示" width="280" height="500" loading="eager" />
</div> </div>
<div class="app-overlay"> <div class="app-overlay">
<h3>优质好书</h3> <h3>优质好书</h3>
@ -82,7 +82,7 @@ const LDJSON = {
</article> </article>
<article class="app-showcase-item"> <article class="app-showcase-item">
<div class="app-image"> <div class="app-image">
<Image src={page_3} alt="精美页面界面展示" width="280" height="500" loading="lazy" /> <Image src={page_3} alt="精美页面界面展示" width="280" height="500" loading="eager" />
</div> </div>
<div class="app-overlay"> <div class="app-overlay">
<h3>精美页面</h3> <h3>精美页面</h3>
@ -91,7 +91,7 @@ const LDJSON = {
</article> </article>
<article class="app-showcase-item"> <article class="app-showcase-item">
<div class="app-image"> <div class="app-image">
<Image src={page_4} alt="有声阅读界面展示" width="280" height="500" loading="lazy" /> <Image src={page_4} alt="有声阅读界面展示" width="280" height="500" loading="eager" />
</div> </div>
<div class="app-overlay"> <div class="app-overlay">
<h3>有声阅读</h3> <h3>有声阅读</h3>

View File

@ -80,10 +80,6 @@ const keywords = '知识回声,知识回声新闻,知识回声动态,知识回
transition: all 0.2s; transition: all 0.2s;
} }
.news-list a:hover {
background: var(--bg-tertiary);
}
.news-list .news-title { .news-list .news-title {
flex: 1; flex: 1;
margin-right: 1rem; margin-right: 1rem;
@ -103,6 +99,7 @@ const keywords = '知识回声,知识回声新闻,知识回声动态,知识回
@media (max-width: 768px) { @media (max-width: 768px) {
.news-list a { .news-list a {
flex-direction: column; flex-direction: column;
align-items: flex-start;
} }
} }
</style> </style>

View File

@ -16,7 +16,8 @@ interface data<T> {
} }
function getRpcClient() { function getRpcClient() {
return new JsonRpcClient('172.18.0.5', 9504)
return new JsonRpcClient(import.meta.env.RPC_REMOTE, import.meta.env.RPC_PORT)
} }
// 新闻列表 // 新闻列表