Adsense/Scheduling

This commit is contained in:
huanqing.shao
2019-10-11 23:12:45 +08:00
parent 517e1ca52b
commit a38c2a6712
6 changed files with 118 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="adsense-page-top">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
@ -9,6 +9,16 @@
data-ad-slot="6968314981"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="fluid"
data-ad-layout-key="-h2+d+5c-9-3e"
data-ad-client="ca-pub-3313149841665250"
data-ad-slot="4299889232"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</template>
@ -22,5 +32,6 @@ export default {
<style scoped>
.adsense-page-top {
/* background-color: green; */
opacity: 0.2;
}
</style>

View File

@ -28,11 +28,11 @@ export default {
.adsense-right {
width: 500px;
max-width: calc(50vw - 720px);
max-width: calc(50vw - 690px);
height: 50vh;
position: fixed;
top: 10vh;
right: 1rem;
right: 0.2rem;
/* background-color: grey; */
}