feat: 新增allinssl暗色模式配置-黑金主题

This commit is contained in:
chudong
2025-12-05 18:08:12 +08:00
parent 0bb09ae6e5
commit 6e53bd522e
273 changed files with 21638 additions and 8823 deletions

View File

@@ -127,7 +127,7 @@ export const useController = (): AuthApiManageControllerExposes => {
try {
const { fetch, message } = testAccess({ id: row.id, type: row.type });
message.value = true;
fetch();
await fetch();
} catch (error) {
handleError(error);
}
@@ -195,7 +195,8 @@ export const useController = (): AuthApiManageControllerExposes => {
size="tiny"
strong
secondary
type="primary"
type="primary"
class="table-action-btn"
onClick={() => handleTestAccess(row)}
>
{$t("t_16_1746676855270")}
@@ -205,6 +206,7 @@ export const useController = (): AuthApiManageControllerExposes => {
strong
secondary
type="primary"
class="table-action-btn"
onClick={() => openEditForm(row)}
>
{$t("t_11_1745215915429")}
@@ -214,6 +216,7 @@ export const useController = (): AuthApiManageControllerExposes => {
strong
secondary
type="error"
class="table-action-btn-danger"
onClick={() => confirmDelete(row.id)}
>
{$t("t_12_1745215914312")}
@@ -524,7 +527,6 @@ export const useApiFormController = (
const mapTips = {
godaddy: $t("t_1_1747984133312"),
spaceship: "请输入 Spaceship API Secret",
btdomain: "请输入 BTDomain Secret Key",
};
return callback(
new Error(mapTips[param.value.type as keyof typeof mapTips])
@@ -542,7 +544,7 @@ export const useApiFormController = (
) => {
if (!value) {
const mapTips = {
btdomain: "请输入 BTDomain Account ID",
btdomain: "请输入 宝塔域名 Account ID",
};
return callback(
new Error(mapTips[param.value.type as keyof typeof mapTips])
@@ -641,7 +643,7 @@ export const useApiFormController = (
volcengine: $t("t_3_1747365600828"),
qiniu: $t("t_3_1747984134586"),
doge: $t("t_0_1750320239265"),
btdomain: "请输入 BTDomain Access Key",
btdomain: "请输入 宝塔域名 Access Key",
};
return callback(
new Error(mapTips[param.value.type as keyof typeof mapTips])
@@ -665,7 +667,7 @@ export const useApiFormController = (
volcengine: $t("t_4_1747365600137"),
doge: $t("t_1_1750320241427"),
constellix: "请输入Secret Key",
btdomain: "请输入 BTDomain Secret Key",
btdomain: "请输入 宝塔域名 Secret Key",
};
return callback(
new Error(mapTips[param.value.type as keyof typeof mapTips])
@@ -1188,49 +1190,49 @@ export const useApiFormController = (
),
useFormCustom(() => {
return (
<div class="mt-4 p-4 bg-gray-50 rounded-md">
<div class="text-gray-600 space-y-4 text-lg">
<div class="mt-4 p-4 bg-[var(--form-log-bg)] rounded-md">
<div class="space-y-4 text-lg">
<div>
<div class="font-medium text-gray-700 mb-3 text-xl">
<div class="font-medium mb-3 text-xl">
</div>
<div class="space-y-2 ml-4">
<div>
<code class="px-2 py-1 bg-gray-200 rounded text-lg font-mono">
<code class="px-2 py-1 bg-[var(--form-log-code-bg)] rounded text-lg font-mono">
__cert__
</code>
<span class="text-color5"></span>
</div>
<div>
<code class="px-2 py-1 bg-gray-200 rounded text-lg font-mono">
<code class="px-2 py-1 bg-[var(--form-log-code-bg)] rounded text-lg font-mono">
__key__
</code>
<span class="text-color5"></span>
</div>
</div>
</div>
<div>
<div class="font-medium text-gray-700 mb-3 text-xl">
<div class="font-medium mb-3 text-xl">
</div>
<div class="space-y-2 ml-4">
<div>
<code class="px-2 py-1 bg-gray-200 rounded text-lg font-mono">
<code class="px-2 py-1 bg-[var(--form-log-code-bg)] rounded text-lg font-mono">
__domain__
</code>
_acme-challenge.allinssl.com
<span class="text-color5">_acme-challenge.allinssl.com</span>
</div>
<div>
<code class="px-2 py-1 bg-gray-200 rounded text-lg font-mono">
<code class="px-2 py-1 bg-[var(--form-log-code-bg)] rounded text-lg font-mono">
__keyAuth__
</code>
<span class="text-color5"></span>
</div>
<div>
<code class="px-2 py-1 bg-gray-200 rounded text-lg font-mono">
<code class="px-2 py-1 bg-[var(--form-log-code-bg)] rounded text-lg font-mono">
__action__
</code>
present时执行写入cleanup清理记录
<span class="text-color5">present时执行写入cleanup清理记录</span>
</div>
</div>
</div>