Magicodes.IE 2.0发布 Magicodes.IE是我们维护的开源的导入导出通用库,去年年底已加入NCC开源组织。 Github地址:https://github.com/xin-lai/Magicodes.IE Magicodes.IE不是一蹴而就,而是根据实际需求不断迭代出来的,而且 ...
分类:
其他好文 时间:
2020-02-12 14:33:13
阅读次数:
59
jQuery 选择器 选择器实例选取 * $("*") 所有元素 #id $("#lastname") id="lastname" 的元素 .class $(".intro") 所有 class="intro" 的元素 element $("p") 所有 <p> 元素 .class.class $( ...
分类:
Web程序 时间:
2020-02-12 13:13:21
阅读次数:
88
.el-form-item--small .el-form-item__error { margin-top: 2px; } .el-form-item__error { position: absolute !important; top:16px; text-align: center; bac ...
分类:
其他好文 时间:
2020-02-12 11:07:45
阅读次数:
62
选择器例子例子描述CSS .class .intro 选择 class="intro" 的所有元素。 1 #id #firstname 选择 id="firstname" 的所有元素。 1 * * 选择所有元素。 2 element p 选择所有 <p> 元素。 1 element,element ...
分类:
Web程序 时间:
2020-02-12 00:53:26
阅读次数:
113
给出一个区间的集合,请合并所有重叠的区间。 示例 1: 输入: [[1,3],[2,6],[8,10],[15,18]] 输出: [[1,6],[8,10],[15,18]] 解释: 区间 [1,3] 和 [2,6] 重叠, 将它们合并为 [1,6]. 示例?2: 输入: [[1,4],[4,5]] ...
分类:
其他好文 时间:
2020-02-12 00:53:10
阅读次数:
66
捣鼓了好长时间;总结如下几个注意点 1.重写样式要加(>>>或者/deep/),不然不会生效 2.th ,tr都有背景颜色,都要重写, 废话不多说,粘贴代码: <template> <div class="table-wrapper"> <template> <el-table :row-style ...
分类:
其他好文 时间:
2020-02-11 18:58:35
阅读次数:
2338
A. Non zero Description: Guy Manuel and Thomas have an array $a$ of $n$ integers [$a_1, a_2, \dots, a_n$]. In one step they can add $1$ to any element ...
分类:
其他好文 时间:
2020-02-10 22:25:52
阅读次数:
87
一、console.table()可以表格的形式直观输出结构复杂的数据 二、console.dir()/dir()可以输出一个对象的所有对象属性 三、console.count()可以用来记录函数的调用次数 四、console.profile()可以用来记录性能数据 五、console.time() ...
分类:
其他好文 时间:
2020-02-10 19:50:48
阅读次数:
82
1、元素渲染 想要将一个 React 元素渲染到根 DOM 节点中,只需把它们一起传入 ReactDOM.render(): const element = <h1>Hello, world</h1>; ReactDOM.render(element, document.getElementById ...
分类:
Web程序 时间:
2020-02-10 18:28:26
阅读次数:
96
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title></title> <style type="text/css"> input { width: 60px; } div { margin: 10px 0 } </style> <scr ...
分类:
其他好文 时间:
2020-02-10 18:15:41
阅读次数:
68