上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: ##通过git的命令可以统计自己在一段时间内的代码更改数量,具体代码如下: ###1) 根据用户名来统计 git log --author="username" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 阅读全文
posted @ 2022-09-17 14:26 strongerPian 阅读(500) 评论(0) 推荐(0) 编辑
摘要: var date = new Date().Format("yyyy-MM-dd hh:mm:ss"); Date.prototype.Format = function(fmt){ var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDa 阅读全文
posted @ 2022-08-19 16:20 strongerPian 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 最近用到bootstrap的告警框时发现只有html的说明,就自己写了一个弹出告警框和弹出短暂显示后上浮消失的告警框。 直接上JS代码了,可以copy过去直接用(使用bootstrap的UI框架的情况下) var commonUtil = { /** * 弹出消息框 * @param msg 消息内 阅读全文
posted @ 2022-08-03 17:54 strongerPian 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 1、首先引入相关css、js文件 1 <link rel="stylesheet" type="text/css" href="../css/bootstrapValidator.min.css" /> 2 <script src="../js/bootstrapValidator.min.js" 阅读全文
posted @ 2022-07-15 11:00 strongerPian 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 一.首先引入BootstrapValidator插件 BootstrapValidator插件需要jQuery和Bootstrap 3 引入js和css文件 1 <link rel="stylesheet" href="/path/to/bootstrap/css/bootstrap.css"/> 阅读全文
posted @ 2022-07-15 10:54 strongerPian 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 一、可选链操作符?. 可选链操作符?.允许读取位于连接对象链深处的属性值,而不必明确验证链中的每个引用是否有效。 let nestedProp = obj.first && obj.first.second; // 等价于 let nestedProp = obj.first?.second; js 阅读全文
posted @ 2022-07-13 15:02 strongerPian 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <meta name="viewport" 阅读全文
posted @ 2022-07-09 11:09 strongerPian 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 网页切换全屏(浏览器F11效果) 阅读全文
posted @ 2020-07-30 17:26 strongerPian 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 通过设置-webkit-line-clamp来控制显示行数 1 .desc { 2 font-size: 12px; 3 overflow: hidden; 4 text-overflow: ellipsis; 5 display: inline-block; 6 text-align: left; 阅读全文
posted @ 2020-07-30 10:24 strongerPian 阅读(177) 评论(0) 推荐(0) 编辑
摘要: element UI 在Table中插入图片, vue模糊查询 阅读全文
posted @ 2020-07-25 09:13 strongerPian 阅读(1004) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页
返回顶端