摘要: json-server创建后台REST接口 阅读全文
posted @ 2017-07-25 16:55 daxia11 阅读(151) 评论(0) 推荐(0)
摘要: "use strict"; var imgLazy = { checkWebp : function() { try { return ( document.createElement('canvas').toDataURL('image/webp').indexOf('data:image/web 阅读全文
posted @ 2017-07-25 11:07 daxia11 阅读(123) 评论(0) 推荐(0)
摘要: jQuery内容滚动插件-BoxSlider(鼠标在按钮上,图片或者内容上下左右滑动,直到触底或触顶)地址:http://www.jqhtml.com/7909.htmljQuery artDialog对话框插件API(轻量级,还不错,有点像bootstrap)地址:http://www.jqhtm 阅读全文
posted @ 2017-07-20 11:03 daxia11 阅读(154) 评论(0) 推荐(0)
摘要: http://www.qdfuns.com/notes/36367/59abb7c30aa65bbd7df94ae19946d524.html 阅读全文
posted @ 2017-07-17 17:53 daxia11 阅读(537) 评论(0) 推荐(0)
摘要: //Vue 图片懒加载export default (Vue , options = {})=>{ if(!Array.prototype.remove){ Array.prototype.remove = function(item){ if(!this.length) return var in 阅读全文
posted @ 2017-07-12 17:49 daxia11 阅读(3251) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>视频</title> <script type="text/javascript" src="http://www.xipwang.cn/js/jquery.min 阅读全文
posted @ 2017-07-11 10:43 daxia11 阅读(400) 评论(0) 推荐(0)
摘要: 百度地图:https://github.com/Dafrok/vue-baidu-mapgoogle地图:https://github.com/GuillaumeLeclerc/vue-google-maps高德地图:https://github.com/ElemeFE/vue-amap图表:htt 阅读全文
posted @ 2017-07-07 14:43 daxia11 阅读(175) 评论(0) 推荐(0)
摘要: function compare(propertyName) { return function(object1, object2) { console.log(object1); var value1 = object1[propertyName]; var value2 = object2[pr 阅读全文
posted @ 2017-07-07 09:45 daxia11 阅读(118) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title></title> <script> (function(w){ var quse = { colors : [], getUrl : function(obj){ var url; u 阅读全文
posted @ 2017-06-30 16:27 daxia11 阅读(485) 评论(0) 推荐(0)
摘要: ;(function(w){ var DEFIND_SRC = "http://tts.baidu.com/text2audio?"; var speech = function (options){ return new speech.fn.init(options); } speech.fn = 阅读全文
posted @ 2017-06-30 16:24 daxia11 阅读(1553) 评论(0) 推荐(0)