摘要: 1 //监听div大小变化 2 (function($, h, c) { 3 var a = $([]), 4 e = $.resize = $.extend($.resize, {}), 5 i, 6 k = "setTimeout", 7 j = "resize", 8 d = j + "-sp 阅读全文
posted @ 2020-12-22 18:37 petrolero 阅读(2936) 评论(2) 推荐(1) 编辑
摘要: https://blog.csdn.net/u012775558/article/details/79678701 非常好用!!! 阅读全文
posted @ 2020-12-16 17:12 petrolero 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 1 change(limit){ 2 var size = ""; 3 if(limit < 0.1 * 1024){ //小于0.1KB,则转化成B 4 size = limit.toFixed(2) + "B" 5 }else if(limit < 0.1 * 1024 * 1024){ //小 阅读全文
posted @ 2020-06-10 10:11 petrolero 阅读(1417) 评论(0) 推荐(0) 编辑
摘要: $(".zzjgLd422 a").click(function (e)){ /*一系列操作*/ e.stopPropagation(); $("#grxxhtml").("click",function(e){ e.stopPropagation(); }); $("body").one("cli 阅读全文
posted @ 2020-05-09 12:02 petrolero 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 新建的任务名称是中文,F12显示也是中文,然而在control层打断点,显示接收的参数是乱码,存入数据库的也是乱码.后来,在control层加了一个转码的语句: String taskName1 = new String(taskName.getBytes("ISO8859-1"), "utf-8" 阅读全文
posted @ 2020-04-29 10:23 petrolero 阅读(2303) 评论(0) 推荐(0) 编辑
摘要: https://zhidao.baidu.com/question/263985796194966205.html 阅读全文
posted @ 2020-04-28 19:16 petrolero 阅读(685) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <style> .box{width:100px;height:200px;background:orange;border: 阅读全文
posted @ 2020-04-28 19:14 petrolero 阅读(8628) 评论(0) 推荐(0) 编辑
摘要: maven 命令的格式为 mvn [plugin-name]:[goal-name],可以接受的参数如下。 -D 指定参数,如 -Dmaven.test.skip=true 跳过单元测试; -P 指定 Profile 配置,可以用于区分环境; -e 显示maven运行出错的信息; -o 离线执行命令 阅读全文
posted @ 2020-04-20 18:16 petrolero 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1. maven依赖 <dependency> <groupId>bcprov</groupId> <artifactId>bcprov</artifactId> <version>1.0</version> </dependency> 2. DES加密解密工具类 package com.eongb 阅读全文
posted @ 2020-03-21 16:13 petrolero 阅读(1584) 评论(0) 推荐(0) 编辑
摘要: 1. maven依赖 <dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.1.0</version> </dependency> <dependency> <groupId 阅读全文
posted @ 2020-03-21 16:02 petrolero 阅读(1167) 评论(1) 推荐(0) 编辑