检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王玉芬 赵丹丹 WANG Yufen;ZHAO Dandan(Xinxiang Institute of Engineering,Xinxiang Henan 453700,China)
机构地区:[1]新乡工程学院,河南新乡453700
出 处:《信息与电脑》2023年第1期143-146,共4页Information & Computer
摘 要:文章基于使用Bootstrap框架中的按钮和文本框组件快速完成了计算器的界面设计,并实现了响应式布局,使用层叠样式表(Cascading Style Sheets 3,CSS)完成计算器界面的进一步美化,通过JavaScript代码完成了加、减、乘、除四则运算的定义,使用Ajax局部刷新方式提升了前端用户体验。通过这个简单的基于Bootstrap和Django框架的Web计算器实例,详细阐述了一个Python Web项目的构建过程,为进一步学习Python Web项目的开发提供了一个良好的基础。The article is based on the use of Bootstrap framework button and text box components to quickly complete the interface design of the calculator, and to achieve a responsive layout, the use of Cascading Style Sheets(CSS) to complete the calculator interface to further beautify, through the JavaScript code to complete the definition of the four operations of addition,subtraction, multiplication and division The front-end user experience is enhanced by the use of Ajax for partial refresh. This simple example of a Web calculator based on Bootstrap and the Django framework details the process of building a Python Web project and provides a good basis for further study of Python Web project development.
关 键 词:Bootstrap框架 Django框架 Web计算器 栅格系统 访问路由
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.236