02 2018 档案

摘要:ajax如果要写像下方格式 阅读全文
posted @ 2018-02-28 19:01 飞尽堂前燕 阅读(1302) 评论(1) 推荐(0) 编辑
摘要:zilei.click(ev){ var e = ev||event; e.stopPropagation(); //dosomething } $(document).click(function(){ zilei.css('display','none'); }); 阅读全文
posted @ 2018-02-28 13:58 飞尽堂前燕 阅读(285) 评论(0) 推荐(0) 编辑
摘要:call更改this指向,改变作用域 阅读全文
posted @ 2018-02-27 14:22 飞尽堂前燕 阅读(117) 评论(0) 推荐(0) 编辑
摘要:错误信息如下 请确认你选的 请求方法(人脸属性识别、人脸检测定位、人脸对比’) 与要求传递参数的格式是否一致。 阅读全文
posted @ 2018-02-27 11:00 飞尽堂前燕 阅读(1544) 评论(0) 推荐(0) 编辑
摘要:错误信息如下 传递的参数有问题 确认你传递的参数是否有问题 {type:0,'image_url_1':'http://************/user1.jpg','image_url_2':'http://****************/user2.jpg',} 这里我是在最后一个参数 的最 阅读全文
posted @ 2018-02-27 10:57 飞尽堂前燕 阅读(768) 评论(0) 推荐(0) 编辑
摘要:以上传图片为例 通过input type='file' 上传完成图片后,获取图片 $('#input').files[0] var reader = new FileReader(); reader.readAsDataURL(this.files[0]); reader.onload = func 阅读全文
posted @ 2018-02-26 13:54 飞尽堂前燕 阅读(182) 评论(0) 推荐(0) 编辑
摘要:1.出现 {errMsg: "chooseImage:fail, the permission value is offline verifying"} 错误 a) 确认是否引入JSAPI,并且务必写在wx.ready中 b) 确认config的jsApiList参数 是否有这个调用的方法。 例如 阅读全文
posted @ 2018-02-26 11:53 飞尽堂前燕 阅读(579) 评论(0) 推荐(0) 编辑
摘要:记录 function test1(){ this.say = function(){} } function test2(){ this.say = function(){} return this; } console.time(); var t = new test1(); for (var 阅读全文
posted @ 2018-02-24 18:11 飞尽堂前燕 阅读(242) 评论(0) 推荐(0) 编辑
摘要:这样会调取摄像机 执行拍照功能 <input type="file" capture="camera" accept="image/*" name="" value="点我拍照" > 这个会调用摄像机 执行录像功能。 <input type="file" capture="camera" accep 阅读全文
posted @ 2018-02-24 16:22 飞尽堂前燕 阅读(1212) 评论(0) 推荐(0) 编辑
摘要:页面dom结构如下 js 阅读全文
posted @ 2018-02-22 14:08 飞尽堂前燕 阅读(3868) 评论(0) 推荐(0) 编辑
摘要:可以使用JQuery的 $.getScript(url,function(){});方法 $.getScript("http://api.map.baidu.com/getscript?v=1.1&ak=&services=true&t=",function(){ //获取百度地图js成功后 会执行 阅读全文
posted @ 2018-02-07 10:26 飞尽堂前燕 阅读(585) 评论(0) 推荐(0) 编辑
摘要:Transform的 scale属性不能作用于 inline元素上,例如span 并且动画 animation 也不能作用于inline元素上 可以给span加display:inline-block;属性 阅读全文
posted @ 2018-02-02 10:32 飞尽堂前燕 阅读(1529) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示