<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                > 無刷新點擊實現加載更多數據 # html代碼 ~~~ <div class="row row-zmo"> <div class="col-xs-12 col-md-12 row-more"> <a href="javascript:;" onclick="lmore()"> <p> + 展開更多案例 + </p> </a> </div> </div> ~~~ # jquery代碼 ~~~ var cid = "<?php echo $cid?>"; i = 2; //當前頁數 var domain = window.location.host; //域名 var url_dom = "http://"+domain+"/index.php?g=portal&m=list&a=more"; function lmore() { $.getJSON(url_dom, {page: i,cid: cid}, function(json) { if (json) { var str = ""; $.each(json, function(index, array) { var id = array['tid']; var cid = array['term_id']; var im = array['thumb']; var url = window.location.pathname ; // 路徑 var full = url+"?g=&m=article&a=index&id="+id+"&cid="+cid; //完整的詳情路徑 var str = ""; var str = str + "<div class='col-xs-12 col-md-6 case-bos'>" +"<a href='"+ full +"' class='thumbnail case-thumbnail'>" + "<div class='inner'></div>" + "<div class='ibar'>" + "<e>" + array['post_title'] + "</e><br><e>" + array['claname'] + "</e></div>" + "<img src='/data/upload/"+ array['thumb'] +"' />" + "<div class='col-xs-3 col-md-3 case-but'><p>" + "查看案例" + "</p></div></a></div>"; $(".lists-img").append(str); $(".case-bos").hover( function(){ id=$(this).index(); $(".inner").eq(id).fadeIn(200); }, function(){ $(".inner").eq(id).fadeOut(200); } );  }); } else { showEmpty(); } }); i++; } function showEmpty() { $(".row-more").find("p").text("別滾動了,已經到底了... ..."); } ~~~ # php代碼 ~~~ public function more(){ $page = intval($_GET['page']); //獲取請求的頁數 $cid = intval($_GET['cid']); //分類id $pagenum = 8; //每頁數量 $start = ($page - 1) * $pagenum; $tag = "order:post_date desc;limit:$start,$pagenum"; $result = sp_sql_posts_bycatid($cid,$tag); foreach ($result as &$value) { $value['smeta']=json_decode($value['smeta'], true); $value['thumb']=$value['smeta']['thumb']; $term_id=$value['term_id']; $term=sp_get_term($term_id); $value['claname']=$term['name']; } if ($result) { echo json_encode($result,true); //轉換為json數據輸出 } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看