feat: support setting post list layout

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2022-10-07 23:13:57 +08:00
parent d1f0ab2f57
commit 5a3ab42d89
7 changed files with 37 additions and 17 deletions

View File

@@ -7,6 +7,18 @@ spec:
- group: layout
label: 布局
formSchema:
- $formkit: select
name: post_list_layout
label: 文章列表布局
value: grid_3
options:
- label: 网格(一行三列)
value: grid_3
- label: 网格(一行两列)
value: grid_2
- label: 单条
value: single
help: "选择单条时,文章卡片的图片将位于左侧"
- $formkit: select
name: header_widget
label: 首页顶部模块