11 2020 档案

摘要:<table class="layui-table" lay-filter="demo"> <colgroup> <%--设置每列的宽度--%> <col width="108px"> <col width="10%"> <col width="22%"> <col width="100px"> < 阅读全文
posted @ 2020-11-30 09:17 凉面好好吃 阅读(1467) 评论(0) 推荐(0) 编辑
摘要:layer.confirm('数据已存在,是否继续', { offset: '200px' , cancel: function (index, layero) { console.log('点击X按钮'); layer.close(index); } }, function (index) { c 阅读全文
posted @ 2020-11-26 16:20 凉面好好吃 阅读(3450) 评论(0) 推荐(0) 编辑
摘要:(1)使用具有全局标志g的正则表达式 var str = "dogdogdog"; var str2 = str.replace(/dog/g,"cat");// console.log(str2); (2) 使用另一种具有全局标志g的正则表达式的定义方法 var str='dogdogdog'; 阅读全文
posted @ 2020-11-26 14:40 凉面好好吃 阅读(839) 评论(0) 推荐(0) 编辑
摘要:form.on('checkbox(filter)', function(data){ console.log(data.elem); //得到checkbox原始DOM对象 console.log(data.elem.checked); //是否被选中,true或者false console.lo 阅读全文
posted @ 2020-11-26 14:15 凉面好好吃 阅读(2885) 评论(0) 推荐(0) 编辑
摘要://添加验证项 function addField(field, notEmptyMsg, othercon) { if (!othercon) { $("#gyssave").bootstrapValidator("addField", field, { validators: { notEmpt 阅读全文
posted @ 2020-11-26 11:23 凉面好好吃 阅读(448) 评论(0) 推荐(0) 编辑
摘要:/*设置不可编辑时字体颜色*/ .layui-disabled, .layui-disabled:hover { color: #101010 !important; background-color: #eee; } /*设置表格单元格线样式*/ .layui-table td, .layui-t 阅读全文
posted @ 2020-11-23 16:44 凉面好好吃 阅读(8476) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示