1.nav一块,内容一块 // 第一个tab切换 $('.QQnav li').click(function(){ $(this).addClass('on').siblings().removeClass('on').parents('ul').next().find('.QQ').eq($(th ...
分类:
其他好文 时间:
2020-06-23 15:15:17
阅读次数:
64
总结:throw 是在方法中抛出一个异常,不能单独使用 。 throws是在方法定义处或者类定义处声明该类或方法可能产生的异常,(一个或者多个). 也可以理解为将方法内部异常不处理直接抛出,让调用处去处理。 throwable 是所有错误和异常的超类,所以当不知道要产生的异常是什么类型时候,直接th ...
分类:
其他好文 时间:
2020-06-21 22:56:11
阅读次数:
55
Remove Nth Node From End of List (M) 题目 Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked list ...
分类:
其他好文 时间:
2020-06-21 10:15:33
阅读次数:
51
// change事件 $('input[type=radio][name=type]').change(function () { if (this.value == '1') { $('.jump-item').show(); } else if (this.value == '2' || th ...
分类:
Web程序 时间:
2020-06-20 16:10:28
阅读次数:
177
1.表格高度: 在el-table标签里增加一个类名classA,然后写css样式: .classA th,.classA td{ padding:0!important; height:20px;//需要的高度 line-height:20px; } 2.表头固定,表身超过高度自动滚动 直接在el ...
分类:
其他好文 时间:
2020-06-19 21:24:58
阅读次数:
241
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:
系统相关 时间:
2020-06-18 19:16:06
阅读次数:
459
1、定义节点类、设置节点、遍历输出 class Node{ private String data; private Node next; public Node(String data){ this.data = data; } public String getData(){ return th ...
分类:
编程语言 时间:
2020-06-18 13:25:00
阅读次数:
52
Given the array candies and the integer extraCandies, where candies[i] represents the number of candies that the ith kid has. For each kid check if th ...
分类:
其他好文 时间:
2020-06-18 13:17:39
阅读次数:
65
题意: 输入一个正整数N(<=20),接着输入N行每行包括一个正整数Z(10<=Z<=2^31),Z的数字位数保证是偶数,把Z从中间一切为二,两个整数的乘积如果是Z的因数,输出Yes,否则输出No。 trick: 当两个数乘积为0时需要特判,否则数据点2和3会出现浮点错误。 AAAAAccepted ...
分类:
其他好文 时间:
2020-06-17 12:48:33
阅读次数:
50
bootstraptable通过数据属性或javascript以表格格式显示数据 通过数据属性(把数据写死) <table data-toggle="table"> <thead> <tr> <th>Item ID</th> <th>Item Name</th> <th>Item Price</th ...
分类:
编程语言 时间:
2020-06-17 01:13:40
阅读次数:
58