docs: update demo images

This commit is contained in:
Shigma 2022-10-24 02:59:32 +08:00
parent fafd8cbc19
commit 421d6f74f3
No known key found for this signature in database
GPG Key ID: 21C89B0B92907E14
4 changed files with 22 additions and 8 deletions

View File

@ -54,6 +54,12 @@ export default defineConfig({
},
vite: {
server: {
fs: {
strict: false,
},
},
resolve: {
dedupe: ['vue'],
},

View File

@ -10,7 +10,8 @@ const { Layout } = DefaultTheme
<template #aside-ads-after>
<div class="sponsor">
<p>如果您愿意支持我们<br/>请扫描下方的二维码<br/>我们将继续努力维护这个项目</p>
<div class="image"></div>
<div class="image wechat"></div>
<div class="image alipay"></div>
</div>
</template>
</layout>
@ -35,11 +36,18 @@ const { Layout } = DefaultTheme
transition: color 0.3s ease, background-color 0.3s ease;
.image {
width: 9rem;
height: 9rem;
width: 8rem;
height: 8rem;
background-size: contain;
background-image: url(https://shiki.momobako.com:444/static/sponsor/wechat.webp);
background-color: inherit;
&.wechat {
background-image: url('https://cdn-shiki.momobako.com:444/static/sponsor/wechat.webp');
}
&.alipay {
background-image: url('https://cdn-shiki.momobako.com:444/static/sponsor/alipay.webp');
}
}
}

View File

@ -23,9 +23,9 @@
以下图片均使用本插件在聊天平台生成:
| ![example](https://shiki.momobako.com:444/static/portrait/a11ty-f9drh.webp) | ![example](https://shiki.momobako.com:444/static/portrait/aaepw-4umze.webp) | ![example](https://shiki.momobako.com:444/static/portrait/ae4bk-32pk7.webp) | ![example](https://shiki.momobako.com:444/static/portrait/aoy1m-8evrd.webp) |
| ![example](https://cdn-shiki.momobako.com:444/static/portrait/a11ty-f9drh.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/aaepw-4umze.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/ae4bk-32pk7.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/aoy1m-8evrd.webp) |
|:-:|:-:|:-:|:-:|
| ![example](https://shiki.momobako.com:444/static/portrait/ap8ia-2yuco.webp) |
| ![example](https://cdn-shiki.momobako.com:444/static/portrait/ap8ia-2yuco.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/a7k8p-gba0y.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/a31uu-ou34k.webp) |
## 快速搭建

View File

@ -26,9 +26,9 @@
以下图片均使用本插件在聊天平台生成:
| ![example](https://shiki.momobako.com:444/static/portrait/a11ty-f9drh.webp) | ![example](https://shiki.momobako.com:444/static/portrait/aaepw-4umze.webp) | ![example](https://shiki.momobako.com:444/static/portrait/ae4bk-32pk7.webp) | ![example](https://shiki.momobako.com:444/static/portrait/aoy1m-8evrd.webp) |
| ![example](https://cdn-shiki.momobako.com:444/static/portrait/a11ty-f9drh.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/aaepw-4umze.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/ae4bk-32pk7.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/aoy1m-8evrd.webp) |
|:-:|:-:|:-:|:-:|
| ![example](https://shiki.momobako.com:444/static/portrait/ap8ia-2yuco.webp) |
| ![example](https://cdn-shiki.momobako.com:444/static/portrait/ap8ia-2yuco.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/a7k8p-gba0y.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/a31uu-ou34k.webp) |
## 使用教程