no message

Former-commit-id: 60df53b3063a32c158cd85da6ed5e52de8bdfb5c
Former-commit-id: 879b47493917f6ed81011a7c37fc0bc2214bb861
Former-commit-id: 42b10c5622699003ced22170db334fafe03e1938
This commit is contained in:
liyang
2018-06-10 21:42:41 +08:00
parent 97625537fd
commit 2cacbbe134
5 changed files with 22 additions and 13 deletions

View File

@@ -83,10 +83,8 @@ $theme-container-full-border-color: #d8dfea;
.d2-header-right {
.btn-text {
color: #FFF;
}
.el-dropdown {
.el-dropdown-link {
color: #FFF;
&:hover {
background-color: rgba(#FFF, .1);
}
}
}

View File

@@ -51,6 +51,15 @@
height: 60px;
display: flex;
align-items: center;
.btn-text {
padding: 14px 12px;
border-radius: 4px;
margin: 0px !important;
margin-right: 10px !important;
&:last-child {
margin-right: 0px !important;
}
}
.el-dropdown {
user-select: none;
cursor: pointer;

View File

@@ -1,10 +1,11 @@
<template>
<el-dropdown class="d2-mr">
<span class="el-dropdown-link">主题</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>
<div style="height: 200px; width: 200px;"></div>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-tooltip
class="item"
effect="dark"
content="theme"
placement="bottom">
<el-button class="d2-ml-0 d2-mr btn-text" type="text">
<d2-icon name="gamepad"/>
</el-button>
</el-tooltip>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<el-dropdown class="d2-mr">
<span class="el-dropdown-link">你好</span>
<span class="btn-text">你好</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="logOff"><d2-icon name="power-off"/> 注销</el-dropdown-item>
<el-dropdown-item><d2-icon name="user-circle-o"/> 个人中心</el-dropdown-item>