摘要: <template> <view class="houssel"> <view class="padd23"> <view class="housemsg"> <view class="detail bgwhite"> <view class="PingFangSCBold title">待缴费明细 阅读全文
posted @ 2021-05-16 18:24 Monroe_Yu 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: WeixinJSBridge.invoke('getBrandWCPayRequest', { "appId": appId, //公众号名称,由商户传入 "timeStamp": timeStamp, //时间戳 "nonceStr": nonceStr, //随机串 "package": pac 阅读全文
posted @ 2021-04-09 22:17 Monroe_Yu 阅读(1912) 评论(1) 推荐(0) 编辑
摘要: var window_h=function(element,height){ var element=document.getElementsByClassName(element); for(let i=0;i<element.length;i++){ element[i].style.heigh 阅读全文
posted @ 2020-12-23 10:17 Monroe_Yu 阅读(216) 评论(0) 推荐(0) 编辑
摘要: array();function array(){ let arr =[]; $(".item .title").each(function () { let content = $(this).innerHeight(); arr.push(content); }); let max_height 阅读全文
posted @ 2019-12-06 20:11 Monroe_Yu 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 最近项目上遇到在微信小程序里需要显示新闻内容,新闻内容是通过接口读取的服务器中的富文本内容,是html格式的,小程序默认是不支持html格式的内容显示的,那我们需要显示html内容的时候,就可以通过wxParse来实现。 首先我们在github上下载wxParse icindy/wxParse wx 阅读全文
posted @ 2019-11-12 12:09 Monroe_Yu 阅读(2070) 评论(0) 推荐(0) 编辑
摘要: function printme() { //printMain为要打印的dom元素 window.document.body.innerHTML = document.getElementById('printMain').innerHTML; window.print(); // 还原界面 va 阅读全文
posted @ 2018-02-23 17:57 Monroe_Yu 阅读(226) 评论(0) 推荐(0) 编辑
摘要: var rows = 15;$(window).scroll(function(){ var scrollTop = $(this).scrollTop(); var scrollHeight = $(document).height(); var windowHeight = $(this).he 阅读全文
posted @ 2018-01-26 10:01 Monroe_Yu 阅读(106) 评论(0) 推荐(0) 编辑
摘要: function isIe(){ if (!!window.ActiveXObject || "ActiveXObject" in window){ //是 mui. alert("是IE!"); }else{ //不是 mui.alert("不是IE!"); } } isIe(); 阅读全文
posted @ 2017-12-07 10:39 Monroe_Yu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: /** * 工具类 */var Utils = { /** * 获得查询参数 */ getQueryString: function(name) { var search = location.search; if(!search) { return null; } var reg = new Re 阅读全文
posted @ 2017-11-28 14:37 Monroe_Yu 阅读(289) 评论(0) 推荐(0) 编辑
摘要: /*点击复制*/ $(".copycode").delegate("img","click",function(){ var password = $(this).parent().parent().find("#password"); password.select(); // 选择对象 docu 阅读全文
posted @ 2017-11-24 18:19 Monroe_Yu 阅读(366) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示