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> <template>
<div class="meau-yx"> <div class="nav-box">
<div class="logo">云芯系统</div> <div class="nav-top">
<i>展开</i> <div class="con-box clr">
<div class="meau-con"> <div class="logo fl">云芯系统</div>
<div class="tab-box fl"></div>
<el-menu default-active="2" class="el-menu-vertical-demo" active-text-color="#1969F9"> <div class="user-box fr">
<el-submenu index="1"> <div class="line"></div>
<template slot="title"> <a class="msgh fl" href="#">
<i class="el-icon-location"></i> <span class="icon iconfont"></span>
<span>导航一</span> <font>55</font>
</template> </a>
<el-menu-item-group> <div class="line"></div>
<el-menu-item index="1-1">选项1</el-menu-item> <a href="#" class="fl"><span class="icon iconfont fl"></span></a>
<el-menu-item index="1-2">选项2</el-menu-item> <div class="line"></div>
</el-menu-item-group> <div class="login-v fl">
</el-submenu> <img class="fl" src="http://img.ichunt.com/test/images/ichunt/9f/34/9f349b1400f659e5ad270412d4dbe160.jpg"
<el-menu-item index="2"> alt="">
<i class="el-icon-menu"></i> <div class="fl namex">460053411@qq.com</div>
<span slot="title">导航二</span> <div class="fl lo-box-drop">
</el-menu-item> <span class="icon iconfont"></span>
<el-menu-item index="3"> <div class="drop-box">
<i class="el-icon-setting"></i> <a href="#">修改密码</a>
<span slot="title">导航三</span> <a href="#">退出登录</a>
</el-menu-item> </div>
</el-menu> </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>
</div> </div>
</template> </template>
<script> <script>
...@@ -57,46 +119,210 @@ ...@@ -57,46 +119,210 @@
<style lang="less"> <style lang="less">
#app { #app {
padding-left: 220px; padding-left: 226px;
padding-top: 56px;
} }
.meau-yx { .nav-top {
width: 226px;
background: #fff;
position: fixed; position: fixed;
left: 0px; left: 0px;
top: 0px; top: 0px;
bottom: 0px; right: 0px;
.logo{ height: 56px;
.con-box {
height: 56px; height: 56px;
line-height: 56px; background: #fff;
font-weight: bold;
color:#fff;
text-align: center;
background: #1969F9;
box-shadow: 0px 2px 42px -8px rgba(206, 214, 219, 0.5); 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 { .meau-con {
width: 100%; width: 100%;
overflow: auto; 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{ .el-menu-item,
border:0px; .el-submenu__title {
.el-menu-item,.el-submenu__title{ height: 46px;
font-size: 16px;color:#646B78; 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 { &::-webkit-scrollbar {
width: 18px; width: 18px;
} }
&::-webkit-scrollbar-thumb { &::-webkit-scrollbar-thumb {
border-radius: 8px; border-radius: 8px;
background: #fff; background: #fff;
width:10px; width: 10px;
-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2); -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
} }
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
border-radius: 0; border-radius: 0;
background: #D2D9E7; 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