位置: 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)(学校官网首页图片)

  • 华为荣耀9x有计步功能吗(华为荣耀9x计算机怎么查记录)

    华为荣耀9x有计步功能吗(华为荣耀9x计算机怎么查记录)

  • 探探是不是一定要充钱(探探是不是一定要加好友)

    探探是不是一定要充钱(探探是不是一定要加好友)

  • 我们常说的2g3g4g手机的g指的是什么(我们常说的2g3g4g的g指的是什么)

    我们常说的2g3g4g手机的g指的是什么(我们常说的2g3g4g的g指的是什么)

  • lighting接口什么意思(lighting 接口)

    lighting接口什么意思(lighting 接口)

  • 微信专清不能用怎么办(微信专清功能打不开)

    微信专清不能用怎么办(微信专清功能打不开)

  • 华为手机怎么投屏使用(华为手机怎么投屏到投影仪)

    华为手机怎么投屏使用(华为手机怎么投屏到投影仪)

  • 小米8se听筒声音小怎么办

    小米8se听筒声音小怎么办

  • 号码是空号是注销了吗(号码是空号是不是已经注销了)

    号码是空号是注销了吗(号码是空号是不是已经注销了)

  • 微店是腾讯的吗(微店是腾讯旗下产品吗)

    微店是腾讯的吗(微店是腾讯旗下产品吗)

  • 路由器软件有必要升级吗(路由器软件有必要安装吗)

    路由器软件有必要升级吗(路由器软件有必要安装吗)

  • 默认评价是什么意思(默认评价可以改吗)

    默认评价是什么意思(默认评价可以改吗)

  • a12和a13性能对比(a12和a13的性能差距)

    a12和a13性能对比(a12和a13的性能差距)

  • 充电发热正常现象吗(充电器发热正常吗)

    充电发热正常现象吗(充电器发热正常吗)

  • airpods能唱歌吗(苹果airpods可以唱歌吗)

    airpods能唱歌吗(苹果airpods可以唱歌吗)

  • 手机开不了机充电没反应怎么办(手机开不了机充电一闪一闪的怎么回事)

    手机开不了机充电没反应怎么办(手机开不了机充电一闪一闪的怎么回事)

  • 微信收藏的照片在哪里可以找到(微信收藏的照片打不开了怎么恢复)

    微信收藏的照片在哪里可以找到(微信收藏的照片打不开了怎么恢复)

  • 苹果x手机声音越来越小怎么办(苹果X手机声音变小了怎么回事)

    苹果x手机声音越来越小怎么办(苹果X手机声音变小了怎么回事)

  • 淘宝收货后多久自动好评(淘宝收货后多久可以开发票)

    淘宝收货后多久自动好评(淘宝收货后多久可以开发票)

  • 如何使用碰一碰支付(如何碰一碰电脑上的华为share标签)

    如何使用碰一碰支付(如何碰一碰电脑上的华为share标签)

  • 微信头像怎么删除(微信头像怎么删除历史头像)

    微信头像怎么删除(微信头像怎么删除历史头像)

  • 微信突然发不出去消息咋回事(微信突然发不出去了)

    微信突然发不出去消息咋回事(微信突然发不出去了)

  • 苹果6s铃声怎么设置自己的歌(苹果6s铃声怎么静音)

    苹果6s铃声怎么设置自己的歌(苹果6s铃声怎么静音)

  • qq怎么设置陌生人不可以发信息(qq怎么设置陌生人不可以看空间)

    qq怎么设置陌生人不可以发信息(qq怎么设置陌生人不可以看空间)

  • tune a video:one-shot tuning of image diffusion models for text-to-video generation

    tune a video:one-shot tuning of image diffusion models for text-to-video generation

  • 苹果系统专用网络优化工具,让你的网络速度暴增(一个人失恋了该怎么安慰她)

    苹果系统专用网络优化工具,让你的网络速度暴增(一个人失恋了该怎么安慰她)

  • 增值税发票系统怎么读入发票
  • 个税退回怎么申请
  • 税收负担影响企业的利润吗
  • 用友软件生成凭证合并进项税
  • 付款后发票可以抵扣吗
  • 调整未分配利润影响所得税吗
  • 连续三个月发烧怎么回事
  • 一般纳税人净利润如何计算
  • 出口退税中哪些是免税的
  • 持有待售流动资产如果说以历史成本计量的时候怎么弄
  • 银行承兑汇票到期日期怎么算
  • 开房屋租金发票需要带什么资料
  • 材料成本差异月初贷方余额表示什么
  • 不能计入外购固定资产成本的相关税费
  • 不动产可以拆吗
  • 企业融资租赁设立条件
  • 投资理财产品的风险性从低到高
  • 小规模纳税人第四季度怎么报税
  • 服务费与劳务费税率的区别
  • 增值税更正申报表需要逐月更正吗
  • 往来科目明细表
  • 售后回租业务的会计分录
  • 费用未入账是什么意思
  • 主营业务收入会计分录怎样写
  • 今年交去年的工会经费账务处理?
  • 公司账务审计费用取费标准
  • windows11怎么设置默认应用
  • win11系统更新卡在25%
  • linux alias永久生效
  • 森林植被恢复费标准
  • linux怎么查找
  • 简易征收做账
  • 滴滴司机工资怎么算的
  • macbookpro常见问题
  • macOS 11 Big Sur 开发者预览版 Beta 8推送
  • 长期债券投资业务处理
  • 房产税城镇土地使用税申报期限
  • 车子的保险费
  • php转utf8
  • vuex存储用户信息
  • windowsserver2008r2密码重置
  • 前端yck
  • 谷粒商城二十五springCloud之Sleuth+Zipkin 服务链路追踪
  • 微信公众号认证主体是什么意思
  • 增值税附加税有什么
  • 可供出售金融资产新准则叫什么
  • 固定资产一次性扣除政策
  • 工程质保金可以不退吗
  • 购置固定资产进项税率
  • 未达起征点销售额是含税还是不含税
  • access中宏的操作
  • mongodb主备
  • 招聘招一个人爱我图片
  • 对公贷款利息如何入账
  • 公司班车运费如何入账的
  • 广告服务费一般几个点
  • 怎么做好流水账
  • 研发支出怎么结转到管理费用
  • 基本户转到一般户用途写什么
  • 工程挂靠取得的收入怎么做账?
  • 退回增值税发票怎么做处理
  • 建筑业纳税人简易征收偷逃增值税
  • windows+ctrl+m
  • mac如何快速复制文件
  • win8怎么调整显示器亮度
  • 升级win10时蓝屏
  • microsoft/微软
  • win10怎么删除无用文件
  • windows 8改windows 7
  • jquery代码实现鼠标点击
  • android studio 新建项目只有.idea文件
  • unity自带的代码编辑器
  • 深入理解新发展理念,推进供给侧结构性改革
  • javascript中有哪些数据类型
  • JavaScript中void(0)的具体含义解释
  • jquery detach
  • 外地经营预缴企业所得税
  • 个体户增值税怎么计算方法
  • 单据整理方法
  • 贵州泉源会计服务有限公司花溪店位置
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设