Skip to content

Commit

Permalink
优化样式
Browse files Browse the repository at this point in the history
  • Loading branch information
longjiahui committed Feb 19, 2023
1 parent b583657 commit 05d88d6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import zhCN from 'ant-design-vue/es/locale/zh_CN'
<a-config-provider :locale="zhCN">
<div class="v size-full overflow-overlay" v-loading="$getters.isLoading">
<router-view v-slot="{ Component, route }">
<transition name="anfo-fade" mode="out-in" appear>
<transition name="anfo-fade-fast" mode="out-in" appear>
<component :is="Component" class="f-1" />
</transition>
</router-view>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { SwitcherOutlined } from '@ant-design/icons-vue';
</a-menu-item>
<a-menu-item @click="$router.replace({name: 'legacy', params: {...$route.params}})">
<div class="h h-xs">
<SwitcherOutlined />
<BgColorsOutlined />
<div>切换Legacy主题</div>
</div>
</a-menu-item>
Expand Down
10 changes: 8 additions & 2 deletions ui/src/views/LayoutLegacy.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

import { BgColorsOutlined } from '@ant-design/icons-vue';


import { FontColorsOutlined } from '@ant-design/icons-vue';

<template>
<div class="size-full">
<hui-console>
Expand Down Expand Up @@ -42,7 +48,7 @@
</a-menu-item>
<a-menu-item @click="$router.replace({name: $const.routes.default, params: {...$route.params}})">
<div class="h h-xs">
<SwitcherOutlined />
<BgColorsOutlined />
<div>切换默认主题</div>
</div>
</a-menu-item>
Expand Down Expand Up @@ -159,7 +165,7 @@
</template>

<style lang="scss" scoped>
$primaryColor: #2d3f53;
$primaryColor: #2d60b1;
.page-layout{
color: darken($primaryColor, 15%)!important;
}
Expand Down

0 comments on commit 05d88d6

Please sign in to comment.