一、登录页面
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
div{
border: 1px solid rgba(255, 0, 0, 0);
}
.img1{
margin-left: 85px;
margin-top: 80px;
}
.img{
margin-top: 1px;
margin-left: 180px;
}
.top{
width: 955px;
height: 150px;
margin: auto;
}
.box{
height: 296px;
background-color: rgba(224, 226, 228, 0.842);
}
.box1{
width: 955px;
height: 296px;
margin: auto;
background-image: url(./登录背景.gif);
}
.box2{
width: 311.99px;
height: 229.99px;
margin-left: 600px;
margin-top: 50px;
}
.button{
margin-left: 56%;
}
.bottom{
width: 808.99px;
height: 19.26px;
margin: auto;
}
.span{
font-size:26px;
}
.span1{
font-size: 14px;
color:#999
}
.span2{
color: blue;
text-decoration:underline;
}
</style>
</head>
<body>
<div class="top"><img class="img1" src="./成都文理log.png" alt="" width="474px" height="61px"></div>
<div class="box">
<div class="box1">
<div class="box2">
<span class="span">用户登录</span>
<form action="./2学校官网内容一.html">
<p>用户名:<input type="text" name="username"></p>
<p>密码:   <input type="password" name="password"></p>
<p><input class="img" type="image" src="./箭头.gif" name="img" id="">
<img src="./问号.gif" alt="">
</p>
</form>
</div>
</div>
</div>
<div class="bottom">
<span class="span1">家里蹲学院有限公司 小六花版权所有</span>
<span class="span2">找回密码</span>
</div>
</body>
</html>
结果
二、内容一
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
div{
/* border: 1px solid red; */
margin-top: 5px;
margin-left: 5px;
}
.box span{
color: aliceblue;
font-size: 13px;
}
.top{
width: 950px;
height: 75px;
position: relative;
margin: auto;
}
.max_menu{
background-color: rgb(52, 112, 190);
}
.min_menu1{
width: 930px;
height: 51px;
position: relative;
margin: auto;
}
.min_menu2{
margin-top: -60px;
margin-left: 80px;
}
.min_menu2 span{
font-size: 20px;
color: aliceblue;
font-weight: 600;
margin-left: 40px;
}
.box{
position: relative;
width: 910px;
height: 450px;
margin: 0 auto;
margin-top: 20px;
display: grid;
grid-template-columns: repeat(6,1fr);
grid-template-rows: repeat(3,1fr);
}
.box1{
grid-column: 1/3;
grid-row: 1/3;
background-color: rgb(54, 105, 172);
}
.box2{
grid-row: 1/3;
background-color: rgb(46, 203, 228);
}
.box3{
background-color: rgb(12, 159, 239);
}
.box4{
grid-column: 5/7;
background-color: rgb(244, 157, 171);
}
.box5{
background-color: rgb(166, 192, 221);
}
.box6{
grid-column: 5/7;
background-color: rgb(172, 127, 213);
}
.box7{
background-color: rgb(53, 127, 117);
}
.box8{
background-color: rgb(140, 213, 29);
}
.box9{
background-color: rgb(230, 171, 94);
}
.box10{
background-color: rgb(157, 239, 239);
}
.box11{
background-color: rgb(208, 178, 236);
}
.box12{
background-color: rgb(65, 92, 150);
}
.img_box{
position: relative;
display:block;
width: 100px;
}
.img0{
margin-top: 20px;
}
.img1{
margin-top: 100px;
margin-left: 30px;
}
.box1_1{
margin-left: 32px;
}
.box1_2{
position: absolute;
top: 121px;
left: 168px;
/* display:block; */
line-height: 0.4;
}
.img2{
margin-left: 39px;
margin-top:100px ;
}
.span2{
margin-left: 40px;
}
.img3{
margin-left: 26px;
margin-top:40px ;
}
.span3{
margin-left: 40px;
}
.img4{
margin-left: 26px;
margin-top:40px ;
}
.span4{
margin-left: 40px;
}
.img5{
margin-left: 30px;
margin-top:40px ;
}
.span5{
margin-left: 30px;
}
.img6{
margin-left: 26px;
margin-top:23px ;
}
.span6{
margin-left: 40px;
}
.img7{
margin-left: 37px;
margin-top:23px ;
}
.span7{
margin-left: 29px;
}
.img8{
margin-left: 37px;
margin-top:23px ;
}
.span8{
margin-left: 38px;
}
.img9{
margin-left: 37px;
margin-top:23px ;
}
.span9{
margin-left: 29px;
}
.img10{
margin-left: 37px;
margin-top:23px ;
}
.span10{
margin-left: 17px;
}
.img11{
margin-left: 37px;
margin-top:23px ;
}
.span11{
margin-left: 38px;
}
.img12{
margin-left: 37px;
margin-top:23px ;
}
.span12{
margin-left: 29px;
}
.bottom{
margin: auto;
margin-top: 20px;
width: 950px;
border: 1px solid rgba(36, 161, 229, 0.218);
}
.bottomid{
margin: auto;
width: 650px;
color: rgb(106, 108, 108);
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<div class="top">
<img src="./成都文理log.png" alt="" >
</div>
<div class="max_menu">
<div class="min_menu1">
<img class="img0" src="./menu.gif" alt="" width="31px" height="50px">
<div class="min_menu2">
<span>我的桌面</span>
<span>学籍成绩</span>
<span>培养管理</span>
<span>考试报名</span>
<span>教学评价</span>
<span>交流申请</span>
</div>
</div>
</div>
<div class="box">
<div class="box1">
<div class="img_box">
<img class="img1" src="./个人信息.png" alt="" width="72px" height="64px">
<div class="box1_1"><span>个人信息</span></div>
</div>
<div class="box1_2">
<p><span class="span1_1">姓名:小六花</span></p>
<p><span class="span1_2">学号:20241001111</span></p>
</div>
</div>
<div class="box2">
<a href="./3学校官网内容二.html">
<img class="img2" src="./选课中心.png" alt="" width="65px" height="65px">
<div class="span2"><span>选课中心</span></div>
</a>
</div>
<div class="box3">
<img class="img3" src="./学生教评.png" alt="" width="92px" height="55px">
<div class="span3"><span>学生教评</span></div>
</div>
<div class="box4">
<img class="img4" src="./留言.png" alt="" width="80px" height="57px">
<div class="span4"><span>已收留言</span></div>
</div>
<div class="box5">
<img class="img5" src="./培养方案.png" alt="" width="71px" height="62px">
<div class="span5"><span>培养方案</span></div>
</div>
<div class="box6">
<img class="img6" src="./公告.png" alt="" width="67px" height="79px">
<div class="span6"><span>已收公告</span></div>
</div>
<div class="box7">
<img class="img7" src="./成绩查询.png" alt="" width="66px" height="59px">
<div class="span7"><span>课程成绩查询</span></div>
</div>
<div class="box8">
<img class="img8" src="./周历.png" alt="" width="64px" height="60px">
<div class="span8"><span>教学周历</span></div>
</div>
<div class="box9">
<img class="img9" src="./授课计划查询.png" alt="" width="66px" height="66px">
<div class="span9"><span>授课计划查询</span></div>
</div>
<div class="box10">
<img class="img10" src="./未获得学分.png" alt="" width="71px" height="69px">
<div class="span10"><span>未获得学分成绩查询</span></div>
</div>
<div class="box11">
<img class="img11" src="./学籍卡片.png" alt="" width="62px" height="73px">
<div class="span11"><span>学籍卡片</span></div>
</div>
<div class="box12">
<img class="img12" src="./考试报名.png" alt="" width="55px" height="67px">
<div class="span12"><span>社会考试报名</span></div>
</div>
</div>
<div class="bottom"></div>
<div class="bottomid"><span>Copyright (C)家里蹲大学发展有限公司 Al Rights hahahahah 川ICP 备12345678910号</span></div>
</body>
</html>
结果
三、内容二
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
div{
/* border: 1px solid red; */
margin-top: 5px;
}
.top{
width: 950px;
height: 75px;
position: relative;
margin: auto;
}
.max_menu{
background-color: rgb(52, 112, 190);
}
.min_menu1{
width: 930px;
height: 51px;
position: relative;
margin: auto;
}
.img0{
margin-top: 20px;
}
.min_menu2{
margin-top: -60px;
margin-left: 80px;
}
.min_menu2 span{
font-size: 20px;
color: aliceblue;
font-weight: 600;
margin-left: 40px;
}
.box{
width: 964px;
height: 820px;
position: relative;
margin: auto;
border-bottom: 1px solid rgb(78, 170, 220) ;
}
.box1{
width: 770px;
height: 130px;
position: absolute;
left: 186px;
}
.box2{
width: 180px;
height: 820px;
border-right: 1px solid rgb(78, 170, 220);
border-bottom: 1px solid rgb(78, 170, 220);
}
li{
list-style:none;
list-style-position:outside;
margin-top: 10px;
}
ol{
padding-bottom: 20px;
border-bottom: 1px solid rgb(78, 170, 220);
}
.img111,.img222{
position: relative;
top: 10px;
}
.box1 *{
margin:0;
}
.menu1{
height: 40px;
padding-top: 20px;
}
.menu2{
background-color: rgba(169, 216, 242, 0.239);
}
.bottomid{
margin: auto;
width: 650px;
color: rgb(106, 108, 108);
}
</style>
</head>
<body>
<div class="top">
<img src="./成都文理log.png" alt="" >
</div>
<div class="max_menu">
<div class="min_menu1">
<img class="img0" src="./menu.gif" alt="" width="31px" height="50px">
<div class="min_menu2">
<span>我的桌面</span>
<span>学籍成绩</span>
<span>培养管理</span>
<span>考试报名</span>
<span>教学评价</span>
<span>交流申请</span>
</div>
</div>
</div>
<div class="box">
<div class="box1">
<div class="menu1">
<span class="span1" style="color: blue;font-size: 14px;font-weight: 700;">首页</span>
<span class="span2" style="font-size:10px;font-weight:900;">>></span>
<span class="span3" style="font-weight:900;">选课管理</span>
<span class="span4" style="font-size:10px;font-weight:900;">>></span>
<span class="span5" style="font-weight:900;">学生选课中心</span>
</div>
<div class="menu2">
<table
border="1px"
width="770px"
cellspacing=0>
<tr>
<th scope="col" align="center">学年学期</th>
<th scope="col" align="center">选课名称</th>
<th scope="col" align="center">选课时间</th>
<th scope="col" align="center">操作</th>
</tr>
<tr>
<td colspan="4" align="center" style="font-size: 12px;">未查询到数据</td>
</tr>
</table>
</div>
</div>
<div class="box2">
<h4><img class="img111" src="./img222.png" alt="">我的课表</h4>
<ol>
<li>学期理论课表</li>
<li>实验课表查询</li>
<li>班级课表查询</li>
<li>教室课表查询</li>
<li>课程课表查询</li>
</ol>
<h4><img class="img222" src="./img222.png" alt="">选课管理</h4>
<ol>
<li>学生选课中心</li>
<li>学生预选管理</li>
<li>学生预选查询</li>
</ol>
</div>
</div>
<div class="bottomid"><span>Copyright (C)家里蹲大学发展有限公司 Al Rights hahahahah 川ICP 备12345678910号</span></div>
</body>
</html>
结果