<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{margin:0;padding:0;box-sizing:border-box;}
html,body{
width:100%;
height:100%
}
body{
display:flex;
}
.left{
width:280px;
height:100%;
background-color: blue;
display:flex;
flex-direction:column;
justify-content: space-between;
align-items: center;
}
.side{
height:500px;
width: 100%;
background-color: bisque;
}
.side.logo{
width: 100%;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
}
.side.log img{
width: 120px;
height: 38px;
}
.side.nav-items{
width: 100%;
height: 50px;
text-align: center;
line-height: 50px;
font-size: 18px;
cursor: pointer;
}
.side.nav-items:hover{
background-color: #fff;
color:#333;
font-weight:600;
}
.exit{
width:90%;
height:50px;
background-color: bisque;
line-height: 50px;
text-align: center;
}
.right{
flex:1;
height:100%;
/background-color: antiquewhite;/
display: flex;
flex-direction: column;
}
.header,
.footer{
height: 50px;
width: 100%;
}
.header{
display: flex;
justify-content: space-between;
align-items: center;
padding:20px;
}
.header div:nth-of-type(1){
width: 100px;
height: 30px;
border:solid 1px #498afa;
color:#498afa;
background-color: #fff;
border-radius: 8px;
text-align: center;
line-height: 30px;
font-size: 12px;
cursor:pointer
}
.header div:nth-of-type(1){
background-color: #498afa;
color:white;
}
.header div:nth-of-type(2){
font-size: 18px;
letter-spacing: 3px;
}
.header div:nth-of-type(3){
display: flex;
align-items: center;
}
.header div:nth-of-type(3) img{
width: 30px;
height: 30px;
margin-right:10px ;
}
.main{
flex:1;
background-color: beige;
}
</style>
</head>
<body>
<div class="left">
<div class="side">
<div class="logo">
<img src="./images/下载.png"alt="">
</div>
<div class="nav-items">首页</div>
<div class="nav-items">管理员管理</div>
<div class="nav-items">会员管理</div>
<div class="nav-items">店铺管理</div>
<div class="nav-items">商品管理</div>
<div class="nav-items">订单管理</div>
</div>
<div class="exit">
安全退出
</div>
</div>
<div class="right">
<div class="header">
<div>收起菜单</div>
<div>管理系统</div>
<div>
<img src="./images/1682391068745168.png" alt="">
<span>干豆腐</span>
</div>
</div>
<div class="main"></div>
<div class="footer"></div>
</div>
</body>
</html>