07 2020 档案

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-07-31 17:19 张小中 阅读(611) 评论(0) 推荐(0) 编辑
摘要:function getUrlParams(name) { var url = window.location.search; if (url.indexOf('?') == 1) { return false; } url = url.substr(1); url = url.split('&') 阅读全文
posted @ 2020-07-24 10:26 张小中 阅读(117) 评论(0) 推荐(0) 编辑
摘要:jQuery.parent(expr) //找父元素 jQuery.parents(expr) //找到所有祖先元素,不限于父元素 jQuery.children(expr) //查找所有子元素,只会找到直接的孩子节点,不会返回所有子孙 jQuery.contents() //查找下面的所有内容,包 阅读全文
posted @ 2020-07-23 14:29 张小中 阅读(312) 评论(0) 推荐(1) 编辑
摘要:两行css如下: <style scoped> .waterfall-container { /*分几列*/ column-count: 2; } .waterfall-item { /*不留白,不知道什么意思可以取消这个样式试试*/ break-inside: avoid; }</style> / 阅读全文
posted @ 2020-07-03 14:07 张小中 阅读(208) 评论(0) 推荐(0) 编辑
摘要://拷贝电话号码 function copyPhone(tel){ var strHtml = ` <div class="tanbg" style="position: fixed;top:0;left:0;right:0;bottom:0;background: rgba(0, 0, 0, 0. 阅读全文
posted @ 2020-07-03 09:32 张小中 阅读(213) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示