联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
分页无效里的值是对的分页中的链接也是对的但是列表中的内容是不
类型:迅睿CMS 更新时间:2021-02-03 16:05:17 分页 index.php
{table table=1_spot xianhuoqihuo=0 status=9 page=1 pagesize=30 total=$sototal urlrule=/index.php?s=member&c=FuturesBooking&m=index&page=[page]}


分页无效,urlule里的值是对的,分页中的链接也是对的,但是列表中的内容是不变的

            <div class="spotList">
                 <div class="spotRow">
                      <div class="spotColum"><img src="{HOME_THEME_PATH}image/shop_xh.png"><span>model</span></div>
                      <div class="spotColum"><img src="{HOME_THEME_PATH}image/shop_fl.png"><span>classification</span></div>
                      <div class="spotColum"><img src="{HOME_THEME_PATH}image/shop_pp.png"><span>Brand</span></div>
                      <div class="spotColum"><img src="{HOME_THEME_PATH}image/shop_money.png"><span>price</span></div>
                      <div class="spotColum"><img src="{HOME_THEME_PATH}image/shop_num.png"><span>Quantity</span></div>
                      <div class="spotColum"><img src="{HOME_THEME_PATH}image/shop_date.png"><span>time</span></div>
                 </div>
                 {table table=1_spot xianhuoqihuo=0 status=9 page=1 pagesize=30 total=$sototal urlrule=/index.php?s=member&c=FuturesBooking&m=index&page=[page]}
                     <div class="spotRow">
                          <div class="spotColum" onClick="_window.location.href='{$t.url}'">{$t.title}</div>
                          {php $mycat=dr_share_cat_value($t.catid);}
                          <div class="spotColum">{$mycat['name']}</div>
                          <div class="spotColum">{$t.pinpai}</div>
                          <div class="spotColum">请咨询客服</div>
                          <div class="spotColum">{if $t.xianhuoqihuo=='1'}现货{else}期货{/if}</div>
                          <div class="spotColum">{dr_date($t._inputtime, 'Y-m-d')}</div>
                     </div>
                     
                 {/table}  
            </div>
            <div class="fy">
                <nav aria-label="Page navigation">
            {$pages}
                </nav>
            </div>


回帖
  • #1楼    迅睿框架创始人
    2021-02-01 22:21:12
    Google Pixel 手机 0
    {$debug}
    看看每页的这个数据
    满意答案
  • 万俟肸
    #2楼    万俟肸
    2021-02-01 22:36:58
    Chrome 0
    回复迅睿框架创始人
    <pre style="background-color: #f5f5f5; border: 1px solid #ccc;padding:10px; overflow: auto;"><p>标签解析:{list action=table table=1_spot xianhuoqihuo=0 status=9 page=1 pagesize=30 total= urlrule=/index.php?s=member&amp;c=FuturesBooking&amp;m=index&amp;page=[page]}</p><p>查询解析: SELECT * FROM fhl_1_spot WHERE `fhl_1_spot`.`xianhuoqihuo` = 0 AND `fhl_1_spot`.`status` = 9  LIMIT 0,30</p><p>开发模式:已开启</p><p>数据缓存:开发者模式下缓存无效</p><p>总记录数:34298</p><p>分页功能:已开启</p><p>当前页码:1</p><p>总页数量:1144</p><p>每页数量:30</p><p>分页地址:/index.php?s=member&amp;c=FuturesBooking&amp;m=index&amp;page=页码</p><p>可用字段:id、catid、title、thumb、keywords、description、hits、uid、author、status、url、link_id、tableid、inputip、inputtime、updatetime、displayorder、pinpai、xianhuoqihuo</p></pre>
    <pre style="background-color: #f5f5f5; border: 1px solid #ccc;padding:10px; overflow: auto;"><p>标签解析:{list action=table table=1_spot xianhuoqihuo=0 status=9 page=1 pagesize=30 total= urlrule=/index.php?s=member&amp;c=FuturesBooking&amp;m=index&amp;page=[page]}</p><p>查询解析: SELECT * FROM fhl_1_spot WHERE `fhl_1_spot`.`xianhuoqihuo` = 0 AND `fhl_1_spot`.`status` = 9  LIMIT 60,30</p><p>开发模式:已开启</p><p>数据缓存:开发者模式下缓存无效</p><p>总记录数:34298</p><p>分页功能:已开启</p><p>当前页码:3</p><p>总页数量:1144</p><p>每页数量:30</p><p>分页地址:/index.php?s=member&amp;c=FuturesBooking&amp;m=index&amp;page=页码</p><p>可用字段:id、catid、title、thumb、keywords、description、hits、uid、author、status、url、link_id、tableid、inputip、inputtime、updatetime、displayorder、pinpai、xianhuoqihuo</p></pre>
  • 万俟肸
    #3楼    万俟肸
    2021-02-03 16:05:17
    Chrome 0
    迅睿框架创始人:改用接口重新写了写