调度框架

This commit is contained in:
huanqing.shao
2019-10-13 10:44:05 +08:00
parent b4a2a48480
commit f90a593a8a
21 changed files with 430 additions and 81 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="adsense-banner" @click="$sendGaEvent('AdSense', 'AdSenseBanner', 'AdSenseBanner')">
<div class="adsense-banner">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 正文-横幅 -->
<ins class="adsbygoogle"

View File

@ -1,5 +1,5 @@
<template>
<div class="adsense-left-top" @click="$sendGaEvent('AdSense', 'AdSenseLeftTop', 'AdSenseLeftTop')">
<div class="adsense-left-top">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- AdsenseLeftTop -->
<ins class="adsbygoogle"

View File

@ -1,5 +1,5 @@
<template>
<div class="adsense-page-bottom" @click="$sendGaEvent('AdSense', 'AdSensePageBottom', 'AdSensePageBottom')">
<div class="adsense-page-bottom">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- AdSensePageBottom -->
<ins class="adsbygoogle"

View File

@ -21,7 +21,7 @@ export default {
<style scoped>
.adsense-page-bottom-inline {
border: 1px solid #d7dae2;
height: 160px;
max-height: 160px;
overflow: hidden;
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<div class="adsense-page-top" @click.capture="$sendGaEvent('AdSense', 'AdSensePageTop', 'AdSensePageTop')">
<div class="adsense-page-top">
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"

View File

@ -1,5 +1,5 @@
<template>
<div class="adsense-paragraph" @click="$sendGaEvent('AdSense', 'AdSenseParagraph', 'AdSenseParagraph')">
<div class="adsense-paragraph">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"

View File

@ -1,14 +1,13 @@
<template>
<div class="adsense-right" @click="$sendGaEvent('AdSense', 'AdSenseRightSide', 'AdSenseRightSide')">
<div class="adsense-right">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 右侧垂直 -->
<!-- AdSenseRightSide -->
<ins class="adsbygoogle"
style="display:block; height: 40vh; max-width: calc(50vw - 720px); min-width: 200px;"
style="display:block"
data-ad-client="ca-pub-3313149841665250"
data-ad-slot="2638666669"
></ins>
<!-- data-ad-format="auto"
data-full-width-responsive="true" -->
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
@ -28,13 +27,13 @@ export default {
<style scoped>
.adsense-right {
width: 500px;
max-width: calc(50vw - 720px);
height: 40vh;
width: calc(50vw - 700px);
max-width: 450px;
height: 50vh;
position: fixed;
bottom: 80px;
right: 10px;
/* background-color: grey; */
background-color: grey;
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<div @click="$sendGaEvent('AdSense', 'AdSenseSquare', 'AdSenseSquare')">
<div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 正方形-正文 -->
<ins class="adsbygoogle"

View File

@ -1,24 +1,31 @@
<template>
<div class="adsense-under-title" @click="$sendGaEvent('AdSense', 'AdSensePageTopUnderTitle', 'AdSensePageTopUnderTitle')">
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> -->
<!-- PageTopUnderTitle -->
<!-- <ins class="adsbygoogle"
style="display:inline-block;min-width:200px;max-width:1000px;width:100%;height:50px"
data-ad-client="ca-pub-3313149841665250"
data-ad-slot="1677363818"></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="-i0-3+1f-3d+2z"
data-ad-client="ca-pub-3313149841665250"
data-ad-slot="3534684042"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div>
<p>
<Qq></Qq> 群号: 808894550 <span style="color: red; font-weight: 500;">在线答疑</span>也可以扫描本文末尾的二维码加群
</p>
<slot></slot>
<div class="adsense-page-top">
<!-- <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"
data-ad-format="fluid"
data-ad-client="ca-pub-3313149841665250"
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>
</div>
</template>
@ -29,7 +36,12 @@ export default {
</script>
<style scoped>
.adsense-under-title {
.adsense-page-top {
/* background-color: green; */
cursor: pointer;
padding-right: 2px;
border: 1px solid #d7dae2;
height: 124px !important;
overflow: hidden;
}
</style>

View File

@ -0,0 +1,35 @@
<template>
<div class="adsense-under-title">
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> -->
<!-- PageTopUnderTitle -->
<!-- <ins class="adsbygoogle"
style="display:inline-block;min-width:200px;max-width:1000px;width:100%;height:50px"
data-ad-client="ca-pub-3313149841665250"
data-ad-slot="1677363818"></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="-i0-3+1f-3d+2z"
data-ad-client="ca-pub-3313149841665250"
data-ad-slot="3534684042"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
.adsense-under-title {
border: 1px solid #d7dae2;
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<div @click="$sendGaEvent('AdSense', 'AdSenseVertical', 'AdSenseVertical')">
<div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 正文-垂直 -->
<ins class="adsbygoogle"