11 2017 档案

摘要:1. function dateFormat(time, fmt) { Date.prototype.Format = function(fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": th... 阅读全文
posted @ 2017-11-29 16:52 neo_o 阅读(223) 评论(0) 推荐(0)
摘要:引用链接: https://segmentfault.com/a/1190000010753247?utm_source=tuicool&utm_medium=referral 阅读全文
posted @ 2017-11-18 16:27 neo_o 阅读(3931) 评论(0) 推荐(0)
摘要:function getSearchString(key) { // 获取URL中?之后的字符 var str = location.search; str = str.substring(1,str.length); // 以&分隔字符串,获得类似name=xiaoli这样的元素数组 var arr = str.split("&"); ... 阅读全文
posted @ 2017-11-18 16:12 neo_o 阅读(1419) 评论(0) 推荐(0)
摘要:添加下面属性: 阅读全文
posted @ 2017-11-17 10:06 neo_o 阅读(326) 评论(0) 推荐(0)
摘要:1.进入微信公众平台 2.进入到 开发->接口授权,点击 网页服务->网页授权->网页授权获取用户基本信息 后面的“修改“。 3.点击网页授权域名的设置 4.设置授权回调域名:(注意:这里的网页授权的域名跟 下面要用到的Redirect_uri 所指向的页面的域名必须一致: 如:www.aa.com 阅读全文
posted @ 2017-11-06 15:13 neo_o 阅读(13469) 评论(0) 推荐(0)
摘要:在初始化swiper中加入这两个属性: 阅读全文
posted @ 2017-11-03 17:11 neo_o 阅读(10396) 评论(0) 推荐(2)

愿你的生活只有诗和远方