随笔分类 -  技术分享

工匠精神
摘要:样式 .weekday{ /* display: flex; */ border-left: 1px solid #ddd; border-top: 1px solid #ddd; list-style: none; margin: 0; padding: 0; width: 427px; over 阅读全文
posted @ 2021-02-03 11:43 教父123 阅读(106) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/liuyuqin1991/article/details/74980616 原文地址 阅读全文
posted @ 2018-03-16 14:50 教父123 阅读(5512) 评论(0) 推荐(0) 编辑
摘要://设为盒子模型 主轴上子元素排列布局space-between .newAdd_wrap>.add_left, .acif_left, .part_left { display: flex; justify-content: space-between; //设为盒子模型 主轴上子元素排列布局sp 阅读全文
posted @ 2018-03-14 10:40 教父123 阅读(139) 评论(0) 推荐(0) 编辑
摘要://百分率排序 jQuery.fn.dataTableExt.oSort['number-fate-asc'] = function(s1,s2) { s1 = s1.replace('%',''); s2 = s2.replace('%',''); return s1-s2; }; jQuery.fn.dataTableExt.oSort... 阅读全文
posted @ 2017-10-09 14:25 教父123 阅读(423) 评论(0) 推荐(0) 编辑
摘要:@media screen and (min-width:1080px) and (max-width:1200px){} //当screen宽度在1080 --1200之间时执行大括号里面代码 使用流程: 加载兼容文件JS 因为IE8既不支持HTML5也不支持CSS3 Media,所以我们需要加载 阅读全文
posted @ 2017-09-28 10:25 教父123 阅读(138) 评论(0) 推荐(0) 编辑
摘要:/*点击虚机详情和关联订单切换*/ $('.newTap>span').click(function(){ $('#twoPage').css('display','none') $('#fourPage').css('display','none') $("#relevanc... 阅读全文
posted @ 2017-09-22 17:07 教父123 阅读(896) 评论(0) 推荐(0) 编辑
摘要://全选 $(document).on('click','#allCheck',function(e){ statusChioceRemove();//移除status列表 if(this.checked==false){ // this.checked = false; $('#ding_table>tbody>tr>td>inp... 阅读全文
posted @ 2017-09-22 17:02 教父123 阅读(248) 评论(0) 推荐(0) 编辑
摘要:总条数: 总页数: ... 阅读全文
posted @ 2017-09-22 16:58 教父123 阅读(180) 评论(0) 推荐(0) 编辑
摘要:function selectInt(url,id,type,par,defalutValue, params){ $(id).empty(); $.ajax({ url:url, //url:'/api/rds/applyAuthForRds', dataType: 'json', ... 阅读全文
posted @ 2017-09-22 16:47 教父123 阅读(273) 评论(0) 推荐(0) 编辑
摘要:sessionStorage.removeItem('times'); var ding_pageSize = 10;//切换每页显示条数 function exportExcle(url){ $.ajax({ 'type':'get', 'url':url, "dataType":'json', ... 阅读全文
posted @ 2017-09-22 16:40 教父123 阅读(1776) 评论(0) 推荐(0) 编辑
摘要://初始化 var now = $.now(); var lastTime = now - 3600000 * 24*30;// 最近3小时 //var nowDate = new Date(now).format("yyyy-MM-dd HH:mm:ss"); var nowDate = new Date(now).format("yyyy-MM... 阅读全文
posted @ 2017-09-22 16:36 教父123 阅读(248) 评论(0) 推荐(0) 编辑
摘要:× JSON查看 ... 阅读全文
posted @ 2017-09-22 16:32 教父123 阅读(520) 评论(0) 推荐(0) 编辑
摘要:$('#deal_process_modal').modal({backdrop: 'static'}); $('#deal_process_modal').modal('hide'); 阅读全文
posted @ 2017-09-22 16:27 教父123 阅读(138) 评论(0) 推荐(0) 编辑
摘要:function setTips(that,title){ var pos = getPos(that); var maxWidth = 0 ; var minWidth = 0 ; var sreenX = window.innerWidth; var sreenY = window.innerH 阅读全文
posted @ 2017-09-18 11:42 教父123 阅读(448) 评论(0) 推荐(0) 编辑
摘要:background-image: radial-gradient(circle,rgba(5,32,82,0.9),rgba(6,13,29,1.0)); 元素中心向四周渐变 background-image: linear-gradient(to right,red 0% ,green 20%, 阅读全文
posted @ 2017-09-14 10:11 教父123 阅读(214) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8" /> <title>JQuery JSONView</title> <link rel="stylesheet" href="jquery.jsonview.css" /> < 阅读全文
posted @ 2017-08-06 18:41 教父123 阅读(274) 评论(0) 推荐(0) 编辑
摘要:if(defalutValue ''){ $(id).val(["无"]).select2(); }else{ $(id).val([defalutValue]).select2(); } 阅读全文
posted @ 2017-08-06 18:32 教父123 阅读(957) 评论(0) 推荐(0) 编辑
摘要:$('#qrCode').click(function(e){ $('#myFile').click(); e.stopPropagation(); $('#qrCode').unbind("click"); //移除click return false; }); var container = d 阅读全文
posted @ 2017-08-06 18:29 教父123 阅读(173) 评论(0) 推荐(0) 编辑
摘要:引入: <script src="../styles/js/plugins/zeroclipboard/ZeroClipboard.min.js"></script> //复制整行数据:function copyDataByZeroClipboard() { var cellClick = new 阅读全文
posted @ 2017-08-06 18:18 教父123 阅读(199) 评论(0) 推荐(0) 编辑
摘要:var setting = { view: { selectedMulti: false }, check: { enable: true //初始化树function treeInt(){ $('#treeDemo').empty(); $.ajax({ type:"get",// url:"/s 阅读全文
posted @ 2017-08-06 18:01 教父123 阅读(196) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示