Commit baa71016 by liangjianmin

Merge branch 'master' of http://119.23.72.7/xiaokang/cloudSystem

parents 1512f833 b867cb3a
Showing with 269 additions and 43 deletions
<template>
<div class="meau-yx">
<div class="logo">云芯系统</div>
<i>展开</i>
<div class="meau-con">
<el-menu default-active="2" class="el-menu-vertical-demo" active-text-color="#1969F9">
<el-submenu index="1">
<template slot="title">
<i class="el-icon-location"></i>
<span>导航一</span>
</template>
<el-menu-item-group>
<el-menu-item index="1-1">选项1</el-menu-item>
<el-menu-item index="1-2">选项2</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-menu-item index="2">
<i class="el-icon-menu"></i>
<span slot="title">导航二</span>
</el-menu-item>
<el-menu-item index="3">
<i class="el-icon-setting"></i>
<span slot="title">导航三</span>
</el-menu-item>
</el-menu>
<div class="nav-box">
<div class="nav-top">
<div class="con-box clr">
<div class="logo fl">云芯系统</div>
<div class="tab-box fl"></div>
<div class="user-box fr">
<div class="line"></div>
<a class="msgh fl" href="#">
<span class="icon iconfont"></span>
<font>55</font>
</a>
<div class="line"></div>
<a href="#" class="fl"><span class="icon iconfont fl"></span></a>
<div class="line"></div>
<div class="login-v fl">
<img class="fl" src="http://img.ichunt.com/test/images/ichunt/9f/34/9f349b1400f659e5ad270412d4dbe160.jpg"
alt="">
<div class="fl namex">460053411@qq.com</div>
<div class="fl lo-box-drop">
<span class="icon iconfont"></span>
<div class="drop-box">
<a href="#">修改密码</a>
<a href="#">退出登录</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="nav-left">
<div class="meau-con">
<div class="zankai">
<span class="icon iconfont fr"></span>
</div>
<el-menu default-active="2" class="el-menu-vertical-demo" active-text-color="#1969F9">
<el-menu-item index="1">
<template slot="title">
<span class="icon iconfont"></span>
<span>概况</span>
</template>
</el-menu-item>
<el-submenu index="2">
<template slot="title">
<span class="icon iconfont"></span>
<span slot="title">报价管理</span>
</template>
<el-menu-item-group>
<el-menu-item index="2-1">询价管理</el-menu-item>
<el-menu-item index="2-2">报价管理</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="3">
<template slot="title">
<span class="icon iconfont"></span>
<span slot="title">库存管理</span>
</template>
<el-menu-item-group>
<el-menu-item index="3-1">库存列表</el-menu-item>
<el-menu-item index="3-2">库存导入</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="4">
<template slot="title">
<span class="icon iconfont"></span>
<span slot="title">商品管理</span>
</template>
<el-menu-item-group>
<el-menu-item index="4-1">商品列表</el-menu-item>
<el-menu-item index="4-2">品牌列表</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="5">
<template slot="title">
<span class="icon iconfont"></span>
<span slot="title">用户中心</span>
</template>
<el-menu-item-group>
<el-menu-item index="5-1">基本信息</el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
</div>
</div>
</div>
</template>
<script>
......@@ -57,46 +119,210 @@
<style lang="less">
#app {
padding-left: 220px;
padding-left: 226px;
padding-top: 56px;
}
.meau-yx {
width: 226px;
background: #fff;
.nav-top {
position: fixed;
left: 0px;
top: 0px;
bottom: 0px;
.logo{
right: 0px;
height: 56px;
.con-box {
height: 56px;
line-height: 56px;
font-weight: bold;
color:#fff;
text-align: center;
background: #1969F9;
background: #fff;
box-shadow: 0px 2px 42px -8px rgba(206, 214, 219, 0.5);
.logo {
height: 56px;
width: 226px;
line-height: 56px;
font-weight: bold;
color: #fff;
text-align: center;
background: #1969F9;
box-shadow: 0px 2px 42px -8px rgba(206, 214, 219, 0.5);
}
.user-box {
height: 40px;
padding: 8px 0;
line-height: 40px;
padding-right: 36px;
color: #A1ACC1;
a {
color: #A1ACC1;
&:hover {
.icon {
color: #1969F9;
}
}
}
.icon {
font-size: 24px;
transition: all 0.5s;
}
.line {
width: 1px;
height: 40px;
background: #E5EBF6;
float: left;
margin-left: 16px;
margin-right: 16px;
}
.msgh {
position: relative;
font {
position: absolute;
width: 19px;
height: 14px;
background: #1969F9;
border-radius: 7px;
text-align: center;
line-height: 14px;
font-size: 10px;
color: #fff;
left: 15px;
}
}
.login-v {
img {
width: 35px;
height: 35px;
border-radius: 35px;
}
.namex {
margin-left: 10px;
margin-right: 10px;
font-size: 12px;
}
.lo-box-drop {
position: relative;
cursor: pointer;
.drop-box {
display: none;
position: absolute;
width: 94px;
height: 55px;
padding: 12px 0;
left: -66px;
background: #FFFFFF;
box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
&::after {
content: "";
border-style: solid;
border-color: transparent transparent #fff transparent;
border-width: 7px;
position: absolute;
top: -13px;
left: 72px;
}
a {
display: block;
width: 94px;
height: 28px;
line-height: 28px;
text-align: center;
font-size: 14px;
color: #646B78;
&:hover {
background: #E7F3FF;
}
}
}
&:hover {
.icon {
color: #1969F9;
}
.drop-box {
display: block;
}
}
}
}
}
}
}
.nav-left {
width: 226px;
background: #fff;
position: fixed;
left: 0px;
top: 56px;
bottom: 0px;
.meau-con {
width: 100%;
overflow: auto;
height:100vh;
height: 100%;
.zankai {
height: 26px;
font-size: 18px;
color: #646B78;
line-height: 26px;
padding-right: 17px;
span {
cursor: pointer;
}
}
.el-menu{
border:0px;
.el-menu-item,.el-submenu__title{
font-size: 16px;color:#646B78;
.el-menu-item,
.el-submenu__title {
height: 46px;
line-height: 42px;
padding-left:37px!important;
.iconfont{
font-size: 20px;
color:#646B78;
margin-right: 14px;
}
}
.el-menu {
border: 0px;
.el-menu-item,
.el-submenu__title {
font-size: 16px;
color: #646B78;
}
}
&::-webkit-scrollbar {
width: 18px;
}
&::-webkit-scrollbar-thumb {
border-radius: 8px;
background: #fff;
width:10px;
width: 10px;
-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
}
&::-webkit-scrollbar-track {
border-radius: 0;
background: #D2D9E7;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment