摘要:        
基本语法:$http.post('url',{},{}).success(function(data,status,headers,config){}).error(function(data,status,headers,config){})$http.post接受三个参数:1. url: 请求的...    阅读全文
posted @ 2014-07-24 10:43
诗&远方
阅读(1714)
评论(0)
推荐(0)
        
            
        
        
摘要:        
基本语法:$http.get('url',{}).success(function(data,status,headers,config){}).error(function(data,status,headers,config){})$http.get接受两个参数:1. url: 请求的路径2. ...    阅读全文
posted @ 2014-07-24 10:27
诗&远方
阅读(27964)
评论(4)
推荐(2)
        
            
        
        
摘要:        
使用zepto里面的scrollTop()方法是没用哒~~~chrome浏览器: document.body.scrollTop = 一个数值其它浏览器:document.documentElement.scrollTop = 一个数值    阅读全文
posted @ 2014-07-24 09:54
诗&远方
阅读(610)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号