Skip to content

Commit be449b6

Browse files
committed
feat(uac): add AdInterstitial
1 parent 590a6f8 commit be449b6

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script setup lang="ts">
2+
import type { AdInterstitialProps } from "@uni-helper/uni-app-types";
3+
4+
defineOptions({
5+
name: "AdInterstitial",
6+
});
7+
8+
const props = defineProps<AdInterstitialProps>();
9+
</script>
10+
11+
<template>
12+
<ad-interstitial :props>
13+
<slot></slot>
14+
</ad-interstitial>
15+
</template>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import type { AdInterstitialInstance } from "@uni-helper/uni-app-types";
2+
import AdInterstitial from "./AdInterstitial.vue";
3+
4+
export default AdInterstitial;
5+
6+
export { AdInterstitial, type AdInterstitialInstance };

packages/uni-app-components/src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ export * from "./AdContentPage";
22
export * from "./AdDraw";
33
export * from "./AdFullscreenVideo";
44
export * from "./AdInteractive";
5+
export * from "./AdInterstitial";
56
export * from "./View";
67
export * from "./Input";

0 commit comments

Comments
 (0)