web前端期末大作业——简单的学生网页作业源码 基于html css javascript学生宿舍管理系统网站


👨‍🎓网页题目

🧑‍🎓 学生管理系统网页设计 、OA管理系统、后台管理模板、智能停车系统、等网站的设计与制作。


✍️网页描述

🏷️HTML网页设计,采用DIV+CSS布局,共有多个页面,排版整洁,内容丰富,主题鲜明,首页使用CSS排版比较丰富,色彩鲜明有活力,导航与正文字体分别设置不同字号大小。导航区域设置了背景图。子页面有纯文字页面和图文并茂页面。


💠网页效果

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


⚙️ 代码实现

🧱HTML结构代码


<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>房间信息管理</title>

    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/bootstrap-datetimepicker.css">
    <link rel="stylesheet" href="css/bootstrap-table.css">
    <link rel="stylesheet" href="css/bootstrap-editable.css">
    <link href="css/hhzcss.css" rel="stylesheet">
    
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bootbox.min.js"></script>
    <script src="js/bootstrap-datetimepicker.js"></script>
    <script src="js/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="js/bootstrap-table.js"></script>
    <script src="js/bootstrap-table-zh-CN.js"></script>
    <script src="js/bootstrap-editable.js"></script>
    <script src="js/commons.js"></script>
    <script src="js/t_home.js"></script>
    <script src="js/med.js"></script>


    
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
</head>
<body>

<div class="hs-Data">
    <div class="col-md-1"></div>
    <div class="col-md-10">
        <div class="row" style="height: 80px;">
            <div class="col-md-4"></div>
            <div class="col-md-4"><h2 style="text-align: center;font-size:30px ;color:black;">房间信息管理</h2></div>
            <div class="col-md-4"></div>


            <table class="table-responsive" id="t_outgoing_record" style="color:#000000;">
            </table>

            <div  class="row">

                <div class="col-md-6">

                    <div class="row" ><br/>
                        <div class="col-md-3"></div>
                        <div class="col-md-3"><br/><button class="Button" id="addButtons"><h5>添加房间</h5></button></div>
                        <div class="col-md-3"><br/><button class="Button" id="stuout"><h5>删除房间</h5></button></div><br>
                        <div class="col-md-3"></div>
                    </div>
                    <div class="row"  style="magging:20px "><br/>
                        <div class="col-md-3"></div>
                        <div class="col-md-3"><br/><button class="Button" id="stuChange"><h5>查看房间信息</h5></button></div>
                        <div class="col-md-3"><br/><button class="Button" id="stum"><h5>查看房间设施</h5></button></div><br>
                        <div class="col-md-3"></div>
                    </div>

                </div>


                <div class="col-md-6">
                    <div class="row">
                        
                        <div class="col-md-2"></div>
                        <div class="col-md-10">
                            <form name="fromss">
                                <fieldset >
                                    <legend>查询房间信息</legend>
                                    <div class="row">
                                        <div class="col-md-6">

                                    <table style="border-collapse:separate; border-spacing:0px 40px;">
                                        <tr>
                                            <td>房间地址</td>
                                            <td><input type="text" id="getTime" name="getTime" style="width: 50%"/></td>
                                        </tr>
                                        <tr>
                                            <td>可住房间</td>
                                            <td><select  id="categordys " class="Select" name="drugInstrumentType">
                                                <option value=" "><hr>请选择<hr></option>
                                                <option value="1">不限</option>
                                                <option value="2">可住房间</option>
                                            </select></td>
                                        </tr>
                                    </table>

                                        </div>
                                        <div class="col-md-6" style="margin-top: 10px">
                                            <table style="border-collapse:separate; border-spacing:0px 40px;">
                                                <tr>
                                                    <td>房间状态</td>
                                                    <td><select  id="categordsys " class="Select" name="drugInstrumentType">
                                                        <option value=" "><hr>请选择<hr></option>
                                                        <option value="1">不限</option>
                                                        <option value="2">正常</option>
                                                        <option value="3">设置设施坏</option>
                                                    </select></td>
                                                </tr>
                                                <tr>
                                                    <td>房间类型</td>
                                                    <td><select  id="casstegordys " class="Select" name="drugInstrumentType">
                                                        <option value=" "><hr>请选择<hr></option>
                                                        <option value="1">不限</option>
                                                        <option value="2">男生宿舍</option>
                                                        <option value="3">女生宿舍</option>
                                                    </select></td>
                                                </tr>
                                            </table>


                                        </div>

                                        </div>
                                </fieldset>
                            </form>
                            <button class="Button" id="formbut" style="float: right;margin: 20px 55px 0px 0px">查找</button>
                        </div>

                    </div>
                </div>
            </div>

        </div>
        <div class="col-md-1"></div>
    </div>
</div>




<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 1000px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="addTitle">添加房间</h4>
            </div>
            <div class="modal-body">
                
                <div style="height: 400px">
                    <form id="formData">
                        <div class="row">
                            <div class="col-md-6">
                                <div style="margin-left: 20%">
                                    <table style="border-collapse:separate; border-spacing:0px 20px;">
                                        <tr>
                                            <td ><label>房间地址:</label></td>
                                            <td ><input name="drugInstrumentName" type="text" id="namess" class="form-control doc" /></td>
                                        </tr>
                                        <tr>
                                            <td>可容纳人数:</td>
                                            <td >
                                                <input type="text"/>
                                            <td>
                                        </tr>
                                        <tr>
                                            <td><label>房租:</label></td>
                                            <td >
                                                <input type="text"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><label>房东:</label></td>
                                            <td><input type="text"/></td>
                                        </tr>
                                        <tr>
                                            <td><label>房间状态:</label></td>
                                            <td> <select  id="categodrdsys " class="Select" name="drugInstrumentType">
                                            <option value=" "><hr>请选择<hr></option>
                                            <option value="1">不限</option>
                                            <option value="2">正常</option>
                                            <option value="3">设置设施坏</option>
                                        </select></td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div>
                                    <table style="border-collapse:separate; border-spacing:0px 20px;">
                                        <tr>
                                            <td ><label>房间户型:</label></td>
                                            <td ><input name="drugInstrumentName" type="text" id="nsamess" class="form-control doc" /></td>
                                        </tr>
                                        <tr>
                                            <td>房间类型:</td>
                                            <td> <select  id="castegosdrdsys " class="Select" name="drugInstrumentType">
                                                <option value=" "><hr>请选择<hr></option>
                                                <option value="1">男生宿舍</option>
                                                <option value="2">女生宿舍</option>
                                            </select></td>
                                        </tr>
                                        <tr>
                                            <td><label>支付方式:</label></td>
                                            <td >
                                                <input type="text"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><label>房东电话:</label></td>
                                            <td><input type="text"/></td>
                                        </tr>
                                        <tr>
                                            <td >租房日期:</td>
                                            <td > <input type="date" style="width:67%;hight:40px" name="syrq"/></td>
                                        </tr>




                                    </table>
                                </div>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <button class="Button" data-dismiss="modal">添加</button>
                            <button class="Button" data-dismiss="modal"  style="margin: 0px 15px 0px 30px">取消</button>
                        </div>



                    </form>
                </div>
            </div>
        </div>
    </div>
</div>













<div class="modal fade" id="listmo" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" >删除房间</h4>
            </div>
            <div class="modal-body">
                
                <div style="height: 400px;">
                    <div class="row">
                        <div class="col-md-2"></div>
                        <div class="col-md-10" style="margin-top: 20%;font-size: 35px">
                            该房间还有人住,不能删除!
                        </div>

                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button class="Button" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>





<div class="modal fade" id="listmodals" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 900px">
        <div class="modal-content" >
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" >学生换房</h4>
            </div>
            <div class="modal-body">
                
                <div style="height: 600px;">
                    <form id="formDasta">
                        <div class="row">
                            <div class="col-md-6">
                                <div style="margin-left: 20%">
                                    <table style="border-collapse:separate; border-spacing:0px 20px;">
                                        <tr>
                                            <td ><label>房间地址:</label></td>
                                            <td ><input name="drugInstrumentName" type="text" id="namess" class="form-control doc" /></td>
                                        </tr>
                                        <tr>
                                            <td>可容纳人数:</td>
                                            <td >
                                                <input type="text"/>
                                            <td>
                                        </tr>
                                        <tr>
                                            <td><label>房租:</label></td>
                                            <td >
                                                <input type="text"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><label>房东:</label></td>
                                            <td><input type="text"/></td>
                                        </tr>
                                        <tr>
                                            <td><label>房间状态:</label></td>
                                            <td> <select  id="categodrsdsys " class="Select" name="drugInstrumentType">
                                                <option value=" "><hr>请选择<hr></option>
                                                <option value="1">不限</option>
                                                <option value="2">正常</option>
                                                <option value="3">设置设施坏</option>
                                            </select></td>
                                        </tr>
                                        <tr>
                                            <td >租房日期:</td>
                                            <td > <input type="date" style="width:67%;hight:40px" name="syrq"/></td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div>
                                    <table style="border-collapse:separate; border-spacing:0px 20px;">
                                        <tr>
                                            <td ><label>房间户型:</label></td>
                                            <td ><input name="drugInstrumentName" type="text" id="nsamess" class="form-control doc" /></td>
                                        </tr>
                                        <tr>
                                            <td>已住人数:</td>
                                            <td><input type="text"/></td>
                                        </tr>
                                        <tr>
                                            <td><label>支付方式:</label></td>
                                            <td >
                                                <input type="text"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><label>房东电话:</label></td>
                                            <td><input type="text"/></td>
                                        </tr>
                                        <tr>
                                            <td >房东类型:</td>
                                            <td > <input type="text"/></td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <table class="table-responsive" id="t_hometo" style="color:#000000;">
                            </table>
                        </div>

                        <div class="modal-footer">
                            <button class="Button" data-dismiss="modal">确定</button>
                            <button class="Button" data-dismiss="modal"  style="margin: 0px 15px 0px 30px">取消</button>
                        </div>
                    </form>
                </div>
            </div>





        </div>
    </div>
</div>






<div class="modal fade" id="stumas" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 600px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="addTitles">房间设施维护</h4>
            </div>
            <div class="modal-body">
                
                <div style="height: 400px">
                    <table class="table-responsive" id="t_homethree" style="color:#000000;">
                    </table>
                    <form id="formDatass">

                        <div class="row">
                            <div class="col-md-1"></div>
                            <div class="col-md-11">

                                <div style="margin-left: 20%">
                                    <table style="border-collapse:separate; border-spacing:0px 40px;">
                                        <tr>
                                            <td ><label>报损日期:</label></td>
                                            <td > <input type="date" style="width:67%;hight:40px" name="syrq"/></td>
                                        </tr>
                                        <tr>
                                            <td>损坏描述:</td>
                                            <td >
                                                <input type="text" style="height: 80px"/>
                                            <td>
                                        </tr>
                                    </table>
                                </div>
                            </div>


                        </div>
                        <div class="modal-footer">
                            <button class="Button" data-dismiss="modal">确定</button>
                        </div>



                    </form>
                </div>
            </div>
        </div>
    </div>


</div>
</body>
</html>




🎁更多干货

1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

3.

以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻💬

  • 2
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

@蜡笔小新星

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值