摘要: 蓝图的函数名字 不能和上面的地址栏的变量一样 阅读全文
posted @ 2017-03-20 23:34 webbky 阅读(134) 评论(0) 推荐(0) 编辑
摘要: window.onresize = adjuest; function adjuest(){ var picw = $(".imgbox img").width(); var pich = $(".imgbox img").height(); var x1 = parseInt(picw*0.287 阅读全文
posted @ 2017-03-20 11:00 webbky 阅读(1851) 评论(0) 推荐(0) 编辑
摘要: 你要填写的内容 .wrapper{ height:400px; display:table; } .content{ vertical-align:middle; display:table-cell; border:1pxsolid#FF0099; background-color:#FFCCFF;... 阅读全文
posted @ 2017-03-14 11:06 webbky 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 官网:http://docs.jinkan.org/docs/flask/patterns/fileuploads.html 阅读全文
posted @ 2017-03-13 12:50 webbky 阅读(3596) 评论(0) 推荐(0) 编辑
摘要: 更多 http://www.qingpingshan.com/bc/flex/205196.html https://www.polarxiong.com/archives/Flask%E4%BD%BF%E7%94%A8%E6%97%A5%E5%BF%97%E8%AE%B0%E5%BD%95%E5% 阅读全文
posted @ 2017-03-12 14:28 webbky 阅读(12180) 评论(0) 推荐(0) 编辑
摘要: function isValidDate(sText) { var reDate = /(?:0[1-9]|[12][0-9]|3[01])\/(?:0[1-9]|1[0-2])\/(?:19|20\d{2})/; return reDate.test(sText); } function vali 阅读全文
posted @ 2017-03-03 12:35 webbky 阅读(131) 评论(0) 推荐(0) 编辑
摘要: select count(1),DATE_FORMAT(FROM_UNIXTIME(createtime/1000), '%Y-%m-%d') as time from bskuser where createtime between 1487347200000 and 1488211199000 group by time 阅读全文
posted @ 2017-02-28 21:50 webbky 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 更多:http://www.open-open.com/code/view/1423207309170 阅读全文
posted @ 2017-02-28 10:11 webbky 阅读(207) 评论(0) 推荐(0) 编辑
摘要: SELECT (CASE payType WHEN 1 THEN '微信' WHEN 2 THEN '支付宝' ELSE '余额' END) as type, count(payType) FROM order_info WHERE payJe > 0 AND payTime IS NOT NULL 阅读全文
posted @ 2017-02-24 12:07 webbky 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: var a=[1,2,3,4,1,2,3,4]; console.log( Array.from(new Set(a)) ); var b; b=a.filter(function(el,index,self ){ return self.indexOf(el)==index; //indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置。如何检索的字符串值没有... 阅读全文
posted @ 2017-02-22 23:43 webbky 阅读(189) 评论(0) 推荐(0) 编辑