import { renderFaIcon, schemaPage, customPage } from './helpers' export const postListSection = { key: 'post-list', label: '文章&列表', icon: renderFaIcon('fas fa-file-alt'), route: '/post-list', children: [ schemaPage({ key: 'post-list-list', name: 'PostListList', label: '文章列表', route: '/post-list/list', title: '文章列表', desc: '列表样式、元信息开关、分页方式配置。', canonicalDomain: 'post_list', section: 'list', }), schemaPage({ key: 'post-list-thumb', name: 'PostListThumb', label: '列表缩略图', route: '/post-list/thumb', title: '列表缩略图', desc: '缩略图策略、封面回退、多图模式配置。', canonicalDomain: 'post_list', section: 'thumb', }), schemaPage({ key: 'post-list-page', name: 'PostListPage', label: '文章页面', route: '/post-list/page', component: 'PostPageSettings', title: '文章页面', desc: '文章页布局、目录树、灯箱、版权区配置。', canonicalDomain: 'post_list', section: 'page', }), schemaPage({ key: 'post-list-filter', name: 'PostListFilter', label: '高级筛选', route: '/post-list/filter', title: '高级筛选', desc: '筛选栏、排序方式、分类筛选配置。', canonicalDomain: 'post_list', section: 'filter', }), schemaPage({ key: 'post-list-feature', name: 'PostListFeature', label: '文章功能', route: '/post-list/feature', title: '文章功能', desc: '收藏、分享、阅读进度、相关推荐等功能开关。', canonicalDomain: 'post_list', section: 'feature', }), schemaPage({ key: 'post-list-share', name: 'PostListShare', label: '分享设置', route: '/post-list/share', title: '分享设置', desc: '配置微信分享凭据、海报分享和社交分享选项。', canonicalDomain: 'post_list', section: 'share', }), schemaPage({ key: 'post-list-comment', name: 'PostListComment', label: '评论设置', route: '/post-list/comment', component: 'CommentSettings', title: '评论设置', desc: '评论排序、楼层展示、登录限制、回复限制等配置。', canonicalDomain: 'post_list', section: 'comment', }), schemaPage({ key: 'post-list-submit', name: 'PostListSubmit', label: '前台投稿', route: '/post-list/submit', title: '前台投稿', desc: '配置前台投稿表单字段、审核流程、附件权限和封面策略。', canonicalDomain: 'post_list', section: 'submit', }), ], }