Browse Source

优化

master
blank 2 years ago
parent
commit
a1ba460190
  1. 23
      src/layout/components/Navbar.vue

23
src/layout/components/Navbar.vue

@ -6,9 +6,28 @@ @@ -6,9 +6,28 @@
/>
<div class="right-menu">
<template v-if="device!=='mobile'">
<!-- <search id="header-search" class="right-menu-item" />-->
<!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">-->
<!-- <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />-->
<!-- </el-tooltip>-->
<!-- <el-tooltip content="文档地址" effect="dark" placement="bottom">-->
<!-- <ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />-->
<!-- </el-tooltip>-->
<screenfull id="screenfull" class="right-menu-item hover-effect" />
<!-- <el-tooltip content="布局大小" effect="dark" placement="bottom">-->
<!-- <size-select id="size-select" class="right-menu-item hover-effect" />-->
<!-- </el-tooltip>-->
</template>
<el-dropdown style="background: #08518e" class="avatar-container right-menu-item hover-effect" trigger="click">
<div class="avatar-wrapper">
<img width="50px" style="margin-right: 10px" height="50px" src="@/assets/logo/qp.png" class="user-avatar">
<!-- <img width="50px" style="margin-right: 10px" height="50px" src="@/assets/logo/qp.png">-->
<img :src="avatar" class="user-avatar">
</div>
<el-dropdown-menu slot="dropdown">
@ -157,7 +176,7 @@ export default { @@ -157,7 +176,7 @@ export default {
padding: 0 8px;
height: 100%;
font-size: 18px;
color: #5a5e66;
color: #ffffff;
vertical-align: text-bottom;
&.hover-effect {

Loading…
Cancel
Save