no message

Former-commit-id: 576684d8aafb9b67dc24f405c1d3a5fef4b785ae
Former-commit-id: 651df7589d479c39b17453a8213c661f1feec434
Former-commit-id: bdcf1f2a639a25e840f47eb5766e4011cb408682
This commit is contained in:
liyang
2018-06-04 15:18:09 +08:00
parent a28d8f246b
commit e41f583803
5 changed files with 53 additions and 47 deletions

View File

@@ -110,7 +110,7 @@ $border-color: #d8dfea;
}
}
// 顶栏右侧的按钮
.btn-group {
.dd-header-right {
float: right;
height: 60px;
display: flex;

View File

@@ -17,7 +17,9 @@ $theme-container-full-border-color: #d8dfea;
border-top: 1px solid $theme-container-full-border-color;
}
}
// 顶栏
.el-header {
// 切换按钮
.toggle-aside-btn {
i {
color: #FFF;
@@ -26,6 +28,7 @@ $theme-container-full-border-color: #d8dfea;
}
}
}
// 菜单
.el-menu {
.el-menu-item {
color: #FFF;
@@ -37,5 +40,16 @@ $theme-container-full-border-color: #d8dfea;
}
}
}
// 顶栏右侧
.dd-header-right {
.btn-text {
color: #FFF;
}
.el-dropdown {
.el-dropdown-link {
color: #FFF;
}
}
}
}
}

View File

@@ -1,37 +0,0 @@
.theme {
.dd-container-full {
position: absolute;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background-color: #FFF;
overflow: hidden;
color: #303133;
&:hover {
box-shadow: none;
}
.dd-container-full__header {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
padding: 18px 20px;
box-sizing: border-box;
}
.dd-container-full__body {
position: absolute;
padding: 20px;
left: 0px;
right: 0px;
bottom: 0px;
overflow: auto;
}
.dd-container-full__footer {
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
padding: 18px 20px;
box-sizing: border-box;
}
}
}

View File

@@ -1,7 +1,5 @@
@import '~@/assets/style/public.scss';
@import './theme-dd-container-full.scss';
$theme-color: #EFF4F8;
// 主题公用
@@ -46,21 +44,16 @@ $theme-color: #EFF4F8;
border-bottom: none;
border-top: 2px solid transparent;
&.is-active {
border-bottom: none;
border-top-color: $color-primary;
background-color: transparent;
}
}
}
// 顶栏右侧的按钮
.btn-group {
.dd-header-right {
float: right;
height: 60px;
display: flex;
align-items: center;
.btn-text {
color: $color-text-normal;
}
.el-dropdown {
user-select: none;
cursor: pointer;
@@ -107,4 +100,40 @@ $theme-color: #EFF4F8;
overflow: hidden;
}
}
// [组件] dd-container-full
.dd-container-full {
position: absolute;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background-color: #FFF;
overflow: hidden;
color: #303133;
&:hover {
box-shadow: none;
}
.dd-container-full__header {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
padding: 18px 20px;
box-sizing: border-box;
}
.dd-container-full__body {
position: absolute;
padding: 20px;
left: 0px;
right: 0px;
bottom: 0px;
overflow: auto;
}
.dd-container-full__footer {
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
padding: 18px 20px;
box-sizing: border-box;
}
}
}

View File

@@ -1,5 +1,5 @@
<template>
<div class="btn-group">
<div class="dd-header-right">
<FullScreen></FullScreen>
<UserDropdown></UserDropdown>
</div>