forked from LaconicNetwork/cosmos-explorer
improve ad banner
This commit is contained in:
parent
9026aa8579
commit
33fd63c3b0
@ -1,5 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed } from 'vue';
|
||||
import { useRoute } from 'vue-router'
|
||||
const route = useRoute()
|
||||
|
||||
const aa = computed(() => {
|
||||
const hostname = location.hostname
|
||||
@ -13,5 +15,5 @@ const aa = computed(() => {
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<iframe :data-aa='`${aa}`' :src="`//acceptable.a-ads.com/${aa}`" style='border:0px; padding:0; width:100%; height:70px; overflow:hidden; margin-bottom: 5px; background-color: transparent;'></iframe>
|
||||
<iframe :data-aa='`${aa}`' :src="`//acceptable.a-ads.com/${aa}?${route.path}`" style='border:0px; padding:0; width:100%; height:70px; overflow:hidden; margin-bottom: 5px; background-color: transparent;'></iframe>
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user