refactor(admin): drop homepage mixed content model and publish-resource preset
This commit is contained in:
1 parent
fb1a4e110c
commit
0ad41715e2
7 files changed
+13
-54
No files matched your search
@@ -929,9 +929,8 @@ export const pageDisplaySchemas = {
|
||||
key: 'page_display.homepage',
|
||||
title: '首页配置',
|
||||
icon: 'fas fa-home',
|
||||
description: '配置首页内容模型、主列表、分类 Tab、卡片样式与首页交互。实际编辑界面在 HomepageSettings.vue(customPage),此处补齐 page_display 的 schema 契约。',
|
||||
description: '配置首页主列表、分类 Tab、卡片样式与首页交互。实际编辑界面在 HomepageSettings.vue(customPage),此处补齐 page_display 的 schema 契约。',
|
||||
defaults: {
|
||||
homepage_content_model: 'post',
|
||||
homepage_tabs: [],
|
||||
homepage_card_style: 'default',
|
||||
homepage_multi_thumb_enabled: false,
|
||||
@@ -952,24 +951,6 @@ export const pageDisplaySchemas = {
|
||||
homepage_tab_limit: 4,
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
key: 'content-model',
|
||||
title: '内容模型',
|
||||
icon: 'fas fa-stream',
|
||||
fields: [
|
||||
{
|
||||
key: 'homepage_content_model',
|
||||
label: '首页内容模型',
|
||||
type: 'radio',
|
||||
default: 'post',
|
||||
options: [
|
||||
{ label: '混合模式', value: 'mixed' },
|
||||
{ label: '纯文章', value: 'post' },
|
||||
],
|
||||
help: '混合模式显示文章 + 资源,纯文章模式仅显示标准文章。',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'main-stream',
|
||||
title: '主列表',
|
||||
|
||||
Reference in new issue
Block a user