位置: IT常识 - 正文

【HTML】原生js实现的图书馆管理系统(javascript原生)

编辑:rootadmin
【HTML】原生js实现的图书馆管理系统

推荐整理分享【HTML】原生js实现的图书馆管理系统(javascript原生),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:原生js实现promise,原生js实现promise.all,原生js操作dom,javascript原生,原生js jquery,原生js实现promise.all,原生js实现promise,原生js实现promise,内容如对您有帮助,希望把文章链接给更多的朋友!

1、引言

设计结课作业,课程设计无处下手,网页要求的总数量太多?没有合适的模板?数据库,java,python,vue,html作业复杂工程量过大?毕设毫无头绪等等一系列问题。你想要解决的问题,在微信公众号“coding加油站”中全部会得到解决

2、作品介绍

原生js实现的图书馆管理系统采用html,css,js技术来实现,符合所学知识体系,适用于常见的作业以及课程设计,需要获取更多的作品,请关注微信公众号:coding加油站,获取,如需更多资料,可在微信后台留言。欢迎大家来提问,交流学习。

2.1、作品简介方面 

原生js实现的图书馆管理系统采用常规方式来实现,符合绝大部分的要求。代码配置有相关文档讲解,如需从代码中学到知识点,那么这个作品将是你的不二之选

2.2、作品二次开发工具

此作品代码相对简单,基本使用课堂中所学知识点来完成,只需要修改相关的介绍文字,一些图片,就可以改为自己独一无二的代码,网页作品下载后可使用任意编辑软件(例如:DW、HBuilder、NotePAD 、Vscode 、Sublime 、Webstorm 所有编辑器均可使用),java,python等相关作业使用自己常使用的工具亦可完成相关二次开发。

2.3、作品技术介绍

【HTML】原生js实现的图书馆管理系统(javascript原生)

html网页作品技术方面:使用CSS制作了网页背景图、鼠标经过及选中导航变色效果、下划线等相关技术来美化相关界面,部分采用了javascript来做校验。 使用html5,以及css3等相关技术完成技术的布局,在本作品中,会使用常见的布局,常见的浮动布局,flex布局都会有使用到哦。同时在操作方面上运用了html5和css3,采用了div+css结构、表单、超链接、浮动、绝对定位、相对定位、字体样式、引用视频等基础知识,同时使用了一些js的相关知识。例如使用到了dom,和bom来获取浏览器的相关api,同时使用css对样式进行相关的美化,使得界面更加符合网页设计

3、作品演示

【coding加油站】原生js实现的图书管理系统

3.1、登录页

 相关代码:

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>1</title> <style> .div1{ width:400px; height:220px; margin:0 auto; position:absolute; left:40%; top:35%; background: none repeat scroll 0 0 skyblue; border: 1px solid brown; height: 250px; padding-top: 30px; text-align: center; } </style></head><body> <div class="bg"></div> <div class="div1" id="loginBox"> <form action="LoginServlet" method="post"> <h3>图书管理系统</h3> <p> <input type="text" name="username" id="username" placeholder="账号" autocomplete="off"></p> <p> <input type="password" name="password" id="password" placeholder="密码"> </p> <p style="color: red" class="tip"></p> <p><button type="button" id="login">登录</button></p> </form> <span><a href="3.html" style="color: brown">注册</a></span> </div><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript"> $(function(){ $('#login').click(function(){ username = $('.div1 #username').val(); password = $('.div1 #password').val(); if(username!='admin'||password!='admin'){ $('.div1 .tip').text('用户名或密码错误'); if(username!=''||password!=''){ $('.div1 .tip').text('用户名或密码不能为空'); } }else{ console.log('下一步'); alert('用户登陆成功') window.location.href="2.html"; } }); });</script></body></html>

3.2、管理界面

相关代码:

<!DOCTYPE html><html lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>2</title> <style> #div1{ background-color: skyblue; width: auto; height:70px; font-size: 30px; text-align: center; line-height: 70px; } .modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: none; overflow: hidden; outline: 0; } .modal.fade .modal-dialog { transition: -webkit-transform 0.3s ease-out; transition: transform 0.3s ease-out; transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; -webkit-transform: translate(0, -25%); transform: translate(0, -25%); } .modal.show .modal-dialog { -webkit-transform: translate(0, 0); transform: translate(0, 0); } .modal-open .modal { overflow-x: hidden; overflow-y: auto; } .modal-dialog { position: relative; width: auto; margin: 10px; pointer-events: none; } .modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; pointer-events: auto; background-color: #fff background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; outline: 0; } .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: skyblue; } .modal-backdrop.fade { opacity: 0; } .modal-backdrop.show { opacity: 0.5; } .modal-header { display: -ms-flexbox; display: flex; -ms-flex-align: start; align-items: flex-start; -ms-flex-pack: justify; justify-content: space-between; padding: 15px; border-bottom: 1px solid #e9ecef; border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; } .modal-header .close { padding: 15px; margin: -15px -15px -15px auto; } .modal-title { margin-bottom: 0; line-height: 1.5; } .modal-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 15px; } .modal-footer { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: end; justify-content: flex-end; padding: 15px; border-top: 1px solid #e9ecef; } .modal-footer > :not(:first-child) { margin-left: .25rem; } .modal-footer > :not(:last-child) { margin-right: .25rem; } body { margin: 0; font-size: 1.3rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: center; background-color: #fff; } .table{ background-color: skyblue; border: 1px solid brown; } </style></head><body onload="loadUserDatas()"> <div id="div1">图书管理系统</div> <br><br> <div class="container"> <table class="table" id="table" align="center"> <thead> <tr> <th>序号</th> <th>图书编号</th> <th>图书名</th> <th>图书作者</th> <th>出版社</th> <th>图书数量</th> <th>图书价钱</th> </tr> </thead> <tbody id="tbody"> </tbody> </table> <br> <caption>操作</caption> <br><br> <caption> <form class="form-inline" role="form"> <input type="text" class="form-group form-control" autocomplete="off" id="s_code" placeholder="按工号查询" > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" class="form-group form-control" autocomplete="off" id="s_userName" placeholder="按图书名查询" > </form> </caption> <br> <form class="form-inline" role="form"> <button type="button" class="btn btn-info" id="user_find" onclick="optionUserData(this);">查询</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button type="button" class="btn btn-success" id="user_add" data-toggle="modal" data-target="#myModal" onclick="optionUserData(this);">新增</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button type="button" class="btn btn-danger" id="user_delete" onclick="optionUserData(this);">删除</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button type="button" class="btn btn-default" id="user_edit" data-toggle="modal" data-target="#myModal" onclick="optionUserData(this);">编辑</button> </form> <div class="modal hide" id="myModal" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> 返回 </button> </div> <div class="modal-body" id="modal-body"> <label for="name">图书编号:</label> <input type="text" class="form-control" id="m_code" placeholder="请输入图书编号" autocomplete="off"> <label for="name">图书名:</label> <input type="text" class="form-control" id="m_userName" placeholder="请输入图书名" autocomplete="off"> <label for="name">图书作者:</label> <input type="text" class="form-control" id="m_sex" placeholder="请输入作者" autocomplete="off"> <label for="name">出版社:</label> <input type="text" class="form-control" id="m_passWord" placeholder="请输入出版社" autocomplete="off"> <label for="name">图书数量:</label> <input type="text" class="form-control" id="m_age" placeholder="请输入图书数量" autocomplete="off"> <label for="name">图书价钱:</label> <input type="text" class="form-control" id="m_birthday" placeholder="请输入图书价钱" autocomplete="off"> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">保存 </button> <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true" >提交更改</button> </div> </div> </div> </div></div><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/index.js"></script><script type="text/javascript" src="js/bootstrap.js"></script></body></html>

 3.3、编辑界面

相关代码:

<div class="modal hide" id="myModal" role="dialog" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> 返回 </button> </div> <div class="modal-body" id="modal-body"> <label for="name">图书编号:</label> <input type="text" class="form-control" id="m_code" placeholder="请输入图书编号" autocomplete="off"> <label for="name">图书名:</label> <input type="text" class="form-control" id="m_userName" placeholder="请输入图书名" autocomplete="off"> <label for="name">图书作者:</label> <input type="text" class="form-control" id="m_sex" placeholder="请输入作者" autocomplete="off"> <label for="name">出版社:</label> <input type="text" class="form-control" id="m_passWord" placeholder="请输入出版社" autocomplete="off"> <label for="name">图书数量:</label> <input type="text" class="form-control" id="m_age" placeholder="请输入图书数量" autocomplete="off"> <label for="name">图书价钱:</label> <input type="text" class="form-control" id="m_birthday" placeholder="请输入图书价钱" autocomplete="off"> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">保存 </button> <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true" >提交更改</button> </div> </div> </div> </div>

总结

以上就是本次项目的全部内容,需要交流或者获取代码请关注微信公众号:coding加油站获取

本文链接地址:https://www.jiuchutong.com/zhishi/294495.html 转载请保留说明!

上一篇:Diffusion-GAN: Training GANs with Diffusion 解读

下一篇:学校官网首页 2页网页设计(HTML+CSS+JavaScript)(学校官网首页图片)

  • 手机怎么打车(手机怎么打车上的车牌号)

    手机怎么打车(手机怎么打车上的车牌号)

  • 微信怎么加话题标签(微信在哪找群聊)

    微信怎么加话题标签(微信在哪找群聊)

  • 小米10至尊纪念版屏幕分辨率是多少(小米10至尊纪念版尺寸)

    小米10至尊纪念版屏幕分辨率是多少(小米10至尊纪念版尺寸)

  • 支付宝消息已发出但被对方拒收(支付宝消息已发出但被对方拒收了)

    支付宝消息已发出但被对方拒收(支付宝消息已发出但被对方拒收了)

  • windows操作系统属于应用软件吗

    windows操作系统属于应用软件吗

  • ppt动画窗格在哪里(ppt里面动画窗格在哪里)

    ppt动画窗格在哪里(ppt里面动画窗格在哪里)

  • wps表格找不到行高怎么办(wps表格怎么查找不到内容)

    wps表格找不到行高怎么办(wps表格怎么查找不到内容)

  • 华为天罡芯片是多少nm芯片的(快看 | 华为发布业内首款面向5g基站的芯片“天罡”)

    华为天罡芯片是多少nm芯片的(快看 | 华为发布业内首款面向5g基站的芯片“天罡”)

  • 智能手环和智能手表的区别(智能手环和智能手表的区别在哪里)

    智能手环和智能手表的区别(智能手环和智能手表的区别在哪里)

  • 鼠标没电了怎么办(鼠标没电了怎么打开触摸板)

    鼠标没电了怎么办(鼠标没电了怎么打开触摸板)

  • 荣耀20pro发热烫手怎么回事(华为荣耀20pro容易发烫?)

    荣耀20pro发热烫手怎么回事(华为荣耀20pro容易发烫?)

  • 微信可以远程吗(微信可以远程控制对方手机吗)

    微信可以远程吗(微信可以远程控制对方手机吗)

  • float和int的区别(python必背入门代码)

    float和int的区别(python必背入门代码)

  • 抖音直播镜像是反的怎么办(抖音直播镜像是开播前还是开播后调整)

    抖音直播镜像是反的怎么办(抖音直播镜像是开播前还是开播后调整)

  • 手机没有储存卡会怎么样(手机没有储存卡能用吗)

    手机没有储存卡会怎么样(手机没有储存卡能用吗)

  • 小米7和6的区别(小米7和6的区别是什么)

    小米7和6的区别(小米7和6的区别是什么)

  • oppofdx多少瓦快充(oppofindx多少w充电)

    oppofdx多少瓦快充(oppofindx多少w充电)

  • 8p重量多少克(苹果手机8p重量是多少)

    8p重量多少克(苹果手机8p重量是多少)

  • qq邮箱怎么发送音乐(qq邮箱怎么发送word给别人)

    qq邮箱怎么发送音乐(qq邮箱怎么发送word给别人)

  • 智能电视和非智能电视的区别(智能电视和非智能电视哪个开机快)

    智能电视和非智能电视的区别(智能电视和非智能电视哪个开机快)

  • Vue 采用blob下载后端返回的pdf流或者excel流文件乱码问题解决方案(vue blob下载文件)

    Vue 采用blob下载后端返回的pdf流或者excel流文件乱码问题解决方案(vue blob下载文件)

  • 360安全路由器怎么用 360安全路由器设置使用详细图文教程(360安全路由器怎么重启)

    360安全路由器怎么用 360安全路由器设置使用详细图文教程(360安全路由器怎么重启)

  • 卡洛里盆地的合成全彩图,水星 (© NASA/Johns Hopkins University Applied Physics Laboratory/Carnegie Institution of Washington)(卡洛里山脉)

    卡洛里盆地的合成全彩图,水星 (© NASA/Johns Hopkins University Applied Physics Laboratory/Carnegie Institution of Washington)(卡洛里山脉)

  • 个人购买二手房贷款能贷多少
  • 个人独资企业和个体工商户的税收区别
  • 企业卖车交税怎么算的
  • 年金是否一定是每年发生一次
  • 农民专业合作社属于什么企业类型
  • 深圳增值税普通发票查询真伪
  • 差额征税劳务费发票
  • 公司给员工租赁住房算成本吗
  • 电子发票红字发票怎么开
  • 企业申请零申报需要什么条件
  • 现金支票 差旅费
  • 营改增后的民办养老院收入是否含增值税收入?
  • 个人安装设备属于劳务吗
  • 机动车类专用发票
  • 哪些人可以享受长护险
  • 劳务派遣一般纳税人可以简易征收吗
  • 银行手续费做账漏掉
  • 酒店装修费用会计处理
  • 发生坏账损失账务处理
  • win11怎么关闭进程
  • 辅助生产车间工人工资
  • 限制浏览器打开网页
  • 一般纳税人购进农产品如何抵扣进项税额
  • php
  • php数组函数 菜鸟
  • php简单实例
  • ChatGPT5是否会影响人类的发展和工作?
  • gpt3模型大小
  • 2020信息采集
  • 退税是上一年交的税都会退吗
  • python列表的创建和操作
  • 母公司借款给子公司如何做账
  • 加计扣除的增值税怎么做账
  • 政府补助确认递延所得税负债
  • 结转成本是什么凭证
  • 融资租赁固定资产折旧年限
  • 长期待摊费用该怎么记账
  • 文化事业建设费会计分录
  • 收到科技局研发项目资金计入什么科目
  • 收到进项税发票
  • 活动经费要发到每个员工
  • 投资性房地产涉及其他综合收益
  • 企业注销递延所得税资产怎么处理
  • 没有入账的固定资产怎样做账
  • 递延收益的影响
  • 淘宝电商怎么做账
  • 银行存款日记账填写样本图
  • 月底计提工资的会计处理
  • mysql8设置时区
  • mysql中的groupby
  • sql语句的执行方式
  • mysql里面的事务
  • 系统组策略打不开
  • linux中git命令
  • win10设置设备
  • centos7修改远程登录端口
  • win10系统最新版用户维护在哪
  • linux系统init命令
  • Nodejs+express+html5 实现拖拽上传
  • 一个简单的灵魂
  • 有哪些小工具
  • socketjs-node/info
  • android 测试工具
  • 谈一谈你对人与自然关系的认识
  • unity类库
  • [Phonegap+Sencha Touch] 移动开发50 Android修改新建虚拟机存放的位置
  • java script怎么学
  • CLASS_CONFUSION JS混淆 全源码
  • android界面设计规范
  • 财政票据和税务票据的法律效力一样吗
  • 技术咨询服务费税率
  • 公司买社保公司倒闭了怎么办
  • 异地预缴的企业所得税带不出
  • 营业税金及附加结转分录
  • 排污费属于什么费用科目
  • 石油产品消费税征收
  • 国税优盘安装教程
  • 外出经营需要交哪些税
  • 中国进口奶粉关税税率表2019
  • 小规模纳税人和一般纳税人的区别
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设