- 博客(6)
- 资源 (3)
- 收藏
- 关注
原创 css将网站页面变灰
/* 页面变灰 */body { filter: gray !important; filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter...
2020-04-10 20:37:17
146
原创 vue列表获取勾选的内容并打印
先将勾选的内容通过弹出层显示出来showPrintData: function() { var id = this.checkedList[0].id; axios.post(this.$api.contentGet, { id: id }).then(res => { this.contentTxt = res.body.txt; this.dialogFormVisi...
2019-09-26 15:15:04
1711
原创 jxl根据实体类注解导出excel工具类
工具类import java.io.FileInputStream;import java.io.InputStream;import java.io.OutputStream;import java.lang.reflect.Field;import java.util.ArrayList;import java.util.Comparator;import java.uti...
2019-05-28 11:34:57
412
原创 css怎么去掉select的下拉箭头样式
select { /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/ border: solid 1px #000; /*很关键:将默认的select选择框样式清除*/ appearance:none; -moz-appearance:none; -webkit-appearance:none;...
2019-05-28 11:00:27
1446
原创 java将list转为树形结构
1、通过转化成json封装数据[ { "name":"甘肃省", "pid":0, "id":1 }, { "name":"天水市", "pid":1, "id":2 }, { "name":"秦州区", "pid":2, ...
2019-05-24 15:38:57
5619
原创 input属性为numbe时maxlength不起作用解决方案
<input type="text" maxlength="5" />没问题当<input type="number" maxlength="5" />时maxlength失效,长度可以无限输入。解放方案:<input type="number" oninput="if(value.length>5)value=value.slice(0,5...
2019-05-17 14:29:50
1708
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人