refactor: remove Google Ads component from top_rice.vue and update favicon.ico
parent
fcdda4a0be
commit
bbb7670df1
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 172 KiB |
|
@ -9,12 +9,6 @@
|
||||||
</template>
|
</template>
|
||||||
</a-carousel>
|
</a-carousel>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="showGoogleAd">
|
|
||||||
<!-- <template v-if="isCN">
|
|
||||||
<WWAds :key="`WWAds_${$route.path}`" />
|
|
||||||
</template> -->
|
|
||||||
<google-ads-top :key="`GoogleAdsTop_${$route.path}`" />
|
|
||||||
</template>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -22,14 +16,12 @@
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import isBetween from 'dayjs/plugin/isBetween';
|
import isBetween from 'dayjs/plugin/isBetween';
|
||||||
dayjs.extend(isBetween);
|
dayjs.extend(isBetween);
|
||||||
import GoogleAdsTop from './GoogleAdsTop.vue';
|
|
||||||
// import WWAds from './WWAds.vue';
|
// import WWAds from './WWAds.vue';
|
||||||
const isEffective = (start, end) => {
|
const isEffective = (start, end) => {
|
||||||
return dayjs().isBetween(start, end);
|
return dayjs().isBetween(start, end);
|
||||||
};
|
};
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
GoogleAdsTop,
|
|
||||||
// WWAds,
|
// WWAds,
|
||||||
},
|
},
|
||||||
props: ['isCN', 'isMobile'],
|
props: ['isCN', 'isMobile'],
|
||||||
|
|
Loading…
Reference in New Issue