摘要: 父页面:(用localStorage传数据) 子页面 阅读全文
posted @ 2017-09-05 13:50 陌凌雪 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Css 1)text-indent:;首行缩进 2)disabled="true"设置input框不可以点击 3)Css:xx!important;声明提前优先级最高。。!important优先级最高 4)readonly="true"设置input框不可以点击(用disabled设置之后不能获取表 阅读全文
posted @ 2017-08-25 14:03 陌凌雪 阅读(1927) 评论(0) 推荐(0) 编辑
摘要: <script> //判断ios还是android终端 var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 ||u.indexOf('Adr') > -1; //android终端 var isiOS = !! 阅读全文
posted @ 2017-08-25 13:58 陌凌雪 阅读(311) 评论(0) 推荐(0) 编辑
摘要: nodejs已经安装完成的情况下,安装ionic小助手 win+r打开cmd。 命令: 1.node -v(查看版本信息) 2.npm -v(查看版本信息) 3.npm install -g cnpm Cregistry=https://registry.npm.taobao.org在cmd中输入n 阅读全文
posted @ 2017-08-25 11:20 陌凌雪 阅读(202) 评论(0) 推荐(0) 编辑
摘要: //获取url后边的参数 $.getUrlParam = function (name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match( 阅读全文
posted @ 2017-08-25 11:05 陌凌雪 阅读(2094) 评论(0) 推荐(0) 编辑
摘要: 1.html 2.css设置实现功能。(父级元素设置相对定位,子元素绝对定位(子绝对,父相对)) .div1,.div2,.div3{float:left;margin:0 20px 0 25px;overflow:hidden;position:relative;} .div1{width:350 阅读全文
posted @ 2017-08-24 17:51 陌凌雪 阅读(389) 评论(0) 推荐(0) 编辑