巧记英语单词

2024-05-05 08:12
文章标签 英语单词 巧记

本文主要是介绍巧记英语单词,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

页面

在这里插入图片描述
在输入框中填写英语单词的谐音
在这里插入图片描述
在这里插入图片描述
这样的话就进行了一次英语单词的记忆练习。

页面代码

<% layout('/layouts/default.html', {title: '英语单词管理', libs: ['dataGrid']}){ %>
<div class="main-content"><div class="box box-main"><div class="box-header"><div class="box-title"><i class="fa icon-notebook"></i> ${text('英语单词管理')}</div><div class="box-tools pull-right"><a href="#" class="btn btn-default" id="btnSearch" title="${text('查询')}"><i class="fa fa-filter"></i> ${text('查询')}</a><% if(hasPermi('english:english:edit')){ %><a href="${ctx}/english/english/form" class="btn btn-default btnTool" title="${text('新增英语单词')}"><i class="fa fa-plus"></i> ${text('新增')}</a><% } %><a href="#" class="btn btn-default" id="btnSetting" title="${text('设置')}"><i class="fa fa-navicon"></i></a></div></div><div class="box-body"><#form:form id="searchForm" model="${english}" action="${ctx}/english/english/listData" method="post" class="form-inline hide"data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"><div class="form-group"><label class="control-label">${text('英文单词')}:</label><div class="control-inline"><#form:input path="englishWord" maxlength="45" class="form-control width-120"/></div></div><div class="form-group"><label class="control-label">${text('谐音')}:</label><div class="control-inline"><#form:input path="homophonic" maxlength="45" class="form-control width-120"/></div></div><div class="form-group"><label class="control-label">${text('中文释义')}:</label><div class="control-inline"><#form:input path="chinese" maxlength="45" class="form-control width-120"/></div></div><div class="form-group"><button type="submit" class="btn btn-primary btn-sm"><i class="glyphicon glyphicon-search"></i> ${text('查询')}</button><button type="reset" class="btn btn-default btn-sm isQuick"><i class="glyphicon glyphicon-repeat"></i> ${text('重置')}</button></div></#form:form><table id="dataGrid"></table><div id="dataGridPage"></div></div></div>
</div><% } %>
<script>
//# // 初始化DataGrid对象
$('#dataGrid').dataGrid({searchForm: $('#searchForm'),columnModel: [{header:'${text("英文单词")}', name:'englishWord', index:'a.english_word', width:150, align:"left", frozen:true, formatter: function(val, obj, row, act){return '<a href="${ctx}/english/english/form?englishId='+row.englishId+'" class="btnList" data-title="${text("编辑英语单词")}">'+(val||row.id)+'</a>';}},{header:'${text("填写谐音")}', name:'homophonic', index:'a.homophonic', width:150, align:"left", formatter: function(val, obj, row, act){return '<input type="text">';}},{header:'${text("谐音")}', name:'homophonic', index:'a.homophonic', width:150, align:"left"},{header:'${text("填写中文释义")}', name:'chinese', index:'a.chinese', width:150, align:"left", formatter: function(val, obj, row, act){return '<input type="text">';}},{header:'${text("中文释义")}', name:'chinese', index:'a.chinese', width:150, align:"left"},{header:'${text("操作")}', name:'actions', width:120, formatter: function(val, obj, row, act){var actions = [];//# if(hasPermi('english:english:edit')){actions.push('<a href="${ctx}/english/english/form?englishId='+row.englishId+'" class="btnList" title="${text("编辑英语单词")}"><i class="fa fa-pencil"></i></a>&nbsp;');actions.push('<a href="${ctx}/english/english/delete?englishId='+row.englishId+'" class="btnList" title="${text("删除英语单词")}" data-confirm="${text("确认要删除该英语单词吗?")}"><i class="fa fa-trash-o"></i></a>&nbsp;');//# }return actions.join('');}}],//# // 加载成功后执行事件ajaxSuccess: function(data){}
});
</script>

数据库表

CREATE TABLE `english` (`english_id` int NOT NULL AUTO_INCREMENT COMMENT '编号',`english_word` varchar(45) DEFAULT NULL COMMENT '英文单词',`homophonic` varchar(45) DEFAULT NULL COMMENT '谐音',`chinese` varchar(45) DEFAULT NULL COMMENT '中文释义',PRIMARY KEY (`english_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='英语单词';
[{"english_id":1, "english_word":"ambition", "homophonic":"am-俺,bi-必,tion-胜:俺必胜", "chinese":"野心"},{"english_id":2, "english_word":"touche", "homophonic":"tou-透,che-彻:透彻", "chinese":"讲得好,一阵见血地"},{"english_id":3, "english_word":"comprehension", "homophonic":"com-看,pre-破,hen-红,sion-尘:看破红尘,就领悟了了人生的真谛", "chinese":"领悟力"},{"english_id":4, "english_word":"administration", "homophonic":"ad俺的,mini-命令,stration-死遵循:俺的命令死遵循", "chinese":"行政管理"},{"english_id":5, "english_word":"mendacity", "homophonic":"men-男人,da-大,city:城市:男人到了大城市,就撒谎", "chinese":"虚伪"}]

这篇关于巧记英语单词的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/961217

相关文章

[英语单词] paste

这个单词的意思,有时候可能会被,被copy/paste误导了,会有一种假象,只有copy了才可以paste。 其实还可以将两个东西paste在一起。比如下面的: /kernel/include/linux/compiler_types.h /* Indirect macros required for expanded argument pasting, eg. __LINE__. */#d

[英语单词] out of

Most modern cryptographic devices are implemented using semiconductor logic gates, which are constructed out of transistors. https://link.springer.com/content/pdf/10.1007/s13389-011-0006-y.pdf 第一眼看到这个

[英语单词] quorum

这个quorum这个单词也是非常特殊,他说一个组合,多数同意的多数的组合,这算是一个行为的结果,所以放到一个句子里的时候,有些绕,需要脑子转个弯。 在计算机科学中,“quorum” 是指在分布式系统或集群系统中,为了确保一致性和可靠性,某种操作或决策必须得到的最小同意或参与节点数量。 Quorum 来源于拉丁语,原意是指“到场人数”,在现代计算机科学中的应用,主要用于分布式系统和数据库领域。它的

[英语单词] infamous

famous 出名的好。是一个褒义词。 famous *['feimәs] a. 出名的, 极好的 <— 牛津现代英汉双解词典 —> /ˈfeɪməs; `feməs/ adj 1 ~ (for sth) known to very many people; celebrated 出名的; 着名的: Paris is a famous city. 巴黎是着名的城市. * New York is f

用Python给英语单词批量划分音节

一、问题的缘起 最近,有网友在我的视频下面留言,问我可否把英语单词进行音节的划分?我以前也有同样的想法,但是始终没有得到解决。但是,我想使用python,学习英语的人都很多,说不定有人已经编写了类似的模块供我们调用呢? 问题截图 于是,我就抱着试试看的心情,在网上搜了一下,果然,某搜索引擎上,已经给出了答案,经过测试,我发现这个pyphen是一个不错的模块,它可以自动把任意单词按照音

[英语单词] feedback

Embedded computers and networks monitor and control the physical processes, usually with feedback loops where physical processes affect computations and vice versa. https://www2.eecs.berkeley.edu/Pubs

[英语单词] spectrum

记得刚接触2G的产品的时候,每天都要面对这个单词,有一段时间对这个词的含义总是记不住它的含义。 spectrum (usu sing 通常作单数) 1 image of a band of colours as seen in a rainbow (and usu described as red, orange, yellow, green, blue, indigo and violet),

java编程中常用英语单词

JAVA 省略语与名词解释 -------------------------------- J2EETM----JavaTM 2PlatformEnterpriseEdition : J2EE(JAVA2企业版)平台提供一个基于组件设计、开发、集合、展开企业应用的途径。J2EE 平台提供了多层、分布式的应用模型,重新利用组件的能力,统一安全的模式以及灵活 的处理控制能力。 J2METM----J

[英语单词] ellipsize,动词化后缀 -ize

openvswitch manual里的一句话:里面有使用ellipsize,但是查字典是没有这个单词,这就是创造出来的动词。将单词ellipsis,加动词化后缀,-ize。 Often we ellipsize arguments not important to the discussion, e.g.: <--- 朗道英汉字典5.0 --->ellipsis*[i'lipsis]n.

【七合一】字典词典成语古诗词造句英语单词文库

帝国CMS7.5 UTF-8 系统开源,不限域名 采用静态+伪静态(会缓存静态文件) 一款7合一的字词句诗典籍模板,包含字典、词典、成语、名句、诗词、古籍、英语、作文、等等。是一款养站神器。 作文范文,作文范文可生成word文档下载能自由的设置每一个文章收费还是免费(默认设置免费) 因数据量庞大,基础数据约有100万+页面,所以硬盘最低50G,如果您没有云主机或者VPS将无法安装。 【七