feat(navigation): hard-switch to Zibll navigation and Font Awesome 5

This commit is contained in:
kate522 committed 2026-08-18 20:46:21 +08:00
1 parent 3c3ddac8be
commit a0b84977a2
630 files changed
+101647 -11293

No files matched your search

@@ -1,7 +1,7 @@
export const auditSchema = {
key: 'extensions.audit',
title: 'API内容审核',
icon: 'fas fa-shield-virus',
icon: 'fa fas fa-shield-alt',
description: '配置第三方内容审核 API 接入、审核范围和失败回退策略。',
defaults: {
content_audit_enabled: false,
@@ -17,7 +17,7 @@ export const auditSchema = {
{
key: 'provider',
title: '审核接口',
icon: 'fas fa-plug',
icon: 'fa fas fa-plug',
fields: [
{ key: 'content_audit_enabled', label: '启用内容审核', type: 'switch', default: false, help: '开启后将对接第三方内容审核 API' },
{
@@ -38,7 +38,7 @@ export const auditSchema = {
{
key: 'scope',
title: '审核范围',
icon: 'fas fa-check-double',
icon: 'fa fas fa-check',
fields: [
{ key: 'content_audit_text_enabled', label: '文本审核', type: 'switch', default: true, dependsOn: { key: 'content_audit_enabled', value: true } },
{ key: 'content_audit_image_enabled', label: '图片审核', type: 'switch', default: false, dependsOn: { key: 'content_audit_enabled', value: true } },
@@ -47,7 +47,7 @@ export const auditSchema = {
{
key: 'fallback',
title: '失败策略',
icon: 'fas fa-exclamation-triangle',
icon: 'fa fas fa-exclamation-triangle',
fields: [
{
key: 'content_audit_on_failure',
@@ -1,7 +1,7 @@
export const ipSchema = {
key: 'extensions.ip',
title: 'IP归属地',
icon: 'fas fa-map-marker-alt',
icon: 'fa fas fa-map-marker-alt',
description: '配置 IP 数据源、缓存策略和前台归属地展示。',
defaults: {
ip_geo_enabled: false,
@@ -19,7 +19,7 @@ export const ipSchema = {
{
key: 'basic',
title: '基础配置',
icon: 'fas fa-globe',
icon: 'fa fas fa-globe',
fields: [
{ key: 'ip_geo_enabled', label: '启用 IP 归属地', type: 'switch', default: false, help: '开启后将在评论、用户主页等位置显示 IP 归属地信息' },
{
@@ -42,7 +42,7 @@ export const ipSchema = {
{
key: 'providers',
title: '接口凭据',
icon: 'fas fa-key',
icon: 'fa fas fa-key',
fields: [
{ key: 'ip_addr_sdk_qq_appkey', label: '腾讯 AppKey', type: 'input', default: '', dependsOn: { key: 'ip_addr_sdk', values: ['qq', 'polling'] }, help: '「腾讯位置服务」或「轮流查询」时填写;未填则轮询会跳过腾讯。' },
{ key: 'ip_addr_sdk_qq_secretkey', label: '腾讯 SecretKey', type: 'input', default: '', dependsOn: { key: 'ip_addr_sdk', values: ['qq', 'polling'] }, help: '启用 SK 签名时必填;未启用可留空。' },
@@ -53,7 +53,7 @@ export const ipSchema = {
{
key: 'display',
title: '展示设置',
icon: 'fas fa-eye',
icon: 'fa fas fa-eye',
fields: [
{
key: 'ip_geo_display',
@@ -1,7 +1,7 @@
export const pushSchema = {
key: 'extensions.push',
title: '百度推送',
icon: 'fas fa-paper-plane',
icon: 'fa fas fa-paper-plane',
description: '配置搜索引擎主动推送、批量提交和状态追踪。',
defaults: {
baidu_push_enabled: false,
@@ -22,7 +22,7 @@ export const pushSchema = {
{
key: 'basic',
title: '推送配置',
icon: 'fas fa-rocket',
icon: 'fa fas fa-rocket',
fields: [
{ key: 'baidu_push_enabled', label: '启用百度推送', type: 'switch', default: false, help: '开启后将自动向百度搜索推送页面链接' },
{ key: 'baidu_push_token', label: '推送 Token', type: 'input', default: '', dependsOn: { key: 'baidu_push_enabled', value: true }, help: '在百度搜索资源平台获取的推送准入 Token' },
@@ -31,7 +31,7 @@ export const pushSchema = {
{
key: 'trigger',
title: '触发规则',
icon: 'fas fa-bolt',
icon: 'fa fas fa-bolt',
fields: [
{ key: 'baidu_push_auto', label: '自动推送 (页面加载时)', type: 'switch', default: true, dependsOn: { key: 'baidu_push_enabled', value: true }, help: '在前台页面中嵌入百度自动推送 JS 代码' },
{ key: 'baidu_push_on_publish', label: '发布时主动推送', type: 'switch', default: true, dependsOn: { key: 'baidu_push_enabled', value: true } },
@@ -41,7 +41,7 @@ export const pushSchema = {
{
key: 'xzh',
title: '熊掌号 / JSON-LD',
icon: 'fas fa-paw',
icon: 'fa fas fa-paw',
fields: [
{ key: 'xzh_on', label: '启用熊掌号', type: 'switch', default: false },
{ key: 'xzh_appid', label: '百度 AppID', type: 'input', default: '', dependsOn: { key: 'xzh_on', value: true } },
@@ -54,7 +54,7 @@ export const pushSchema = {
{
key: 'advanced',
title: '高级设置',
icon: 'fas fa-cog',
icon: 'fa fas fa-cog',
fields: [
{ key: 'baidu_push_batch_size', label: '批量推送条数', type: 'number', default: 50, min: 1, max: 500, dependsOn: { key: 'baidu_push_enabled', value: true } },
{ key: 'baidu_push_log_enabled', label: '记录推送日志', type: 'switch', default: true, dependsOn: { key: 'baidu_push_enabled', value: true } },