摘要: transparent属性用来指定全透明色彩 阅读全文
posted @ 2019-06-03 17:34 听风者丶 阅读(383) 评论(0) 推荐(0) 编辑
摘要: var pi = tw.system.findProcessInstanceByID("158");for(var i=0; i<pi.tasks.length; i++) { var subjectPrefix = pi.tasks[i].subject.indexOf("承办", 0); if( 阅读全文
posted @ 2019-05-30 17:43 听风者丶 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 生成绝对定位的元素,相对于 static 定位以外的第一个父元素进行定位。 元素的位置通过 "left", "top", "right" 以及 "bottom" 属性进行规定。 生成绝对定位的元素,相对于浏览器窗口进行定位。 元素的位置通过 "left", "top", "right" 以及 "bo 阅读全文
posted @ 2019-05-30 10:25 听风者丶 阅读(289) 评论(0) 推荐(0) 编辑
摘要: //单击隐藏历史查询记录(单击搜索框和删除记录显示)$(document).on("click", function($event) { var d = $event.target.className; if(d && (d.indexOf('search',0)!=-1 || d.indexOf('icon-chahao',0)!=-1)){ $(".record... 阅读全文
posted @ 2019-05-30 10:20 听风者丶 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Restrictions.like("字段field","%表达式exp%");用hql语句就是 from table where field like '%exp%'; 阅读全文
posted @ 2019-05-29 17:32 听风者丶 阅读(582) 评论(0) 推荐(0) 编辑
摘要: //插入查询记录function insertHistoryRecord() { var getRecord = window.localStorage.getItem("record" + $rootScope.userInfo.id); var recordArr = []; if (getRe 阅读全文
posted @ 2019-05-29 15:08 听风者丶 阅读(325) 评论(0) 推荐(0) 编辑
摘要: //给数组增加indexOf函数Array.prototype.indexOf = function(val) { for (var i = 0; i < this.length; i++) { if (this[i] == val) return i; } return -1;};//给数组增加r 阅读全文
posted @ 2019-05-29 15:07 听风者丶 阅读(222) 评论(0) 推荐(0) 编辑
摘要: $('.hbox > .panel-body', $element).css('height', 100); 阅读全文
posted @ 2019-05-29 15:06 听风者丶 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 它可以应用于任何CSS属性,包括CSS简写 all。 对于继承属性,inherit 关键字只是增强了属性的默认行为,只有在重载(overload)其它规则的时候被使用。对于非继承属性,inherit 这指定的行为通常没有多大意义,一般使用使用 initial或 unset 作为替代。 继承始终来自文 阅读全文
posted @ 2019-05-28 14:28 听风者丶 阅读(203) 评论(0) 推荐(0) 编辑
摘要: function getUrlString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r 阅读全文
posted @ 2019-05-27 17:06 听风者丶 阅读(212) 评论(0) 推荐(0) 编辑