This commit is contained in:
toom1996
2025-07-08 15:03:50 +08:00
parent 8bc6f51be4
commit b7b16e8dd0
5 changed files with 54 additions and 55 deletions

View File

@ -8,7 +8,7 @@ import {
TP2_COLUMN_INDEX_URL,
} from "../../../../utils/const";
const config = getConfig(Astro);
const extra = getExtra('');
const extra = getExtra(config.app_extra_tag);
const breadcrumb = [
{ title: TP2_COLUMN_INDEX, url: TP2_COLUMN_INDEX_URL },
{ title: TP2_COLUMN_ABOUT_US, url: TP2_COLUMN_ABOUT_US_URL },

View File

@ -81,7 +81,7 @@ const breadcrumb = [{
<div class="sc2-swiper-box">
<div class="swiper-wrapper sc2-swiper-container">
{
extra.index.sc3.swiper.map(item => {
extra?.index?.sc3?.swiper.map(item => {
return <div class="sc2-swiper-silde swiper-slide">
<Image class="h-auto" src={item.url} height={100} width={100} alt={`${item.name}封面`}/>
<span class="book-name">{item.name}</span>

View File

@ -162,7 +162,7 @@ main {
/* sc2 */
.app-read-container .app-read-sc2 {
background-color: #f5f5f7;
background-color: #fff;
padding-top: 8.0208333vw;
}

View File

@ -14,7 +14,7 @@ export function getExtra(extraTag: string = '')
return EXTRA_HONGTIXIANYUE;
} else if (extraTag == 'ZHISHIHUISHENG') {
return EXTRA_ZHISHIHUISHENG;
} else if (extraTag == 'ZHISHIHUISHENG') {
} else if (extraTag == 'MINGWUZHITANG') {
return EXTRA_MINGWUZHITANG;
}

File diff suppressed because one or more lines are too long