上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 在layui中两个或两个以上的弹出层,覆盖前一个弹出层(置顶弹出)用parent.layer.open 1 parent.layer.open({ 2 type : 2, 3 title : '详情', 4 area : ['580px','505px' ], //宽高 5 closeBtn : 1 阅读全文
posted @ 2020-01-17 09:46 微光半夏星 阅读(967) 评论(0) 推荐(0) 编辑
摘要: html部分: 1 <div contenteditable="true" class="rich-editor-content"><p><font face="&quot;Times New Roman&quot;"><font style="font-size: 10pt;"><font col 阅读全文
posted @ 2020-01-16 10:48 微光半夏星 阅读(767) 评论(0) 推荐(0) 编辑
摘要: html部分: 1 for(var i = 0; i<chList.length; i++){ 2 $(".modal-body ul").append("<li class='rowWrap item' >" + 3 "<input class='chooseInput' type='checkb 阅读全文
posted @ 2019-12-30 16:20 微光半夏星 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 取父窗口的元素方法:$(selector, window.parent.document);那么你取父窗口的父窗口的元素就可以用:$(selector, window.parent.parent.document);类似的,取其它窗口的方法大同小异 1 $(selector, window.top. 阅读全文
posted @ 2019-12-25 13:30 微光半夏星 阅读(6085) 评论(0) 推荐(0) 编辑
摘要: 1 禁止滚轮: 2 $(document).bind('mousewheel', function(event, delta) { return false; }); 3 4 启用滚轮: 5 $(document).unbind('mousewheel'); 阅读全文
posted @ 2019-12-12 11:54 微光半夏星 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 一 常规写法: 1 var intro = introJs(); 2 intro.setOptions({ 3 steps:[ 4 { 5 element:"#step_oneHidHasRec", 6 intro:"点击此处可查看详细的样品信息", 7 }, 8 { 9 element:"#ste 阅读全文
posted @ 2019-12-03 10:28 微光半夏星 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://github.com/usablica/intro.js/tags 演示地址:http://usablica.github.io/intro.js/example/index.html 首先引入样式表和js文件,min在minified文件夹中。 1 <link href= 阅读全文
posted @ 2019-12-03 09:54 微光半夏星 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.pianshen.com/article/9144689534/ 在Antd中尝试写了一下, 感觉还可以, 配合后端来判断是否是新用户从而可以对新用户进行引导操作. 效果: IntroJs引导步骤 给用户提示或介绍如何操作 何时使用 用户初次使用时 如何使用 npm 阅读全文
posted @ 2019-11-27 10:05 微光半夏星 阅读(3597) 评论(0) 推荐(0) 编辑
摘要: 本文链接:https://blog.csdn.net/lzq_20150715/article/details/89435203 1 introJs().setOptions({ 2 prevLabel:"", //上一步骤按钮的文字 3 nextLabel:"", //下一步骤按钮的文字 4 sk 阅读全文
posted @ 2019-11-26 11:40 微光半夏星 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 本文链接:https://blog.csdn.net/TomorrowAndTuture/article/details/84790947Python的for循环相比其他语言而言更加简单,比如经常会有如下这样类似的例子。我们可以直接对列表进行遍历,获取列表的某个元素,并对这个元素进行相应的操作。 1 阅读全文
posted @ 2019-11-21 13:24 微光半夏星 阅读(6989) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页