会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
永往
-----叩首问路,码梦为生(立志成为老坛酸菜的小白菜)
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2017年9月5日
js上拉加载
摘要: //一次加载12个,修改版function jiazai(){ var n=12; $(window).scroll( function(){ var scrollTop = 0; var clientHeight = 0; var scrollHeight = 0; var re...
阅读全文
posted @ 2017-09-05 13:58 永往
阅读(687)
评论(0)
推荐(0)
2017年8月28日
apicloud直接上传图片
摘要: function getPicture() { api.confirm({ title : "提示", msg : "选择图片", buttons : ["现在照", "相册选", "取消"] }, function(ret, err) { //定义图片来源类型 var sourceType; if (1 =...
阅读全文
posted @ 2017-08-28 11:45 永往
阅读(2113)
评论(0)
推荐(0)
2017年8月24日
layer.confirm
摘要: layer.confirm('确定不选择花车?', { title: false, btn: ['确定','取消'] //按钮 }, function(ind){ layer.close(ind); pagegoto('AddVehicle','AddVehicle',data_arr[swin].
阅读全文
posted @ 2017-08-24 21:17 永往
阅读(14043)
评论(0)
推荐(0)
2017年8月10日
json数组去重
摘要: if(localStorage.getItem("selectcarmsg")){ var arr=JSON.parse(localStorage.getItem("selectcarmsg")); arr.push(selectcarmsg); var jsonstr = [];//json去重 outer: for(...
阅读全文
posted @ 2017-08-10 10:27 永往
阅读(754)
评论(0)
推荐(0)
2017年8月5日
js解决手机键盘影响定位的问题
摘要: // 滑动其他地方隐藏软键盘document.body.addEventListener('touchend', function(evt) { document.activeElement.blur(); }); // 解决键盘影响定位的问题// $(document).ready(functio
阅读全文
posted @ 2017-08-05 18:54 永往
阅读(476)
评论(0)
推荐(0)
2017年8月3日
click禁用事件
摘要: style="pointer-events:none;"
阅读全文
posted @ 2017-08-03 13:44 永往
阅读(1039)
评论(0)
推荐(0)
2017年7月4日
ipcloud上传裁切图片,保存为base64再压缩传给后台
摘要: Hello APP cutcut 点击上传图片 Copyright &c...
阅读全文
posted @ 2017-07-04 11:52 永往
阅读(852)
评论(0)
推荐(0)
2017年6月30日
ipcloud上传裁切图片
摘要: 主页: 副页:
阅读全文
posted @ 2017-06-30 09:41 永往
阅读(230)
评论(0)
推荐(0)
2017年6月28日
tapmode="hover"属性
摘要: .hover{ opacity: .4; } <span tapmode="hover" onclick="fnOpen()">open</span> 需要响应onclick的元素,加上tapmode='xxx'属性即可,xxx可以是一个css样式,当该元素touchstart touchmove的
阅读全文
posted @ 2017-06-28 11:05 永往
阅读(803)
评论(0)
推荐(0)
2017年6月27日
apiCloud通过ajax获取数据
摘要: 上面ajax有误更新:
阅读全文
posted @ 2017-06-27 16:43 永往
阅读(1011)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告