摘要: //驼峰转下划线 function humpToUnderline(str){ return str.replace(/([A-Z])/g,"_$1").toLowerCase() } //下划线转驼峰 function toCamel(str){ return str.replace(/([^_] 阅读全文
posted @ 2021-06-28 17:26 敲敲碰碰 阅读(221) 评论(1) 推荐(0) 编辑
摘要: url: https://www.baidu.com?test=111 let url = new URL(window.location.href);let parameterZ = url.searchParams.get("test");console.log(parameterZ); // 阅读全文
posted @ 2021-06-28 10:39 敲敲碰碰 阅读(603) 评论(0) 推荐(0) 编辑
摘要: box-shadow: 0 0 20px 0 #ffff8d,0 0 0 2px #ffd180,0 0 0 2000px rgba(0,0,0,.2)!important; 效果: 阅读全文
posted @ 2021-06-28 10:31 敲敲碰碰 阅读(76) 评论(0) 推荐(0) 编辑