Skip to content

Commit

Permalink
style: 优化系统日志、系统配置标签样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Nov 23, 2024
1 parent 7402de5 commit b82ca81
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
8 changes: 6 additions & 2 deletions src/views/monitor/log/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
</a-space>
</a-row>
<a-tabs v-model:active-key="activeKey" type="card-gutter" size="large" @change="change">
<a-tab-pane key="1" title="登录日志" />
<a-tab-pane key="2" title="操作日志" />
<a-tab-pane key="1">
<template #title><icon-lock /> 登录日志</template>
</a-tab-pane>
<a-tab-pane key="2">
<template #title><icon-find-replace /> 操作日志</template>
</a-tab-pane>
</a-tabs>
<keep-alive>
<component :is="PaneMap[activeKey]" />
Expand Down
12 changes: 9 additions & 3 deletions src/views/system/config/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@
</a-space>
</a-row>
<a-tabs v-model:active-key="activeKey" type="card-gutter" size="large" @change="change">
<a-tab-pane key="1" title="基础配置" />
<a-tab-pane key="2" title="邮件配置" />
<a-tab-pane key="3" title="安全配置" />
<a-tab-pane key="1">
<template #title><icon-settings /> 基础配置</template>
</a-tab-pane>
<a-tab-pane key="2">
<template #title><icon-email /> 邮件配置</template>
</a-tab-pane>
<a-tab-pane key="3">
<template #title><icon-safe /> 安全配置</template>
</a-tab-pane>
</a-tabs>
<keep-alive>
<component :is="PanMap[activeKey]" />
Expand Down

0 comments on commit b82ca81

Please sign in to comment.