会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
KeepSmiling_me
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
2020年5月25日
【HTML+CSS】纯CSS设置checkbox大小和样式 附Radio的去除默认样式和自定义样式
摘要: <div class="check-item"> <input type="checkbox" class="check-item-in" id="checkbox3">正常复选框 <label for="checkbox3"></label> </div> <div class="check-it
阅读全文
posted @ 2020-05-25 13:36 KeepSmiling_me
阅读(676)
评论(0)
推荐(0)
2020年5月4日
jquery根据属性查询元素
摘要: 1.查找所有含有 id 属性的 div 元素 <div> <p>Hello!</p> </div> <div id="test2"></div> jquery代码:$("div[id]") 2.查找所有 name 属性是 newsletter 的 input 元素 <input type="chec
阅读全文
posted @ 2020-05-04 16:06 KeepSmiling_me
阅读(996)
评论(0)
推荐(0)
2020年4月22日
获取当前日期的前n天或后n天
摘要: function GetDateStr(AddDayCount) { var dd = new Date(); dd.setDate(dd.getDate()+AddDayCount);//获取AddDayCount天后的日期 var y = dd.getFullYear(); var m = (d
阅读全文
posted @ 2020-04-22 11:00 KeepSmiling_me
阅读(437)
评论(0)
推荐(0)
2020年4月21日
Mybatis 中的insertOrUpdate操作
摘要: <insert id="insertOrUpdate"> insert into base_person (pname, idcard, gender, nation, source_flag, create_time) values <foreach collection="list" item=
阅读全文
posted @ 2020-04-21 14:25 KeepSmiling_me
阅读(4177)
评论(0)
推荐(0)
2020年4月16日
layui在窗口返回登录页面
摘要: $(function(){ if (top != window){ top.location.href = window.location.href; } }) 在登录页面添加
阅读全文
posted @ 2020-04-16 18:11 KeepSmiling_me
阅读(766)
评论(0)
推荐(0)
springBoot拦截器的配置
摘要: package com.zhk.demo.interceptor; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; impo
阅读全文
posted @ 2020-04-16 11:03 KeepSmiling_me
阅读(226)
评论(0)
推荐(0)
springBoot中判断请求是否为AJAX请求
摘要: String requestedWith = ((HttpServletRequest) request).getHeader("X-Requested-With"); if (request.getHeader("x-requested-with") != null && request.getH
阅读全文
posted @ 2020-04-16 10:45 KeepSmiling_me
阅读(2617)
评论(0)
推荐(0)
2020年4月14日
利用BeanMap进行对象与Map的相互转换
摘要: javabean与map的转换有很多种方式,比如: 1、通过ObjectMapper先将bean转换为json,再将json转换为map,但是这种方法比较绕,且效率很低,经测试,循环转换10000个bean,就需要12秒!!!不推荐使用 2、通过java反射,获取bean类的属性和值,再转换到map
阅读全文
posted @ 2020-04-14 10:22 KeepSmiling_me
阅读(2418)
评论(0)
推荐(0)
2020年1月6日
微信公众号侧滑按钮
摘要: 侧滑按钮样式 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, u
阅读全文
posted @ 2020-01-06 15:51 KeepSmiling_me
阅读(287)
评论(0)
推荐(0)
2020年1月2日
WangEditor的使用
摘要: 富文本编辑器 WangEditor的使用 1.首先引入jar wangEditor.js 2.初始化wangEditor var E = window.wangEditor editor = new E('#notContect') editor.customConfig.uploadImgServ
阅读全文
posted @ 2020-01-02 12:54 KeepSmiling_me
阅读(275)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
公告
点击右上角即可分享