doc: update docs

This commit is contained in:
Michael Yang 2024-06-03 17:55:13 +08:00
parent e04e36c8c6
commit 598639fa7c
2 changed files with 45 additions and 15 deletions

View File

@ -70,33 +70,63 @@ const {Layout} = DefaultTheme
color: #666; color: #666;
} }
.banner-home {
display: flex;
align-items: center;
margin: 60px auto;
width: 50%;
justify-content: center;
}
.banner-home img {
max-width: 100%;
border-radius: 3px;
}
@media screen and (max-width: 800px) {
.banner-home {
width: 90%;
margin: 30px auto;
}
}
</style> </style>
<template> <template>
<Layout> <Layout>
<!--docs: https://vitepress.dev/guide/extending-default-theme#layout-slots--> <!--docs: https://vitepress.dev/guide/extending-default-theme#layout-slots-->
<!-- <template #doc-before>--> <template #doc-before>
<!-- <div style="margin-bottom: 30px">--> <div style="margin-bottom: 30px">
<!-- <a href="https://mp.weixin.qq.com/s/sAe_bO4eW7dJsNgwoG0x9g" target="_blank">--> <a href="https://aiadmin.cc" target="_blank">
<!-- <img src="/assets/images/ad/admin-banner.jpg">--> <img src="/assets/images/ad/admin-banner.jpg">
<!-- </a>--> </a>
<!-- </div>--> </div>
<!-- </template>--> </template>
<!-- <template #home-features-after>--> <template #home-features-after>
<!-- <div style="display: flex; justify-content: center;margin-top: 60px">--> <div class="banner-home">
<!-- <a href="https://mp.weixin.qq.com/s/sAe_bO4eW7dJsNgwoG0x9g" target="_blank" style="max-width: 90%">--> <a href="https://aiadmin.cc" target="_blank">
<!-- <img src="/assets/images/ad/admin-banner.jpg" style="width: 650px;">--> <img src="/assets/images/ad/admin-banner.jpg">
<!-- </a>--> </a>
<!-- </div>--> </div>
<!-- </template>--> </template>
<!-- <template #home-features-after>-->
<!-- <div style="display: flex; justify-content: center;margin-top: 60px">-->
<!-- <a href="https://mp.weixin.qq.com/s/sAe_bO4eW7dJsNgwoG0x9g" target="_blank" style="max-width: 90%">-->
<!-- <img src="/assets/images/ad/admin-banner.jpg" style="width: 650px;">-->
<!-- </a>-->
<!-- </div>-->
<!-- </template>-->
<template #doc-footer-before> <template #doc-footer-before>
<div class="info custom-block" style="margin-bottom: 14px"> <div class="info custom-block" style="margin-bottom: 14px">
<!-- <p class="custom-block-title">对这篇文章还有疑问</p>--> <!-- <p class="custom-block-title">对这篇文章还有疑问</p>-->
<p>对这篇文章还有疑问 点击 <a href="https://gitee.com/mybatis-flex/mybatis-flex/issues/new" <p>对这篇文章还有疑问 点击 <a href="https://gitee.com/mybatis-flex/mybatis-flex/issues/new"
target="_blank">[这里]</a> 发起提问 target="_blank">[这里]</a> 发起提问
</p> </p>
</div> </div>
</template> </template>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 74 KiB