<template>
    <view class="advert">
        <template-mars target="swan">
            <ad
                :appid="data.appid"
                :apid="data.apid"
                :backend="data.backend"
                :index="data.index"
                :response-data="data.responseData"
            />
        </template-mars>
    </view>
</template>
<script>
/**
* @file 广告
* @author 颜廷熙
*/
export default {
    config: {
        component: true
    },
    props: {
        data: {
            type: Object,
            default: () => ({})
        }
    },
    data() {
        return {
        };
    },
    methods: {
    }
};
</script>