![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
layui
爱智慧的打工人
我只知道一件事,就是我一无所知
展开
-
vue中使用layui form渲染无效 解决办法
//在vue 生命周期函数updated中,重新渲染formupdated:function(){ layui.use(['form', 'layer'], function () { form = layui.form; form.render() });}原创 2020-10-19 14:05:26 · 805 阅读 · 0 评论 -
不改源代码给 layDate 加上日历小图标
.layui-date{ position: absolute; right: 20px; top: 50%; margin-top: -10px; cursor: pointer; font-size: 30px; color: #1E9FFF;}<input type="text" name="" class="layui-input" id="data"/><i class="layui-icon layui-date"&g转载 2020-06-20 10:56:46 · 1325 阅读 · 0 评论 -
layui 分页
//分页 layui.laypage.render({ elem : 'pageInfo', count : ${query.rsCount}, limit: ${query.pageSize}, curr: ${query.currentPage}, theme : '#1E9FFF', layout: ['prev', 'page', 'next', 'limit', 'refresh', 'skip'], jump: function(obj, first){ //原创 2020-05-19 11:03:34 · 213 阅读 · 0 评论 -
jquery ajax使用
$.ajax({ type:'get', contentType: "application/json", dateType: "json", url:'${path}/project/deleteProject?proId='+proId, success: function (res) { if (res.result == true && res.status == 200) { layer.o原创 2020-05-14 09:07:05 · 72 阅读 · 0 评论 -
layui弹出层
layer.open({ type: 1, title: "项目人员分配", area: ['50%', '70%'], //宽高 content: $("#proUsers").html(), btnAlign: 'c', //按钮居中 (l : 左),(r :右) btn: ["确认", "取消"], yes: function (index) {//按钮一回调 }, s.原创 2020-05-14 08:59:17 · 380 阅读 · 0 评论 -
Layui弹出框确定按钮自定义验证规则及监听提交
//1.form表单<div class="xd-temp-container layui-form layui-row have-must form"> <div class="item" style="display: none"> <label class="layui-form-label">编号:</label> <...原创 2020-05-07 08:52:07 · 2523 阅读 · 0 评论