摘要: config.js let url_config = "" if (process.env.NODE_ENV 'development') { // 开发环境 url_config = ''} else { // 生产环境 url_config = ''} export default url_co 阅读全文
posted @ 2020-12-10 15:01 nie_pengcheng 阅读(312) 评论(0) 推荐(0) 编辑
摘要: background: -webkit-linear-gradient(left, #2745a2 , #4ab5dd); background: -o-linear-gradient(right, #2745a2, #4ab5dd); background: -moz-linear-gradien 阅读全文
posted @ 2019-09-24 17:27 nie_pengcheng 阅读(259) 评论(0) 推荐(0) 编辑
摘要: var pageNum = 1;var isScroll = true;var loading_hint = $('<div class="loading-hint">暂无更多数据...</div>');$(window).scroll(function(e) { var scrollTop = $ 阅读全文
posted @ 2019-03-28 17:36 nie_pengcheng 阅读(444) 评论(0) 推荐(0) 编辑
摘要: /* 重写 checkbox 样式 */ /* 未选中的 背景样式 */ checkbox .wx-checkbox-input{ border-radius: 50%;/* 圆角 */ width: 40rpx; /* 背景的宽 */ height: 40rpx; /* 背景的高 */ } /* 阅读全文
posted @ 2019-03-06 13:48 nie_pengcheng 阅读(2899) 评论(1) 推荐(0) 编辑
摘要: html,body{-webkit-text-size-adjust: 100%;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);} 阅读全文
posted @ 2019-01-13 16:41 nie_pengcheng 阅读(613) 评论(0) 推荐(0) 编辑
摘要: $("body,html").on("click",function (e) { let type = e.target; if(type.className != "header-menu" && type.parentNode.className != "header-menu"){ $(".t 阅读全文
posted @ 2019-01-07 16:58 nie_pengcheng 阅读(192) 评论(0) 推荐(0) 编辑
摘要: <meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="email=no" /> <meta name="apple-mobile-web-app-capable" 阅读全文
posted @ 2019-01-03 13:36 nie_pengcheng 阅读(177) 评论(0) 推荐(0) 编辑
摘要: <link rel="icon" href="/image/favicon.ico" type="img/x-ico" /> 阅读全文
posted @ 2018-12-29 11:44 nie_pengcheng 阅读(317) 评论(0) 推荐(0) 编辑
摘要: function getUrlPar(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var url = decodeURI(decodeURI(window.location.search)) var r = 阅读全文
posted @ 2018-12-28 17:34 nie_pengcheng 阅读(287) 评论(0) 推荐(0) 编辑
摘要: word-break:break-all;只对英文起作用,以字母作为换行依据 word-wrap:break-word; 只对英文起作用,以单词作为换行依据 white-space:pre-wrap; 只对中文起作用,强制换行 white-space:nowrap; 强制不换行,都起作用 white 阅读全文
posted @ 2018-12-14 15:02 nie_pengcheng 阅读(570) 评论(0) 推荐(0) 编辑