summaryrefslogtreecommitdiff
path: root/src/components/layout/layoutHeader.vue
diff options
context:
space:
mode:
authorzyh <[email protected]>2024-07-18 14:25:08 +0800
committerzyh <[email protected]>2024-07-18 14:25:08 +0800
commitd2d9fbaef93317ae7f48aedf91e2ef3fd03c8038 (patch)
tree68daa180fdd0c18234afa2cd750da66044f1883b /src/components/layout/layoutHeader.vue
parent7bb62881e80728271c10f8e5489a0ee5a023b910 (diff)
feat: 引入iconfontHEADmain
Diffstat (limited to 'src/components/layout/layoutHeader.vue')
-rw-r--r--src/components/layout/layoutHeader.vue16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/components/layout/layoutHeader.vue b/src/components/layout/layoutHeader.vue
index b2bf673..325bc21 100644
--- a/src/components/layout/layoutHeader.vue
+++ b/src/components/layout/layoutHeader.vue
@@ -68,9 +68,7 @@
</div>
</el-dropdown-item>
<el-dropdown-item>
- <el-icon :size="16">
- <CircleClose />
- </el-icon>
+ <i class="asw-icon icon-sign-out"></i>
<span class="profile-text">Sign Out</span>
</el-dropdown-item>
</el-dropdown-menu>
@@ -84,7 +82,7 @@
popper-class="headerMore-popper"
>
<button class="headerMore-dropdown-button">
- <el-icon><Grid /></el-icon>
+ <i class="asw-icon icon-More"></i>
</button>
<template #dropdown>
<el-dropdown-menu>
@@ -256,12 +254,14 @@ const themeChange = (val) => {
cursor: pointer;
outline: none;
color: var(--text);
- font-size: 22px;
width: 28px;
height: 28px;
display: flex;
justify-content: center;
align-items: center;
+ i{
+ font-size: 18px;
+ }
&:hover {
color: var(--primary);
}
@@ -276,7 +276,11 @@ const themeChange = (val) => {
</style>
<style lang="scss">
.avatar-popper {
- .profile-text, .el-icon {
+ .profile-text {
+ color: var(--text);
+ }
+ i{
+ font-size: 18px;
color: var(--text);
}
.profile-info{