联系官方销售客服

1835022288

028-61286886

POSCMS 版主:POSCMS负责人
栏目下面的作品page页无效
类型:POSCMS 更新时间:2018-04-12 19:06:00

后台已经设置了输出两条,实际有五条数据,但是pages就是无效

QQ截图20180412140030.jpg


 {list action=module catid=$catid order=updatetime page=1 return=t }
              <li class="shuaijin_spaceal_li" id="shuaijin_spaname{$t.id}"  style="overflow:auto;">
             
                   <a href="javascript:void(0)" onclick="shuaijin_click_spac();GetHtml{$t.id}();"><img src="{dr_thumb($t.thumb)}" style="width:270px;height:200px;"></a>

                   <p style="padding:14px;color:#666666">{$t.title}</p>
                   <hr style="margin:0px;">
                   <p style="color:#b1b1b1;padding:14px;">{$t.keywords}</p>
                   <p style="color:#b1b1b1;padding-left:14px;">
                     <img src="/iccg/images/member_icon_one.png" style="width:25px;border-radius:25px;overflow:hidden;height:25px;">
                     {$t.description}
                   </p>
                

              <script type="text/javascript">
        function GetHtml{$t.id}() {
            $.ajax({
                type: "POST",
                url: '{$t.url}',      //请求数据de url     
                success: LoadHtml
            });
        }
        function LoadHtml(data) {
            var div = document.getElementById("shuaijin_mybody");
            div.innerHTML = data;
        }
    </script>


              </li>
         {/list}
{$next} {$pages}后台

回帖
  • 迅睿粉丝
    #1楼    迅睿粉丝
    2018-04-12 19:06:00
    0
    {list action=module catid=$catid order=updatetime page=1 } 改成这样试试比如你当前页面是index.php?c=category&id=999,然后去修改999这个栏目查看分页数目是不是2;然后再去后台内容管理里面搜索999的栏目数据,看看是不是5条最后更新缓存一下