编辑整理:整理来源:腾讯视频,浏览量:90,时间:2023-04-13 11:00:02
需求:在同一个页面可能同时存在多个分页时(本教程需要4.3.15及以上版本使用)
例如,此页面是首页,那么下一页的分页规则就是:,index.php?page=2&page2=2,index.php?page=2&page3=2,。。。。
标签写法为:
1、【index.php?page=2&page1=2】
{module module=news page=page1 pagesize=10 urlrule=index.php?page=2&page1=[page]}2、【index.php?page=2&page2=2】
{module module=news page=page2 pagesize=10 urlrule=index.php?page=2&page2=[page]}3、【index.php?page=2&page3=2】
{module module=news page=page3 pagesize=10 urlrule=index.php?page=2&page3=[page]}如果是非首页其他页面时,需要改对应的分页规则就行,否则下一页就点不开了。
迅睿CMS系统:https://www.xunruicms.com/
本文档原文地址:https://www.xunruicms.com/doc/1095.html