From 6cd099d6915cc1a9e6e03a244544754aa17185fd Mon Sep 17 00:00:00 2001
From: tangjinzhou <415800467@qq.com>
Date: Tue, 13 Sep 2022 11:13:39 +0800
Subject: [PATCH] doc: add google ad
---
site/src/components/rice/top_rice.vue | 12 ++++++------
site/src/layouts/index.vue | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/site/src/components/rice/top_rice.vue b/site/src/components/rice/top_rice.vue
index 0516f8408..fbef37758 100644
--- a/site/src/components/rice/top_rice.vue
+++ b/site/src/components/rice/top_rice.vue
@@ -10,10 +10,10 @@
-
+
+
@@ -23,19 +23,19 @@ import dayjs from 'dayjs';
import isBetween from 'dayjs/plugin/isBetween';
dayjs.extend(isBetween);
import GoogleAdsTop from './GoogleAdsTop.vue';
-import WWAds from './WWAds.vue';
+// import WWAds from './WWAds.vue';
const isEffective = (start, end) => {
return dayjs().isBetween(start, end);
};
export default {
components: {
GoogleAdsTop,
- WWAds,
+ // WWAds,
},
props: ['isCN', 'isMobile'],
data() {
return {
- show: false,
+ show: true,
showGoogleAd: location.host.indexOf('antdv.com') > -1,
cnAds: [
{
diff --git a/site/src/layouts/index.vue b/site/src/layouts/index.vue
index 30827b267..98147a385 100644
--- a/site/src/layouts/index.vue
+++ b/site/src/layouts/index.vue
@@ -37,8 +37,8 @@