摘要:
做移动端项目时,需要限制input框可输入内容长度。当时使用了keydown, keyup事件,但是在ios下不生效,代码如下: $('.father')('keydown keyup','input',function(){ console.log('限制可输入内容长度代码') }) 将keydo 阅读全文
摘要:
方式一 $parent 父组件 <template> <div> <child></child> </div> </template> <script> import child from './child'; export default { components: { child }, meth 阅读全文
摘要:
1:weUI 官方网址:https://weui.io/ 官方介绍:WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信内网页和微信小程序量身设计,令用户的使用感知更加统一。 图片发自简书App 优点:做为开发者的我们可以不用写太多css,直接拿过来就可以用。组件都有点击态, 阅读全文
摘要:
--打印按钮事件 function printForm(){ var headstr = '<html xmlns:th="http://www.thymeleaf.org">'+ '<head>'+ '<style type="text/css">'+ 'table-bordered>thead> 阅读全文
摘要:
触发器的基础知识和例子 :create trigger tr_name on table/view {for | after | instead of } [update][,][insert][,][delete] [with encryption] as {batch | if update ( 阅读全文