随笔分类 -  wap端

摘要:var startPosition,endPosition,deltaX,deltaY,moveLength,; $(".cover").on('touchstart', function(e){ e.preventDefault(); var touch = e.touches[0]; startPosit... 阅读全文
posted @ 2017-06-05 19:23 xiangcy 阅读(205) 评论(0) 推荐(0)
摘要:hello 翔海房产携金域蓝湾荣耀登陆北京 ... 阅读全文
posted @ 2017-06-05 19:16 xiangcy 阅读(373) 评论(0) 推荐(0)
摘要:window.onload = function(){ //横竖屏 function doOnOrientationChange(){ switch(window.orientation){ case 90: transverse... 阅读全文
posted @ 2017-03-23 17:50 xiangcy 阅读(985) 评论(0) 推荐(0)
摘要:1、H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" 阅读全文
posted @ 2017-03-14 17:11 xiangcy 阅读(489) 评论(0) 推荐(0)
摘要:<i class="photo" id="biPhoto" ><img src="images/loginimg.png"></i> <i class="more">&#xe902;</i> <input type="file" id="biPhotoInput" class="biPhotoInp 阅读全文
posted @ 2017-02-17 09:58 xiangcy 阅读(648) 评论(0) 推荐(0)
摘要:pc端页面 <meta name="mobile-agent"content="format=html5;url=http://移动端页面/"/> /meta标注声明 <meta name="applicable-device"content="pc"> 标题最上 <meta http-equiv= 阅读全文
posted @ 2016-05-19 18:09 xiangcy 阅读(477) 评论(0) 推荐(0)
摘要:demo: JS: 阅读全文
posted @ 2016-05-12 13:40 xiangcy 阅读(194) 评论(0) 推荐(0)
摘要:触屏手指滑动计算演示--程序员老刘 触屏手指滑动方向计算演示 起始坐标 结果计算 阅读全文
posted @ 2016-05-12 11:03 xiangcy 阅读(464) 评论(0) 推荐(0)
摘要:document.documentElement.style.fontSize = document.documentElement.clientWidth/6.4 + 'px'; 或 <script>(function (doc, win) { var docEl = doc.documentEl 阅读全文
posted @ 2016-05-12 11:01 xiangcy 阅读(211) 评论(0) 推荐(0)
摘要:<a href="tel:4008185005,15505" class="font1">4008185005-15505</a> 阅读全文
posted @ 2016-05-12 10:46 xiangcy 阅读(132) 评论(0) 推荐(0)
摘要:html: <p class="codeAnd">3024</p> <input class="codeIos" type="text" value="3024" readonly /> script: <script> var codeAnd=$(".codeAnd"); var codeIos= 阅读全文
posted @ 2016-05-04 16:25 xiangcy 阅读(624) 评论(0) 推荐(0)