摘要: var imgurl = response.data; $(".codeimg").attr('src','data:image/png;base64,'+imgurl); var validate = response.validate; 阅读全文
posted @ 2017-11-20 12:24 Monroe_Yu 阅读(1527) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/wisewrong/article/details/55212684 阅读全文
posted @ 2017-11-16 14:56 Monroe_Yu 阅读(114) 评论(0) 推荐(0) 编辑
摘要: var money = one.money; var tmoney = money.substr(0,money.indexOf(".")+3); 阅读全文
posted @ 2017-11-11 11:10 Monroe_Yu 阅读(220) 评论(0) 推荐(0) 编辑
摘要: /*设置呼叫转移*/var ownerId = localStorage.getItem("ownerId"); var roomId = localStorage.getItem("roomId"); var ownerPhone = localStorage.getItem("ownerPhon 阅读全文
posted @ 2017-10-24 14:29 Monroe_Yu 阅读(195) 评论(0) 推荐(0) 编辑
摘要: /*全选*/$(".chooseall_box").click(function() { if($(".checkall").prop("checked")) { $("input[type='checkbox'][name='checkbox']").prop("checked", true); 阅读全文
posted @ 2017-10-18 14:41 Monroe_Yu 阅读(174) 评论(0) 推荐(0) 编辑
摘要: var data = document.getElementById("#dataForm"); var formData = new FormData(data); var account = $(".account").val(); var phone = $(".phone").val(); 阅读全文
posted @ 2017-10-11 12:06 Monroe_Yu 阅读(549) 评论(0) 推荐(0) 编辑
摘要: /*判断(微信)浏览器*/ function isWeiXin(){var ua = window.navigator.userAgent.toLowerCase();if(ua.match(/MicroMessenger/i) == 'micromessenger'){return true;}e 阅读全文
posted @ 2017-09-20 10:57 Monroe_Yu 阅读(197) 评论(0) 推荐(0) 编辑
摘要: html: <div class="liscorll"> <ul> <li>内容</li> </ul> </div> js: /* 通知-滚动条 */ var doscroll = function(){ var $parent = $('.liscorll ul'); var $first = $ 阅读全文
posted @ 2017-09-18 16:41 Monroe_Yu 阅读(2446) 评论(0) 推荐(0) 编辑
摘要: 方法一:(不能微调) position:absolute; left:0; right:0; top:0; bottom:0; margin:auto; 方法二:(可微调) position:absolute; top:50%; left:50%; margin-top:-100px; /*元素高度 阅读全文
posted @ 2017-08-18 10:56 Monroe_Yu 阅读(210) 评论(0) 推荐(0) 编辑
摘要: sessionStorage.setItem("months",months); var months=sessionStorage.getItem("months"); 清空//sessionStorage.clear(); var stoptimes=“25天20小时3分”; //停车时间 va 阅读全文
posted @ 2017-06-06 09:21 Monroe_Yu 阅读(212) 评论(0) 推荐(0) 编辑