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; */
}

View File

@ -17,8 +17,15 @@ module.exports = {
})();
`],
['link', {rel: "stylesheet", href: "/java-script-dist/swiper-4.5.0/css/swiper.min.css"}],
['script', {src: '/java-script-dist/swiper-4.5.0/js/swiper.min.js'}],
// ['script', {type: 'text/javascript', src: 'https://tajs.qq.com/stats?sId=66467492', charset: 'UTF-8'}]
['script', {src: '/java-script-dist/swiper-4.5.0/js/swiper.min.js', async: true}],
// ['script', {src: "https://www.googletagmanager.com/gtag/js?id=UA-144196556-1", async: true}],
// ['script', {}, `
// window.dataLayer = window.dataLayer || [];
// function gtag(){dataLayer.push(arguments);}
// gtag('js', new Date());
// gtag('config', 'UA-144196556-1');
// `],
['script', { 'data-ad-client': "ca-pub-3313149841665250", async: true, src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"}],
// <script data-ad-client="ca-pub-3313149841665250" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
],
@ -431,6 +438,13 @@ module.exports = {
'k8s-advanced/logs/cluster',
]
},
{
title: '调度',
collapsable: true,
children: [
'k8s-advanced/schedule/',
]
},
]
},
{