集成万维广告

This commit is contained in:
naiba 2023-10-23 19:32:36 +08:00
parent 8aa4b11384
commit 57e34453a7
4 changed files with 18 additions and 3 deletions

View File

@ -3,6 +3,9 @@ import { defineConfig } from 'vitepress'
export default defineConfig({ export default defineConfig({
lastUpdated: true, lastUpdated: true,
lang: 'zh-CN', lang: 'zh-CN',
head: [
['script', { src: 'https://cdn.wwads.cn/js/makemoney.js', async: 'true' }],
],
locales: { locales: {
root: { root: {
lang: 'zh-CN', lang: 'zh-CN',

View File

@ -0,0 +1,3 @@
<template>
<div class="wwads-cn wwads-vertical" data-id="296" style="max-width:350px; margin-bottom: 20px;"></div>
</template>

View File

@ -0,0 +1,12 @@
import { h } from 'vue'
import DefaultTheme from 'vitepress/theme'
import SmallAd from './components/SmallAd.vue'
export default {
...DefaultTheme,
Layout() {
return h(DefaultTheme.Layout, null, {
'aside-top': () => h(SmallAd)
})
}
}

View File

@ -1,3 +0,0 @@
<template>
<span>&#x26A1;</span>
</template>