ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

解決方案
  • 需要把$myuid通過api地址傳輸過去

  • 回復@迅??蚣芗夹g-張洪 不懂啊,具體代碼怎么寫呢

  • http://www.zbshanke.com/doc/534.html

    var Mpage=1;
    
    //滾動顯示更多
    var scroll_get = true;  //做個標志,不要反反復復的加載
    $(document).ready(function () {
        $(window).scroll(function () {
            if (scroll_get==true &&  (400 + $(window).scrollTop())>($(document).height() - $(window).height())) {
                scroll_get = false;
                layer.msg('內容加截中,請稍候',{time:1000});
                dr_ajax_load_more();
            }
        });
    });
    
    function dr_ajax_load_more(){
        Mpage++;
        $.get('/index.php?s=api&c=api&m=template&name=list_data.html&module={MOD_DIR}&catid={$catid}&format=json&page='+Mpage+'&'+Math.random(),function(res){
            $('.footer-cont').hide();
            if(res.code==1){
                if(res.msg==''){
                    layer.msg("已經顯示完了",{time:500});
                }else{
                    $('#content_list').append(res.msg);
                    scroll_get = true;
                }
            }else{
                layer.msg(res.msg,{time:2500});
            }
        }, 'json');
    }

    /index.php?s=api&c=api&m=template&name=list_data.html&module={MOD_DIR}&catid={$catid}&format=json&page='+Mpage+'&'+Math.random(),function(res){

    這里url里面傳了 {$catid} 那你也得把你的uid傳進去呀

    改成 &uid={$uid}

    回復@likeren

    滿意答案
    短信幣+1
  • @K大帥:感謝幫助!換個加載方式再試試