Skip to content

Commit 833cd47

Browse files
committed
docs: update doc
1 parent 9b5a361 commit 833cd47

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

antdv-demo/components/GoogleAds.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ export default {
2323
<ins
2424
ref="ins"
2525
class="adsbygoogle"
26-
style="display:block"
2726
data-ad-client="ca-pub-4801326429087140"
2827
data-ad-slot="7647023136"
29-
data-ad-format="auto"
30-
data-full-width-responsive="true"
28+
style="display: inline-block; width: 728px; height: 90px"
3129
></ins>
3230
</div>
3331
);

antdv-demo/components/GoogleAdsTop.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ export default {
2222
<div class="google-ads">
2323
<ins
2424
ref="ins"
25-
style="display:block"
2625
class="adsbygoogle"
2726
data-ad-client="ca-pub-4801326429087140"
2827
data-ad-slot="2425414214"
29-
data-ad-format="auto"
28+
style="display: inline-block; width: 728px; height: 90px"
3029
></ins>
3130
</div>
3231
);

antdv-demo/components/top_ad.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a-carousel autoplay>
55
<template v-for="ad in ads">
66
<a :key="ad.href" :href="ad.href" target="_blank">
7-
<img style="width: 100%; max-width: 1200px;" :alt="ad.alt || ''" :src="ad.img" />
7+
<img style="width: 100%; max-width: 1200px" :alt="ad.alt || ''" :src="ad.img" />
88
</a>
99
</template>
1010
</a-carousel>
@@ -35,14 +35,14 @@ export default {
3535
href: 'https://yidengfe.com/launches/01/yd.html',
3636
visible: isEffective('2020-09-11 17:00:00', '2021-03-11 17:00:00'),
3737
},
38-
].filter(ad => ad.visible),
38+
].filter((ad) => ad.visible),
3939
enAds: [
4040
{
4141
img: 'https://qn.antdv.com/TheBigRichGroup.png',
4242
href: 'https://thebigrichgroup.com/',
43-
visible: isEffective('2020-09-18 17:00:00', '2021-10-11 17:00:00'),
43+
visible: isEffective('2020-09-18 17:00:00', '2021-07-11 17:00:00'),
4444
},
45-
].filter(ad => ad.visible),
45+
].filter((ad) => ad.visible),
4646
};
4747
},
4848
computed: {

0 commit comments

Comments
 (0)