| | |
| | | import LaySidebarFullScreen from "../lay-sidebar/components/SidebarFullScreen.vue"; |
| | | import LaySidebarBreadCrumb from "../lay-sidebar/components/SidebarBreadCrumb.vue"; |
| | | import LaySidebarTopCollapse from "../lay-sidebar/components/SidebarTopCollapse.vue"; |
| | | import { CaretBottom } from "@element-plus/icons-vue"; |
| | | |
| | | import LogoutCircleRLine from "~icons/ri/logout-circle-r-line"; |
| | | import Setting from "~icons/ri/settings-3-line"; |
| | |
| | | username, |
| | | userAvatar, |
| | | avatarsStyle, |
| | | userRoles, |
| | | toggleSideBar |
| | | } = useNav(); |
| | | </script> |
| | |
| | | <!-- <img :src="userAvatar" :style="avatarsStyle" /> --> |
| | | <p class="dark:text-white"> |
| | | {{ username || "请完善资料" }} |
| | | <el-tag effect="plain">{{ userRoles.name }}</el-tag> |
| | | </p> |
| | | <el-icon><CaretBottom /></el-icon> |
| | | </span> |
| | | <template #dropdown> |
| | | <el-dropdown-menu class="logout"> |
| | |
| | | </el-dropdown-menu> |
| | | </template> |
| | | </el-dropdown> |
| | | <span |
| | | <!-- <span |
| | | class="set-icon navbar-bg-hover" |
| | | title="打开系统配置" |
| | | @click="onPanel" |
| | | > |
| | | <IconifyIconOffline :icon="Setting" /> |
| | | </span> |
| | | </span> --> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | justify-content: space-around; |
| | | height: 48px; |
| | | padding: 10px; |
| | | margin-right: 10px; |
| | | color: #000000d9; |
| | | cursor: pointer; |
| | | |