初始化
This commit is contained in:
28
uni_modules/UniDevTools/node_modules/@dcloudio/uni-components/lib/ad-interstitial/ad-interstitial.vue
generated
vendored
Normal file
28
uni_modules/UniDevTools/node_modules/@dcloudio/uni-components/lib/ad-interstitial/ad-interstitial.vue
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view @click="_onclick">
|
||||
<slot :options="options" :loading="loading" :error="errorMessage" />
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<uniad-plugin class="uniad-plugin" :adpid="adpid" :unit-id="unitId" @load="_onmpload" @close="_onmpclose" @error="_onmperror"></uniad-plugin>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// #ifndef MP-WEIXIN
|
||||
import adMixin from "../ad/ad.mixin.js"
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
import adMixin from "../ad/ad.mixin.mp.js"
|
||||
// #endif
|
||||
|
||||
export default {
|
||||
name: 'AdInterstitial',
|
||||
mixins: [adMixin],
|
||||
props: {
|
||||
adType: {
|
||||
type: String,
|
||||
default: 'Interstitial'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user