广告修改
This commit is contained in:
@@ -4,7 +4,7 @@ import { toast } from "@heroui/react";
|
||||
import { useEffect, useState, type ReactNode } from "react";
|
||||
|
||||
import { openLoginDialog } from "@/components/auth/login-dialog";
|
||||
import { AdBanners, AdIcons } from "@/components/common/ads";
|
||||
import { AdBanners } from "@/components/common/ads";
|
||||
import { BackButton } from "@/components/common/back-button";
|
||||
import { pickPlayletCardTags } from "@/components/common/card-tags";
|
||||
import { DecryptedImage } from "@/components/common/decrypted-image";
|
||||
@@ -70,9 +70,9 @@ export function DramaDetailPage({
|
||||
related?: RelatedDrama[];
|
||||
/** 服务端渲染的 PC banner */
|
||||
promo?: ReactNode;
|
||||
/** 服务端渲染的 PC icon */
|
||||
/** 服务端渲染的播放页小图标(AList):PC */
|
||||
adIcons?: ReactNode;
|
||||
/** 服务端渲染的 H5 icon */
|
||||
/** 服务端渲染的播放页小图标(AList):H5 */
|
||||
adGrid?: ReactNode;
|
||||
/** 服务端渲染的 H5 banner */
|
||||
bannerAds?: ReactNode;
|
||||
@@ -254,7 +254,7 @@ export function DramaDetailPage({
|
||||
</figure>
|
||||
</article>
|
||||
|
||||
{adIcons ?? <AdIcons variant="pc" />}
|
||||
{adIcons}
|
||||
|
||||
<EpisodeDirectory detail={detail} variant="panel" />
|
||||
|
||||
@@ -298,7 +298,7 @@ export function DramaDetailPage({
|
||||
) : null}
|
||||
</article>
|
||||
|
||||
{adGrid ?? <AdIcons variant="h5" />}
|
||||
{adGrid}
|
||||
|
||||
<EpisodeDirectory detail={detail} variant="h5" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user