菜单栏昵称样式调整
This commit is contained in:
parent
c0394657a8
commit
e8b8d5a91d
@ -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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-dropdown class="avatar-container" trigger="hover" :show-timeout="100">
|
||||
<el-dropdown class="avatar-container" trigger="hover" :show-timeout="100" style="height:58px">
|
||||
<div class="avatar-wrapper" >
|
||||
<span style="color: white;">
|
||||
{{ username }}
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user