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

+12 -12
View File
@@ -1,7 +1,7 @@
export const oauthSchema = {
key: 'users.oauth',
title: '第三方登录',
icon: 'fas fa-share-alt',
icon: 'fa fas fa-share-alt',
description: 'GitHub、Gitee、QQ、Google 等第三方登录配置。',
defaults: {
oauth_s: false,
@@ -68,7 +68,7 @@ export const oauthSchema = {
{
key: 'basic',
title: '基础设置',
icon: 'fas fa-cog',
icon: 'fa fas fa-cog',
fields: [
{ key: 'oauth_s', label: '启用第三方登录', type: 'switch', default: false },
{ key: 'oauth_proxy_mode', label: '代理登录模式', type: 'radio', default: 'close', options: [{ label: '关闭', value: 'close' }, { label: '服务端', value: 'server' }, { label: '客户端', value: 'client' }] },
@@ -87,7 +87,7 @@ export const oauthSchema = {
{
key: 'providers',
title: '登录提供商',
icon: 'fas fa-th',
icon: 'fa fas fa-th',
fields: [
{ key: 'oauth_github_s', label: 'GitHub登录', type: 'switch', default: false },
{ key: 'oauth_gitee_s', label: 'Gitee登录', type: 'switch', default: false },
@@ -103,7 +103,7 @@ export const oauthSchema = {
{
key: 'github',
title: 'GitHub配置',
icon: 'fab fa-github',
icon: 'fa fab fa-github',
fields: [
{ key: 'github_appid', label: 'Client ID', type: 'input', default: '' },
{ key: 'github_appkey', label: 'Client Secret', type: 'input', default: '' },
@@ -112,7 +112,7 @@ export const oauthSchema = {
{
key: 'gitee',
title: 'Gitee配置',
icon: 'fas fa-code-branch',
icon: 'fa fas fa-code-branch',
fields: [
{ key: 'gitee_appid', label: 'Client ID', type: 'input', default: '' },
{ key: 'gitee_appkey', label: 'Client Secret', type: 'input', default: '' },
@@ -121,7 +121,7 @@ export const oauthSchema = {
{
key: 'qq',
title: 'QQ配置',
icon: 'fab fa-qq',
icon: 'fa fab fa-qq',
fields: [
{ key: 'qq_appid', label: 'App ID', type: 'input', default: '' },
{ key: 'qq_appkey', label: 'App Key', type: 'input', default: '' },
@@ -130,7 +130,7 @@ export const oauthSchema = {
{
key: 'weixin',
title: '微信开放平台配置',
icon: 'fab fa-weixin',
icon: 'fa fab fa-weixin',
fields: [
{ key: 'weixin_appid', label: 'AppID', type: 'input', default: '' },
{ key: 'weixin_appsecret', label: 'AppSecret', type: 'input', default: '' },
@@ -139,7 +139,7 @@ export const oauthSchema = {
{
key: 'weixingzh',
title: '微信公众号配置',
icon: 'fab fa-weixin',
icon: 'fa fab fa-weixin',
fields: [
{ key: 'weixingzh_gzh_type', label: '公众号类型', type: 'radio', default: 'service', options: [{ label: '服务号', value: 'service' }, { label: '订阅号', value: 'subscribe' }] },
{ key: 'weixingzh_token', label: 'Token', type: 'input', default: '' },
@@ -165,7 +165,7 @@ export const oauthSchema = {
{
key: 'weibo',
title: '微博配置',
icon: 'fab fa-weibo',
icon: 'fa fab fa-weibo',
fields: [
{ key: 'weibo_appid', label: 'App Key', type: 'input', default: '' },
{ key: 'weibo_appkey', label: 'App Secret', type: 'input', default: '' },
@@ -174,7 +174,7 @@ export const oauthSchema = {
{
key: 'baidu',
title: '百度配置',
icon: 'fas fa-paw',
icon: 'fa fas fa-paw',
fields: [
{ key: 'baidu_appid', label: 'API Key', type: 'input', default: '' },
{ key: 'baidu_appkey', label: 'Secret Key', type: 'input', default: '' },
@@ -183,7 +183,7 @@ export const oauthSchema = {
{
key: 'clogin',
title: '彩虹聚合登录',
icon: 'fas fa-cloud',
icon: 'fa fas fa-cloud',
fields: [
{ key: 'clogin_url', label: '接口地址', type: 'input', default: '', help: '如 https://xxx.com 不要带 connect.php', dependsOn: { key: 'clogin_s', value: true } },
{ key: 'clogin_id', label: 'AppID', type: 'input', default: '', dependsOn: { key: 'clogin_s', value: true } },
@@ -200,7 +200,7 @@ export const oauthSchema = {
{
key: 'alipay',
title: '支付宝配置',
icon: 'fab fa-alipay',
icon: 'fa fas fa-credit-card',
fields: [
{ key: 'alipay_appid', label: 'AppID', type: 'input', default: '' },
{ key: 'alipay_privatekey', label: '应用私钥', type: 'textarea', rows: 3, default: '' },