![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
layui
贼猫子
这个作者很懒,什么都没留下…
展开
-
layui自定义时间框之选取周区间
html: <input type="text" id="date1" name="date1" lay-verify="date1" class="layui-input test-item" style="width:200px;" value=""/> js: var max;原创 2018-11-29 17:45:36 · 5921 阅读 · 0 评论 -
ueditor与wangEditor,配合layer使用记录
因为项目需要富文本编辑器,所以ueditor跟wangEditor都用了; wangEditor链接:http://www.wangeditor.com/ ueditor:https://ueditor.baidu.com/website/onlinedemo.html 比较之下,虽然ueditor功能更为强大,但是wangEditor轻量、简洁、易上手,最重要的是轻量、易上手,只需要引入它...原创 2019-04-30 17:24:19 · 1237 阅读 · 0 评论 -
layui弹窗表格数据获取,回显
情景: 有a页面,a页面中有新增按钮,点击新增按钮,弹出layui弹窗,弹窗为表格数据,勾选表格数据,确认后将勾选的数据回显在a页面,再点击新增,默认勾选刚才回显的数据。(a页面不调任何接口请求) 1、回显在a页面 在弹窗的yes回调中将数据传出去(tableData是在a页面定义的全局,a页面的表格数据,checkTable1为弹层页的表格id) 2、默认勾选 先在弹窗的suc...原创 2019-06-14 10:33:57 · 9554 阅读 · 1 评论