摘要: $('#container').unbind("scroll").bind('scroll',function(e){ var sum = this.scrollHeight - 5; console.log(sum) console.log($(this).scrollTop() + $(this).hei... 阅读全文
posted @ 2019-03-25 11:46 Liiu 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 页面使用overflow-scroll在iOS上滑动卡顿的问题 因在做一个滑动的list列表,为某个div使用了overflow: scroll属性。 结果在手机上测试时,ios手机有明显的滑动卡顿问题,而安卓手机不会出现该现象。 以下代码可解决这种卡顿的问题:-webkit-overflow-sc 阅读全文
posted @ 2019-01-03 16:48 Liiu 阅读(504) 评论(0) 推荐(0) 编辑
摘要: /* 移动:134、135、136、137、138、139、150、151、157(TD)、158、159、187、188 联通:130、131、132、152、155、156、185、186 电信:133、153、180、189、(1349卫通) */ /** * 手机服务商函数 getphone 阅读全文
posted @ 2018-12-29 09:33 Liiu 阅读(247) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak='自己申请'&s=1"></script> <script type="text/javascript" charset="utf-8"> var g 阅读全文
posted @ 2018-12-25 16:59 Liiu 阅读(887) 评论(0) 推荐(0) 编辑
摘要: <?php function encryptDecrypt($key, $string, $decrypt){ if($decrypt){ $decrypted = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($key), base64_decode( 阅读全文
posted @ 2018-12-18 14:06 Liiu 阅读(2912) 评论(1) 推荐(2) 编辑
摘要: <input type="hidden" class="total_num" id="total" value="{$total}"> <div class="diy-richtext messagebox" style="padding-top:10px;"> {loop $messagelist 阅读全文
posted @ 2018-12-05 17:02 Liiu 阅读(617) 评论(0) 推荐(0) 编辑
摘要: public function getPoster(){ global $_W; global $_GPC; $mm = pdo_fetch('select nickname,codetime from ' . tablename('ewei_shop_member') . ' where open 阅读全文
posted @ 2018-11-07 15:50 Liiu 阅读(2210) 评论(0) 推荐(0) 编辑
摘要: $_GET['a_b'] 阅读全文
posted @ 2018-11-05 15:14 Liiu 阅读(410) 评论(0) 推荐(0) 编辑