上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 一.传递数据 1.props 传入单数据就像 data 一样,prop 可以用在模板内,同样也可以在 vm 实例中像“this.message”这样使用 1 <template> 2 <div id="app"> 3 <h1>{{title}}</h1> 4 <child message="hell 阅读全文
posted @ 2020-06-18 11:57 微光半夏星 阅读(1596) 评论(0) 推荐(0) 编辑
摘要: 1 let protocalNum = []; 2 //数组循环 3 sampleList.cbpiList.forEach((item,index) => { 4 protocalNum.push(item.STR_BALANCE_CODE); 5 }); 6 /* 多条勾选打印结算单会出现重复的 阅读全文
posted @ 2020-06-04 09:46 微光半夏星 阅读(11334) 评论(0) 推荐(0) 编辑
摘要: //表格自动分页,下一页没页头、页脚、表头 LODOP.ADD_PRINT_HTM(10,"5%","90%","90%",document.getElementById("print").innerHTML); //表格自动分页,下一页有页头、页脚、表头 //内容 LODOP.ADD_PRINT_ 阅读全文
posted @ 2020-03-17 11:05 微光半夏星 阅读(2073) 评论(0) 推荐(0) 编辑
摘要: 1.鼠标经过时换色: 1 $("#table tr").hover(function(){ 2 $(this).children("td").addClass("on"); 3 },function(){ 4 $(this).children("td").removeClass("on") 5 }) 阅读全文
posted @ 2020-03-13 15:47 微光半夏星 阅读(1686) 评论(0) 推荐(0) 编辑
摘要: 代码片段如下: 1 @media (min-width:800px) and (min-height:400px){ 2 /*code*/ 3 } 上面代码表示当宽度大于等于800px且高度大于等于400px的时候应用相应的css代码。 再看看一下没有min或者max前缀的情况,代码如下: 1 @m 阅读全文
posted @ 2020-03-03 08:41 微光半夏星 阅读(4499) 评论(0) 推荐(0) 编辑
摘要: 1 let isAllComplete = $(".percent").toArray().every(function() { 2 return $(".percent").text '100%'; 3 }); 阅读全文
posted @ 2020-02-21 09:11 微光半夏星 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1、首先注册账号 2、登录之后进点击购买免费或者付费隧道(免费版的仅供测试,连接数一旦多起来会很卡,常用的用户可以购买付费版通道) 3、根据需要选择隧道协议,这里以web演示,购买隧道 4、本机建立web服务,如 nginx/apache/iis 等,默认80端口 小杰在这里推荐大家使用phpstu 阅读全文
posted @ 2020-02-18 11:00 微光半夏星 阅读(2583) 评论(0) 推荐(1) 编辑
摘要: 一、安装环境与安装包 操作系统:win10 MyEclipse2017 CI7下载地址: 链接: https://pan.baidu.com/s/1smEFb4mvGLbhrO95gMPYRA 密码: gmv5 MyEclipse2017 CI7破解包: 链接: https://pan.baidu. 阅读全文
posted @ 2020-02-13 14:33 微光半夏星 阅读(866) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 增加success回调及其内容 如下: 1 layer.open({ 2 title:'更新论坛信息', 3 type: 1, 4 skin: 'layui-layer-rim', 5 area: ['500px', '580px'], 6 content: $('#test11111' 阅读全文
posted @ 2020-02-11 11:54 微光半夏星 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 1 // 父页面获取子页面的iframe 2 var frameId = $(layero).find("iframe").attr('id'); 3 4 // 父页面获取子页面指定的id数据 5 var id = $(window.frames[frameId].document).find("# 阅读全文
posted @ 2020-01-17 10:20 微光半夏星 阅读(4895) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页