菜单栏样式

This commit is contained in:
chenjianxing 2020-04-07 12:55:19 +08:00
parent f80190dc01
commit e5b8d76802
2 changed files with 15 additions and 16 deletions

View File

@ -1,10 +1,10 @@
<template>
<el-col v-if="auth">
<el-row id="header-top" type="flex" justify="space-between" align="middle">
<el-col :span="2">
<el-col :span="3">
<a class="logo"/>
</el-col>
<el-col :span="10">
<el-col :span="9">
<ms-top-menus/>
</el-col>
<el-col :span="12">

View File

@ -1,6 +1,6 @@
<template>
<el-row type="flex" justify="end">
<el-col :span="21">
<el-col :span="15" :offset="3">
<el-menu :unique-opened="true" mode="horizontal" router
class="header-user-menu align-right"
background-color="#2c2a48"
@ -27,7 +27,6 @@
</el-menu>
</el-col>
<el-col :span="3">
<el-dropdown size="medium" @command="handleCommand" class="align-right">
<span class="dropdown-link">
{{currentUser.name}}<i class="el-icon-caret-bottom el-icon--right"/>
@ -39,7 +38,7 @@
</el-dropdown-menu>
</template>
</el-dropdown>
</el-col>
</el-row>
</template>