菜单栏昵称样式调整

This commit is contained in:
joylink_cuiweidong 2019-10-24 14:32:44 +08:00
parent c0394657a8
commit e8b8d5a91d
2 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<div class="linkDiv">
<router-link tag="a" target="_blank" to="/design" class="linkClass">设计平台入口</router-link>
</div>
<div class="avatar-container" style="display:inline-block">
<div class="avatar-container" style="display:inline-block;margin-right:10px">
<el-menu-item v-for="item in entryList" v-show="!item.hidden" :key="item.name" class="avatar-wrapper" index="" @click="item.handle">
<span style="color: white;">{{ $t(item.name) }}</span>
</el-menu-item>

View File

@ -1,6 +1,6 @@
<template>
<el-dropdown class="avatar-container" trigger="hover" :show-timeout="100">
<div class="avatar-wrapper">
<el-dropdown class="avatar-container" trigger="hover" :show-timeout="100" style="height:58px">
<div class="avatar-wrapper" >
<span style="color: white;">
{{ username }}
</span>
@ -69,7 +69,7 @@ export default {
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
$height: 61px;
$height: 58px;
.navbar {
height: $height;
@ -102,6 +102,7 @@ export default {
.avatar-wrapper {
cursor: pointer;
position: relative;
height: $height;
.user-avatar {
width: 40px;