diff --git a/packages/libs/lib-server/src/system/settings/service/sys-settings-service.ts b/packages/libs/lib-server/src/system/settings/service/sys-settings-service.ts index ab2f6bde1..b026bbe7e 100644 --- a/packages/libs/lib-server/src/system/settings/service/sys-settings-service.ts +++ b/packages/libs/lib-server/src/system/settings/service/sys-settings-service.ts @@ -6,6 +6,7 @@ import { CacheManager } from '@midwayjs/cache'; import { BaseSettings, SysPrivateSettings, SysPublicSettings } from './models.js'; import * as _ from 'lodash-es'; import { BaseService } from '../../../basic/index.js'; +import { checkComm } from '@certd/pipeline'; /** * 设置 @@ -39,6 +40,9 @@ export class SysSettingsService extends BaseService { if (!key) { return null; } + if (key === 'sys.site') { + checkComm(); + } return await this.repository.findOne({ where: { key, diff --git a/packages/ui/certd-client/src/components/vip-button/index.vue b/packages/ui/certd-client/src/components/vip-button/index.vue index 91935598a..5f1048c68 100644 --- a/packages/ui/certd-client/src/components/vip-button/index.vue +++ b/packages/ui/certd-client/src/components/vip-button/index.vue @@ -154,7 +154,10 @@ function openUpgrade() {
-

免费版

+

+ 免费版 + +

  • 证书申请功能无限制 @@ -170,7 +173,10 @@ function openUpgrade() {
-

专业版

+

+ 专业版 + +

  • @@ -191,7 +197,10 @@ function openUpgrade() {
-

商业版

+

+ 商业版 + +

  • @@ -265,6 +274,9 @@ function openUpgrade() { margin-left: 0px; padding: 0; } + .color-green { + color: green; + } .vip-type-vs { .fs-icon { margin-right: 5px; diff --git a/packages/ui/certd-client/src/layout/layout-framework.vue b/packages/ui/certd-client/src/layout/layout-framework.vue index bafa66e40..0f7d8a505 100644 --- a/packages/ui/certd-client/src/layout/layout-framework.vue +++ b/packages/ui/certd-client/src/layout/layout-framework.vue @@ -2,7 +2,7 @@
    diff --git a/packages/ui/certd-client/src/layout/layout-outside.vue b/packages/ui/certd-client/src/layout/layout-outside.vue index 2c9871ad4..2212349a2 100644 --- a/packages/ui/certd-client/src/layout/layout-outside.vue +++ b/packages/ui/certd-client/src/layout/layout-outside.vue @@ -4,7 +4,7 @@
    - +
    @@ -65,7 +65,7 @@ export default { .login-container { width: 100%; min-height: 100%; - background: #f0f2f5 url(/src/assets/background.svg) no-repeat 50%; + background: #f0f2f5 url(/static/background.svg) no-repeat 50%; background-size: 100%; //padding: 50px 0 84px; position: relative; diff --git a/packages/ui/certd-client/src/router/source/modules/sys.ts b/packages/ui/certd-client/src/router/source/modules/sys.ts index 8d3401af7..3f6ec453b 100644 --- a/packages/ui/certd-client/src/router/source/modules/sys.ts +++ b/packages/ui/certd-client/src/router/source/modules/sys.ts @@ -5,7 +5,7 @@ export const sysResources = [ title: "系统管理", name: "sys", path: "/sys", - redirect: "/sys/authority", + redirect: "/sys/settings", component: LayoutPass, meta: { icon: "ion:settings-outline", diff --git a/packages/ui/certd-client/src/views/framework/home/content/index.vue b/packages/ui/certd-client/src/views/framework/home/content/index.vue index 668ccb86a..64cec0691 100644 --- a/packages/ui/certd-client/src/views/framework/home/content/index.vue +++ b/packages/ui/certd-client/src/views/framework/home/content/index.vue @@ -18,7 +18,7 @@
    - +