1.管理员登录页面
代码示例
<!DOCTYPE html>
<html lang="zh">
<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;
flex-direction: column;
}
.head{
width: 100%;
height: 72px;
display: flex;
justify-items: center;
}
.main{
width: 100%;
flex:1;
background:linear-gradient( 45deg,#6695af,#3d68c5);
}
.head.content{
display: flex;
width: 1200px;
height: 40px;
align-items: center;
}
.head .content img{
width: 100px;
height: 32px;
}
.main{
display: flex;
justify-content: center;
align-items: center;
}
.login-box{
width: 400px;
height: 240px;
background-color: #fff;
border-radius: 8px;
box-shadow: #888 10px 10px 20px;
}
.header{
width: 100%;
height: 50px;
line-height: 50px;
text-align: center;
font-size: 18px;
letter-spacing: 3px;
border-bottom: solid 1px #eee;
}
.login{
height: 180px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.login p{
height: 40px;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.login p input{
width: 260px;
height: 32px;
}
.login p button{
outline: none;
border: none;
width: 300px;
height: 32px;
border-radius: 16px;
background-color: #4154d0;
color: white;
}
.login p button:hover{
background-color: #2b3b9f;
font-weight: 600;
}
</style>
</head>
<body>
<div class="head">
<div class="content"><img src="./images/下载.png" alt=""></div>
</div>
<div class="main">
<div class="login-box">
<div class="header">pupg管理系统 管理员登录</div>
<div class="login">
<p>
<label for="zhanghao">账号</label>
<input type="text" name="zhanghao" id="zhanghao" placeholder="请输入账号">
</p>
<p>
<label for="mima">密码</label>
<input type="text" name="mima" id="mima" placeholder="请输入密码">
</p>
<p>
<button>登录</button>
</p>
</div>
</div>
</div>
</body>
</html>
网页效果

image.png
2.后台管理系统主页
代码示例
<!DOCTYPE html>
<html lang="zh">
<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%;
display: flex;
}
.class{
width: 200px;height: 100%;
display: flex;
flex-direction: column;
background-color:#333;
color: rgba(255, 255, 255, 0.77);
}
.nav{
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
padding: 20px;
}
.head{
padding: 15px;
background-color: #222;
border-bottom: 1px solid #444;
display: flex;
align-items: center;
}
.head img{
width: 30px;
height: 30px;
margin-right: 10px;
}
.head h3{
font-size: 16px;
}
.lq{
width: 100%;
padding: 12px 15px;
display: flex;
align-items: center;
cursor: pointer;
transition: background-color 0.3s;
}
.lq:hover{
background-color: #444;
}
.lq i{
margin-right: 10px;
font-size: 16px;
}
.right{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.bg{
font-size: 20px;
padding: 20px;
}
.content{
font-size: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
</style>
<link rel="stylesheet" href="./font/iconfont.css">
<link rel="stylesheet" href="./font1/iconfont.css">
</head>
<body>
<div class="class">
<div class="head"><img src="./images/56a6ab70730a652aa9812da00f8c89fb.jpeg" alt="">
<h3>云端中国城</h3></div>
<div class="nav">
<div class="lq"><span class="iconfont icon-shouye"></span>首页</div>
<div class="lq"><i class="iconfont icon-shezhi"></i><span>设置</span></div>
<div class="lq"><i class="iconfont icon-yonghuguanli"></i><span>用户管理</span></div>
<div class="lq"><i class="iconfont icon-jiangchiguanli"></i><span>奖池管理</span></div>
<div class="lq"><i class="iconfont icon-wodeshouquanx"></i><span>主播认证</span></div>
<div class="lq"><i class="iconfont icon-zhiboguanli"></i><span>直播管理</span></div>
<div class="lq"><i class="iconfont icon-icon-shipinguanli"></i><span>视频管理</span></div>
<div class="lq"><i class="iconfont icon-caiwuguanli"></i><span>财务管理</span></div>
<div class="lq"><i class="iconfont icon-jiazuguanli"></i><span>家族管理</span></div>
<div class="lq"><i class="iconfont icon-daojuguanli"></i><span>道具管理</span></div>
<div class="lq"><i class="iconfont icon-hongbaoguanli"></i><span>红包管理</span></div>
<div class="lq"><i class="iconfont icon-zhengwuxitonganquanfanghu"></i><span>守护管理</span></div>
<div class="lq"><i class="iconfont icon-dengjiguanli"></i><span>等级管理</span></div>
<div class="lq"><i class="iconfont icon-yaoqingjiangli"></i><span>邀请奖励</span></div>
</div>
</div>
<div class="right">
<div class="bg">
<div><i class="iconfont icon-guanlixitong-gonggongshujuguanli"></i>云端中国城后台管理系统</div>
<div>云端中国城/主播管理</div>
</div>
<div class="content">
<div>云端中国城延安大学·版权所有</div>
<div>2024 EduCoder 公共安备43019002000962号</div>
</div>
</div>
</body>
</html>
网页效果

image.png