Skip to content

Commit 840a5cd

Browse files
committed
update docs
1 parent 93b0c2a commit 840a5cd

File tree

11 files changed

+418
-393
lines changed

11 files changed

+418
-393
lines changed

docs/.vuepress/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import SponsorSidebar from './components/SponsorSidebar.vue';
1010
import BannerTop from './components/BannerTop.vue';
1111
import { NotFound } from 'vuepress-theme-plume/client';
1212
import { h } from 'vue';
13-
import Price from "./components/Price.vue";
13+
import Pricing from "./components/Pricing.vue";
1414
import PluginMarket from "./components/PluginMarket.vue";
1515

1616
export default defineClientConfig({
@@ -21,7 +21,7 @@ export default defineClientConfig({
2121
app.component('SponsorHome', SponsorHome)
2222
app.component('SponsorSidebar', SponsorSidebar)
2323
app.component('BannerTop', BannerTop)
24-
app.component('Price', Price)
24+
app.component('Pricing', Pricing)
2525
app.component('PluginMarket', PluginMarket)
2626
},
2727
layouts: {

docs/.vuepress/components/PluginMarket.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class="image-content"
1616
/>
1717
<div v-else class="image-placeholder">
18-
<Icon :name="item.icon" size="3em" color="var(--vp-c-text-1)" />
18+
<Icon :name="item.icon" size="5em" color="var(--vp-c-text-1)" />
1919
</div>
2020
<div v-if="item.priceLabel" class="price-corner-tag" :class="{ 'paid': item.priceLabel === '付费' }">
2121
<span class="price-corner-text">{{ item.priceLabel }}</span>
@@ -40,7 +40,7 @@
4040
aria-label="GitHub仓库"
4141
@click.stop
4242
>
43-
<Icon name="mdi:github" size="1.1em" color="var(--vp-c-text-2)" />
43+
<Icon name="mdi:github" color="var(--vp-c-text-2)" />
4444
</a>
4545
<span v-else class="built-in-label-inline">内置</span>
4646
</div>
@@ -122,7 +122,7 @@ const handleCardClick = (item: PluginItem) => {
122122
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
123123
height: 100%;
124124
max-height: 360px;
125-
border: 1px solid var(--vp-c-divider);
125+
border: 1px solid var(--vp-c-border);
126126
}
127127
128128
.plugin-card.clickable:hover {
@@ -178,7 +178,7 @@ const handleCardClick = (item: PluginItem) => {
178178
justify-content: space-between;
179179
align-items: center;
180180
padding: 0.5rem;
181-
background: rgba(0, 0, 0, 0.1);
181+
background: rgba(0, 0, 0, 0.05);
182182
color: #fff;
183183
}
184184
@@ -213,7 +213,7 @@ const handleCardClick = (item: PluginItem) => {
213213
214214
.built-in-label-inline {
215215
font-size: 0.75rem;
216-
color: var(--vp-c-text-3);
216+
color: var(--vp-c-text-2);
217217
padding: 0.1rem 0.4rem;
218218
border-radius: 4px;
219219
border: 1px solid var(--vp-c-border);

docs/.vuepress/navbar.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const myNavbar = defineNavbarConfig([
112112
{
113113
text: '购买授权',
114114
icon: 'fluent:person-key-20-filled',
115-
link: '/price'
115+
link: '/pricing'
116116
},
117117
{
118118
text: '赞助',

docs/planet.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 知识星球
3-
aside: false
3+
pageLayout: friends
44
---
55

66
<div align="center">

docs/plugin/dev.md

+2
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,6 @@ fba 内所有官方实现都同时兼容 mysql 和 postgresql,但我们不对
116116

117117
## 前端
118118

119+
::: warning
119120
暂无此计划...
121+
:::

docs/plugin/install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ title: 快速开始
1313
::: tabs
1414
@tab 后端
1515

16-
将插件源码 `backend/plugin/` 目录下的一级文件夹拷贝到 fba 项目 `backend/plugin/` 目录下
16+
将插件源码 `backend/plugin/` 目录下的插件文件夹拷贝到 fba 项目 `backend/plugin/` 目录下
1717

1818
@tab 前端
1919

docs/plugin/market.md

+27-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,40 @@
11
---
2-
title: 插件市场
32
aside: false
4-
watermark: true
3+
title: market
54
---
65

6+
<h1 class="custom-title">插件市场</h1>
7+
78
::: info 标签说明
89

9-
- <Badge text="MySQL" color="#006484" bg-color="rgba(0, 100, 132, 0.1)" border-color="rgba(0, 100, 132, 0.2)" /> - 支持 MySQL
10-
- <Badge text="PostgreSQL" color="#336699" bg-color="rgba(51, 102, 153, 0.1)" border-color="rgba(51, 102, 153, 0.2)" /> - 支持 PostgreSQL
11-
- <Badge text="后端" color="#009485" bg-color="rgba(0,148,133,0.1)" border-color="rgba(0,148,133,0.2)" /> - 后端代码插件
12-
- <Badge text="前端" color="#a855f7" bg-color="rgba(168, 85, 247, 0.1)" border-color="rgba(168, 85, 247, 0.2)" /> - 前端 [Vben Admin Antd](https://github.com/fastapi-practices/fastapi_best_architecture_ui) 代码插件
10+
- <Badge text="MySQL" color="#006484" bg-color="rgba(0, 100, 132, 0.1)" border-color="rgba(0, 100, 132, 0.2)" /> - 支持 MySQL 数据库
11+
- <Badge text="PostgreSQL" color="#336699" bg-color="rgba(51, 102, 153, 0.1)" border-color="rgba(51, 102, 153, 0.2)" /> - 支持 PostgreSQL 数据库
12+
- <Badge text="后端" color="#009485" bg-color="rgba(0,148,133,0.1)" border-color="rgba(0,148,133,0.2)" /> - 包含后端代码插件
13+
- <Badge text="前端" color="#a855f7" bg-color="rgba(168, 85, 247, 0.1)" border-color="rgba(168, 85, 247, 0.2)" /> - 包含前端 [Vben Admin Antd](https://github.com/fastapi-practices/fastapi_best_architecture_ui) 代码插件
1314

1415
:::
1516

17+
<PluginMarket :items="pluginItems" />
18+
1619
<script setup lang="ts">
1720
import { pluginItems } from '@source/.vuepress/data/plugin'
1821
</script>
1922

20-
<PluginMarket :items="pluginItems" />
23+
<style setup>
24+
.custom-title {
25+
text-align: center;
26+
margin-bottom: 2.5rem;
27+
}
28+
29+
.vp-breadcrumb {
30+
display: none !important;
31+
}
32+
33+
.vp-doc-title {
34+
display: none !important;
35+
}
36+
37+
.vp-doc-meta {
38+
display: none !important;
39+
}
40+
</style>

docs/price.md renamed to docs/pricing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: 购买授权
32
aside: false
43
editLink: false
4+
title: pricing
55
---
66

7-
<Price />
7+
<Pricing />
88

99
<style setup>
1010
.vp-doc-title {

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"author": "wu-clan",
1414
"license": "MIT",
1515
"devDependencies": {
16-
"@vuepress/bundler-vite": "2.0.0-rc.22",
17-
"@vuepress/plugin-baidu-analytics": "2.0.0-rc.99",
18-
"@vuepress/plugin-umami-analytics": "2.0.0-rc.99",
16+
"@vuepress/bundler-vite": "2.0.0-rc.23",
17+
"@vuepress/plugin-baidu-analytics": "2.0.0-rc.103",
18+
"@vuepress/plugin-umami-analytics": "2.0.0-rc.103",
1919
"vue": "^3.5.13",
20-
"vuepress": "2.0.0-rc.22",
21-
"vuepress-theme-plume": "1.0.0-rc.146"
20+
"vuepress": "2.0.0-rc.23",
21+
"vuepress-theme-plume": "1.0.0-rc.148"
2222
},
2323
"dependencies": {
24-
"@iconify/json": "^2.2.335",
24+
"@iconify/json": "^2.2.337",
2525
"@vueuse/core": "^12.8.2",
2626
"mermaid": "^11.6.0",
2727
"swiper": "^11.2.6"

0 commit comments

Comments
 (0)