广告修改
This commit is contained in:
@@ -48,7 +48,7 @@ import {
|
||||
import type { PlayletThemeItem } from "@/lib/api/types";
|
||||
import { buildServerForwardHeaders } from "@/lib/api/client-headers";
|
||||
import { primeRequestForwardHeaders } from "@/lib/api/request-context";
|
||||
import { AdBannersSlot, AdIconsSlot } from "@/components/common/ads/slots";
|
||||
import { AdBannersSlot, AdSquaresSlot } from "@/components/common/ads/slots";
|
||||
import {
|
||||
buildPlayletDetailJSONLD,
|
||||
buildPlayletPlayJSONLD,
|
||||
@@ -387,9 +387,9 @@ async function ShortDramaRouteContent({ params }: { params: Params }) {
|
||||
<DramaDetailPage
|
||||
detail={mapped.detail}
|
||||
related={mapped.related}
|
||||
adIcons={<AdIconsSlot variant="pc" />}
|
||||
adIcons={<AdSquaresSlot slot="AList" variant="pc" />}
|
||||
promo={<AdBannersSlot variant="pc" />}
|
||||
adGrid={<AdIconsSlot variant="h5" />}
|
||||
adGrid={<AdSquaresSlot slot="AList" variant="h5" />}
|
||||
bannerAds={<AdBannersSlot variant="h5" />}
|
||||
/>
|
||||
</>
|
||||
@@ -428,8 +428,10 @@ async function ShortDramaRouteContent({ params }: { params: Params }) {
|
||||
episode={play.episode}
|
||||
src={play.src}
|
||||
related={play.related}
|
||||
adIcons={<AdIconsSlot variant="pc" />}
|
||||
promo={<AdBannersSlot variant="pc" />}
|
||||
topAds={<AdSquaresSlot slot="AList" variant="pc" />}
|
||||
h5Ads={<AdSquaresSlot slot="AList" variant="h5" />}
|
||||
h5Banners={<AdBannersSlot variant="h5" />}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -48,7 +48,7 @@ import {
|
||||
resolvePageMetadata,
|
||||
} from "@/lib/seo";
|
||||
import { videoHref } from "@/components/video/video-card";
|
||||
import { AdBannersSlot, AdIconsSlot } from "@/components/common/ads/slots";
|
||||
import { AdBannersSlot, AdSquaresSlot } from "@/components/common/ads/slots";
|
||||
|
||||
type Params = Promise<{ sort: string; page?: string[] }>;
|
||||
|
||||
@@ -307,9 +307,9 @@ async function VideoRouteContent({ params }: { params: Params }) {
|
||||
detail={mapped.detail}
|
||||
src={mapped.src}
|
||||
related={mapped.related}
|
||||
adIcons={<AdIconsSlot variant="pc" labels={false} />}
|
||||
promo={<AdBannersSlot variant="pc" />}
|
||||
adGrid={<AdIconsSlot variant="h5" />}
|
||||
topAds={<AdSquaresSlot slot="AList" variant="pc" />}
|
||||
h5Ads={<AdSquaresSlot slot="AList" variant="h5" />}
|
||||
bannerAds={<AdBannersSlot variant="h5" />}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user