diff --git a/web/src/router/index.js b/web/src/router/index.js index e263e74..38df679 100644 --- a/web/src/router/index.js +++ b/web/src/router/index.js @@ -143,12 +143,6 @@ export const constantRoutes = [ name: '安全', meta: { title: '安全', icon: 'security' }, children: [ - { - path: 'attackProtection', - name: '攻击防护', - component: () => import('@/views/security/attackProtection/index'), - meta: { title: '攻击防护', icon: 'attackProtection' } - }, { path: 'mfa', name: '多因素身份认证', diff --git a/web/src/views/app/appDetail.vue b/web/src/views/app/appDetail.vue index f3dc2dd..f918855 100644 --- a/web/src/views/app/appDetail.vue +++ b/web/src/views/app/appDetail.vue @@ -287,7 +287,7 @@

管理对 API 资源的访问

- 授权API资源 + 授权API资源
@@ -296,11 +296,11 @@ 已授权的API资源 - + @@ -366,7 +366,7 @@
分配的角色 - 添加角色 + 添加角色
@@ -407,7 +407,7 @@ - + - + - +
- + 复制 - + 复制 @@ -1044,34 +1065,119 @@ export default { border: 1px solid #e8e8e8; ::v-deep .el-card__body { - padding: 24px; + padding: 28px 32px; } .config-section { + &:not(:last-child) { + margin-bottom: 32px; + padding-bottom: 32px; + border-bottom: 1px solid #f0f0f0; + } + .section-title { - font-size: 16px; + font-size: 15px; font-weight: 600; margin: 0 0 20px 0; display: flex; align-items: center; gap: 8px; - color: #333; + color: #262626; i { color: #1890ff; + font-size: 16px; + } + } + } + + .compact-form { + .el-form-item { + margin-bottom: 20px; + + &:last-child { + margin-bottom: 0; + } + + .el-form-item__label { + font-size: 14px; + color: #595959; + font-weight: 500; + padding-right: 16px; + } + + .el-form-item__content { + line-height: 32px; + } + } + + .full-width-item { + .el-input, + .el-textarea { + width: 100%; + } + } + + .switch-item { + .el-form-item__content { + display: flex; + align-items: center; + gap: 12px; } } } .form-tip { font-size: 12px; - color: #999; + color: #8c8c8c; margin-top: 4px; + line-height: 1.5; + } + + .form-tip-text { + font-size: 13px; + color: #8c8c8c; + margin-left: 8px; + } + + .toggle-advanced-item { + margin-top: 8px; + + .el-button--text { + font-size: 13px; + color: #595959; + + i { + margin-right: 4px; + } + + &:hover { + color: #1890ff; + } + } + } + + .copy-field-item { + .el-input-group__append { + background: #fff; + padding: 0 12px; + + .el-button { + color: #1890ff; + } + } + } + + .config-section-sp { + height: 16px; + border-top: 1px solid #f0f0f0; + margin: 20px 0; } .unit { margin-left: 8px; - color: #666; + color: #595959; + font-size: 13px; } } diff --git a/web/src/views/identity/enterprise/index.vue b/web/src/views/identity/enterprise/index.vue index cafc9b0..d2e3c7f 100644 --- a/web/src/views/identity/enterprise/index.vue +++ b/web/src/views/identity/enterprise/index.vue @@ -6,11 +6,6 @@

企业身份源

连接和管理 LDAP、Active Directory、OIDC、SAML 等企业身份源,实现统一身份认证

-
- - 新建连接 - -
@@ -183,7 +178,7 @@ - +