docs: update docs

This commit is contained in:
pengzhanbo 2025-05-06 13:44:22 +08:00
parent 31e3b41a27
commit 4733505cf2
2 changed files with 23 additions and 3 deletions

View File

@ -59,7 +59,7 @@ import Swiper from 'vuepress-theme-plume/features/Swiper.vue'
const images = ref([])
async function fetchImage() {
const res = await fetch('https://api.pengzhanbo.cn/wallpaper/bing/list/zh/').then((res) => res.json())
const res = await fetch('https://api.pengzhanbo.cn/wallpaper/bing/zh/').then((res) => res.json())
images.value = res.map(item => ({
name: item.title,
link: item.url,

View File

@ -22,12 +22,18 @@ search: false
![cat](/images/sponsor/cute-cat.jpg){width="64px"}
:::
<div class="sponsor-table">
| ::bi:alipay:: AliPay | ::fa:wechat:: WeChat |
| -------------------------------------- | ----------------------------------------- |
| ![Alipay](https://static.pengzhanbo.cn/images/sponsor/ali_pay.jpg){width="300" height="300" style="width:150px"} | ![WeChat](https://static.pengzhanbo.cn/images/sponsor/wechat_pay.jpg){width="300" height="300" style="width:150px"} |
| :------------------------------------: | :---------------------------------------: |
| ![Alipay](https://static.pengzhanbo.cn/images/sponsor/ali_pay.jpg){width="300" height="300"} | ![WeChat](https://static.pengzhanbo.cn/images/sponsor/wechat_pay.jpg){width="300" height="300"} |
</div>
## 打赏记录
感谢大家对主题的大力支持!
<div class="sponsor-list">
| 昵称 | 日期 | 金额 | 备注 |
@ -64,7 +70,21 @@ search: false
</div>
<style>
.vp-doc .sponsor-table {
display: flex;
align-items: center;
justify-content: center;
}
.vp-doc .sponsor-table img {
width: 150px;
}
@media (min-width: 768px) {
.vp-doc .sponsor-table img {
width: 180px;
}
.vp-doc .sponsor-list table tr td:nth-child(1),
.vp-doc .sponsor-list table tr td:nth-child(2),
.vp-doc .sponsor-list table tr td:nth-child(3) {