随笔分类 - JS方法封装
摘要:var common = { getQueryString : function(name){ var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = ''; try{ r = location.href.split(
阅读全文
摘要:HTML: //:ligit='ligit' 一致 <div id='app'> <template-swiper :ligit='ligit'></template-swiper> </div> <template id='tabs-list-t'> <ul> <li v-for='item,in
阅读全文
摘要:$(function(){ // $.extend()拓展方法: $.extend({ backgroundColor:function(){ $('body').css('background','#ccc'); } }) $.backgroundColor();// >就可以调用; }) $(f
阅读全文

浙公网安备 33010602011771号