From 1fcfbaf0a9f280f1acc09cfb15bc78399d08a89e Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 7 Jun 2024 15:44:22 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E9=BB=91=E9=87=91=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96=20(#5337)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/system-upgrade/index.vue | 10 +++++----- frontend/src/lang/modules/en.ts | 10 +++++----- frontend/src/lang/modules/tw.ts | 6 ++---- frontend/src/lang/modules/zh.ts | 6 ++---- frontend/src/styles/element-dark.scss | 2 +- .../src/views/host/file-management/index.vue | 1 - frontend/src/views/setting/about/index.vue | 1 + .../src/views/setting/backup-account/index.vue | 16 +++++++++++++--- .../website/ssl/acme-account/create/index.vue | 9 ++++++++- 9 files changed, 37 insertions(+), 24 deletions(-) diff --git a/frontend/src/components/system-upgrade/index.vue b/frontend/src/components/system-upgrade/index.vue index 818c0e7e3..046867844 100644 --- a/frontend/src/components/system-upgrade/index.vue +++ b/frontend/src/components/system-upgrade/index.vue @@ -2,25 +2,25 @@
- {{ $t('setting.forum') }} + {{ $t('setting.forum') }} - {{ $t('setting.doc2') }} + {{ $t('setting.doc2') }} - {{ $t('setting.project') }} + {{ $t('setting.project') }} - {{ isProductPro ? $t('license.pro') : $t('license.community') }} + {{ isProductPro ? $t('license.pro') : $t('license.community') }} {{ version }} - ({{ $t('setting.hasNewVersion') }}) + ({{ $t('setting.hasNewVersion') }}) 如何取得EAB HmacKey 和EAB kid ", + dnsMauanlHelper: + 'In manual resolution mode, you need to click the apply button after creation to obtain the DNS resolution value', + httpHelper: 'HTTP mode requires OpenResty to be installed', + buypassHelper: 'Buypass is not accessible in mainland China', + googleHelper: 'How to get EAB HmacKey and EAB kid', googleCloudHelper: 'Google Cloud API is not accessible in most parts of mainland China', httpHelper2: 'Unable to apply for a generic domain name certificate in HTTP mode', skipDNSCheck: 'Skip DNS check', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 802fc35d7..429f45e8d 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1294,8 +1294,7 @@ const message = { scArchive: '歸檔存儲,適用於極低訪問頻率(例如半年訪問1次)的業務場景。', scDeep_Archive: '深度歸檔存儲,適用於極低訪問頻率(例如1年訪問1~2次)的業務場景。', archiveHelper: '歸檔存儲的文件無法直接下載,需要先在對應的雲服務商網站進行恢復操作,請謹慎使用!', - backupAlert: - "理論上只要雲廠商兼容 S3 協議,就可以用現有的亞馬遜 S3 雲存儲來備份,具體配置參考 官方文檔 ", + backupAlert: '理論上只要雲廠商兼容 S3 協議,就可以用現有的亞馬遜 S3 雲存儲來備份,具體配置參考 ', domain: '加速域名', backupAccount: '備份賬號', loadBucket: '獲取桶', @@ -1976,8 +1975,7 @@ const message = { dnsMauanlHelper: '手動解析模式需要在建立完之後點選申請按鈕取得 DNS 解析值', httpHelper: 'HTTP 模式需要安裝 OpenResty', buypassHelper: 'Buypass 大陸地區無法訪問', - googleHelper: - "如何取得EAB HmacKey 和EAB kid ", + googleHelper: '如何取得EAB HmacKey 和EAB kid', googleCloudHelper: 'Google Cloud API 大陸大部分地區無法存取', httpHelper2: 'HTTP 模式無法申請泛網域憑證', skipDNSCheck: '跳過 DNS 校驗', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index a15340ecb..2f77743c3 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1295,8 +1295,7 @@ const message = { scArchive: '归档存储,适用于极低访问频率(例如半年访问1次)的业务场景。', scDeep_Archive: '深度归档存储,适用于极低访问频率(例如1年访问1~2次)的业务场景。', archiveHelper: '归档存储的文件无法直接下载,需要先在对应的云服务商网站进行恢复操作,请谨慎使用!', - backupAlert: - "理论上只要云厂商兼容 S3 协议,就可以用现有的亚马逊 S3 云存储来备份,具体配置参考 官方文档 ", + backupAlert: '理论上只要云厂商兼容 S3 协议,就可以用现有的亚马逊 S3 云存储来备份,具体配置参考', domain: '加速域名', backupAccount: '备份账号', loadBucket: '获取桶', @@ -1977,8 +1976,7 @@ const message = { dnsMauanlHelper: '手动解析模式需要在创建完之后点击申请按钮获取 DNS 解析值', httpHelper: 'HTTP 模式需要安装 OpenResty', buypassHelper: 'Buypass 大陆地区无法访问', - googleHelper: - "如何获取 EAB HmacKey 和 EAB kid ", + googleHelper: '如何获取 EAB HmacKey 和 EAB kid', googleCloudHelper: 'Google Cloud API 大陆大部分地区无法访问', httpHelper2: 'HTTP 模式无法申请泛域名证书', skipDNSCheck: '跳过 DNS 校验', diff --git a/frontend/src/styles/element-dark.scss b/frontend/src/styles/element-dark.scss index e3fbf178e..919ee00f5 100644 --- a/frontend/src/styles/element-dark.scss +++ b/frontend/src/styles/element-dark.scss @@ -44,7 +44,7 @@ html.dark { --el-tag-border-color: var(--el-color-danger); } .el-card { - --el-card-bg-color: #111417; + --el-card-bg-color: rgb(35, 35, 35); color: #ffffff; border: 1px solid var(--el-card-border-color) !important; } diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 7c1237136..a053808ff 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -19,7 +19,6 @@ v-show="!searchableStatus" tabindex="0" @click="searchableStatus = true" - :class="globalStore.$state.themeConfig.theme === 'light' && 'bg-white'" class="address-bar shadow-md rounded-md px-4 py-2 flex items-center flex-grow" >
diff --git a/frontend/src/views/setting/about/index.vue b/frontend/src/views/setting/about/index.vue index fcddc65f8..5e1a4ec3d 100644 --- a/frontend/src/views/setting/about/index.vue +++ b/frontend/src/views/setting/about/index.vue @@ -78,6 +78,7 @@ onMounted(() => { } span { line-height: 20px; + font-weight: 400; } } diff --git a/frontend/src/views/setting/backup-account/index.vue b/frontend/src/views/setting/backup-account/index.vue index 0375c8998..134126e39 100644 --- a/frontend/src/views/setting/backup-account/index.vue +++ b/frontend/src/views/setting/backup-account/index.vue @@ -35,7 +35,17 @@ @@ -736,8 +746,8 @@ onMounted(() => { margin: 12px 0; border-top: 1px var(--el-border-color) var(--el-border-style); } -.alert { - background-color: rgba(0, 94, 235, 0.03); +.alert-span { + color: var(--el-color-primary); } .common-div { diff --git a/frontend/src/views/website/ssl/acme-account/create/index.vue b/frontend/src/views/website/ssl/acme-account/create/index.vue index 313de04e3..dd584d040 100644 --- a/frontend/src/views/website/ssl/acme-account/create/index.vue +++ b/frontend/src/views/website/ssl/acme-account/create/index.vue @@ -45,7 +45,14 @@ - + + {{ $t('ssl.googleHelper') }} +