02 2016 档案

摘要:overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; line-height: 1.3em; -webkit-line-clamp: 2; 阅读全文
posted @ 2016-02-29 18:04 大赚佬 阅读(217) 评论(0) 推荐(0)
摘要:var u = navigator.userAgent, app = navigator.appVersion; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器 var 阅读全文
posted @ 2016-02-29 10:33 大赚佬 阅读(476) 评论(0) 推荐(0)
摘要:document.documentElement.clientWidth; document.documentElement.clientHeight;这个得到的是设备像素可见宽高,比如iPhone 4s在微信内设置了viewport为1的时候为320*416(手机480 - 微信状态栏64), i 阅读全文
posted @ 2016-02-29 10:29 大赚佬 阅读(350) 评论(0) 推荐(0)
摘要:不生效的话,要去微信公众号平台设置JS安全域名。 阅读全文
posted @ 2016-02-25 15:59 大赚佬 阅读(2591) 评论(2) 推荐(0)
摘要:<?php//演示地址 http://asizu.sinaapp.com/reptile_douban.php//数据量不是特别大,没有写抓完数据便停止。 喜欢的朋友拿去自己改改就好了 header("Content-Type:text/html;charset=utf-8"); define("M 阅读全文
posted @ 2016-02-02 14:06 大赚佬 阅读(915) 评论(0) 推荐(0)
摘要:原因: verifyReturn 拼接url的时候,php自动添加了url参数,而url是本不需要的,所以导致md5对比出错。 修改 alipay_notify.class.php 77行的函数 /** * 针对return_url验证消息是否是支付宝发出的合法消息 * @return 验证结果 * 阅读全文
posted @ 2016-02-01 16:03 大赚佬 阅读(564) 评论(0) 推荐(0)