菜单栏昵称样式调整
This commit is contained in:
parent
c0394657a8
commit
e8b8d5a91d
@ -3,7 +3,7 @@
|
|||||||
<div class="linkDiv">
|
<div class="linkDiv">
|
||||||
<router-link tag="a" target="_blank" to="/design" class="linkClass">设计平台入口</router-link>
|
<router-link tag="a" target="_blank" to="/design" class="linkClass">设计平台入口</router-link>
|
||||||
</div>
|
</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">
|
<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>
|
<span style="color: white;">{{ $t(item.name) }}</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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" >
|
<div class="avatar-wrapper" >
|
||||||
<span style="color: white;">
|
<span style="color: white;">
|
||||||
{{ username }}
|
{{ username }}
|
||||||
@ -69,7 +69,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style rel="stylesheet/scss" lang="scss" scoped>
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
||||||
$height: 61px;
|
$height: 58px;
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
height: $height;
|
height: $height;
|
||||||
@ -102,6 +102,7 @@ export default {
|
|||||||
.avatar-wrapper {
|
.avatar-wrapper {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: $height;
|
||||||
|
|
||||||
.user-avatar {
|
.user-avatar {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
|
Loading…
Reference in New Issue
Block a user