![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
小旋风-java
这个作者很懒,什么都没留下…
展开
-
遮罩层有滚动条的情况下覆盖全屏
本用position:absolute;页面滚动遮罩层不会覆盖下方内容,换成position:fixed;就可以解决问题了。.mask {position: fixed;z-index: 99;top: 0;bottom: 0;left: 0;right: 0;width: 100%;height: 100%;overflow: auto;backdrop-filter: blur(10px);opacity: 0.4;background: #000;}...转载 2020-08-02 14:33:04 · 1368 阅读 · 1 评论 -
loading
http://www.lovewebgames.com/jsmodule/loading.html转载 2020-08-02 14:31:06 · 117 阅读 · 0 评论 -
js 给serialize对象添加元素
var longTermValue=$("#longTerm").val(); var data = $.param({ "longTerm" : longTermValue }) + "&" +$('#merchantForm').serialize(); //下面使用data var action_url = '<@c.u...原创 2020-04-03 17:47:14 · 1540 阅读 · 0 评论 -
JS date格式化
Date.prototype.Format = function (fmt) { //author: meizz "use strict"; // jshint ;_; var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), ...原创 2019-11-11 15:48:54 · 1214 阅读 · 0 评论 -
JS 统计字符串
function getLength(val) { var str = new String(val); var bytesCount = 0; for (var i = 0 ,n = str.length; i < n; i++) { var c = str.charCodeAt(i); if ((c >= 0x0001 &&a...原创 2019-11-05 14:23:21 · 671 阅读 · 0 评论 -
JS 统计字符
var str = $(‘id_content’).value.replace(/\r\n/g, “\n”);var length = t_str.length原创 2019-11-05 14:08:01 · 192 阅读 · 0 评论 -
td内内容进行换行方法
td{width : 18% ;word-break : break-all;}原创 2019-11-04 14:25:50 · 5826 阅读 · 0 评论 -
WdatePicker使用方法
转载:https://www.cnblogs.com/goloving/p/7163697.html只需要引入js文件即可:自己试了个小实例:复制代码<!doctype html> 会员名: 出生日期: 复制代码 其中class="Wdate"加与不加,会在页面上有所差异,加上class的如图示会有个时间的小图...转载 2019-08-14 13:51:33 · 5403 阅读 · 0 评论 -
table嵌套table
以下由驾驶员填写 住址 住址2 联系电话 ...原创 2019-08-12 11:40:18 · 5336 阅读 · 0 评论