Commit 505d632a by 肖康

x

parent 373eea6b
......@@ -15,7 +15,7 @@ html, body {
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #f8f8f8;
background: #F1F4FA;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
......
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
html * {
outline: 0;
-webkit-text-size-adjust: none !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}
html,
body {
font-family: PingFangSC-Regular, PingFang SC, 'Microsoft Yahei', sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #f8f8f8;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
margin: 0;
padding: 0;
}
button,
input,
select,
textarea {
font-size: 100%;
border: none;
-webkit-appearance: none;
}
input[type=button],
input[type=file],
input[type=submit] {
cursor: pointer;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
ol,
ul,
dl {
list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
font-weight: 500;
}
em,
b,
i {
font-style: normal;
}
a {
text-decoration: none;
}
img {
border: none;
}
.clr {
*zoom: 1;
clear: both;
}
.clr:after {
content: ".";
clear: both;
height: 0;
visibility: hidden;
display: block;
}
.fl {
float: left;
_display: inline;
}
.fr {
float: right;
_display: inline;
}
.va-t {
vertical-align: top;
}
.va-m {
vertical-align: middle;
}
.va-b {
vertical-align: bottom;
}
.lineBlock {
display: inline-block;
*display: inline;
zoom: 1;
letter-spacing: normal;
word-spacing: normal;
}
.lbBox {
font-size: 0 !important;
*word-spacing: -1px !important;
}
.boxsiz {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
-webkit-overflow-scrolling: touch;
}
body {
overflow-x: hidden;
}
/**element-ui 样式重写**/
.el-message--info {
min-width: auto !important;
border: 0px !important;
background: rgba(0, 0, 0, 0.4) !important;
}
.el-message--info .el-icon-info {
display: none;
}
.el-message--info .el-message__content {
color: #fff !important;
}
/*# sourceMappingURL=common.min.css.map */
\ No newline at end of file
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none !important;-webkit-tap-highlight-color:rgba(0,0,0,0) !important}html,body{font-family:PingFangSC-Regular,PingFang SC,'Microsoft Yahei',sans-serif;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#F1F4FA}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,menu,nav,section{margin:0;padding:0}button,input,select,textarea{font-size:100%;border:none;-webkit-appearance:none}input[type=button],input[type=file],input[type=submit]{cursor:pointer}table{border-collapse:collapse;border-spacing:0}ol,ul,dl{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}em,b,i{font-style:normal}a{text-decoration:none}img{border:none}.clr{*zoom:1;clear:both}.clr:after{content:".";clear:both;height:0;visibility:hidden;display:block}.fl{float:left;_display:inline}.fr{float:right;_display:inline}.va-t{vertical-align:top}.va-m{vertical-align:middle}.va-b{vertical-align:bottom}.lineBlock{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal}.lbBox{font-size:0 !important;*word-spacing:-1px !important}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}html,body{width:100%;height:100%;-webkit-overflow-scrolling:touch}body{overflow-x:hidden}.el-message--info{min-width:auto !important;border:0px !important;background:rgba(0,0,0,0.4) !important}.el-message--info .el-icon-info{display:none}.el-message--info .el-message__content{color:#fff !important}
\ No newline at end of file
<template>
<div class="meau-yx">
<div class="logo">云芯系统</div>
<i>展开</i>
<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-submenu index="1">
<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">
<i class="el-icon-location"></i>
<span>导航一</span>
<span class="icon iconfont"></span>
<span slot="title">报价管理</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 index="2-1">询价管理</el-menu-item>
<el-menu-item index="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-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;
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;
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