Skip to content

Commit f83fbc3

Browse files
author
oscars.skittles@gmail.com
committed
doc: remove wwad
1 parent 0e8cf10 commit f83fbc3

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/components/rice/top_rice.vue

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,20 @@
1010
</a-carousel>
1111
</template>
1212
<template v-else-if="showGoogleAd">
13-
<template v-if="isCN">
13+
<!-- <template v-if="isCN">
1414
<WWAds :key="`WWAds_${$route.path}`" />
15-
</template>
15+
</template> -->
1616
</template>
1717
</div>
1818
</template>
1919

2020
<script>
2121
import moment from 'moment';
22-
import WWAds from './WWAds.vue';
2322
const isEffective = (start, end) => {
2423
return moment().isBetween(start, end);
2524
};
2625
export default {
27-
components: {
28-
WWAds,
29-
},
26+
components: {},
3027
props: ['isCN', 'isMobile'],
3128
data() {
3229
return {

src/layouts/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<a-col :xxl="20" :xl="19" :lg="18" :md="18" :sm="24" :xs="24">
3737
<section :class="mainContainerClass">
3838
<!-- <TopAd :isCN="isZhCN" /> -->
39-
<WWAdsVue v-if="isZhCN" />
39+
<!-- <WWAdsVue v-if="isZhCN" /> -->
4040
<Demo v-if="isDemo" :pageData="pageData" :isZhCN="isZhCN">
4141
<component :is="matchCom" />
4242
</Demo>
@@ -94,7 +94,6 @@ import RightBottomAd from '../components/rice/right_bottom_ad.vue';
9494
import { CloseOutlined, MenuOutlined } from '@ant-design/icons-vue';
9595
import ThemeIcon from './ThemeIcon.vue';
9696
import surelyVueVue from '../components/surelyVue.vue';
97-
import WWAdsVue from '../components/rice/WWAds.vue';
9897
import Mentorbook from '../components/rice/mentorbook.vue';
9998
export default defineComponent({
10099
name: 'Layout',
@@ -190,7 +189,6 @@ export default defineComponent({
190189
MenuOutlined,
191190
ThemeIcon,
192191
surelyVueVue,
193-
WWAdsVue,
194192
},
195193
});
196194
</script>

0 commit comments

Comments
 (0)