POST TIME:2019-09-30 10:55
(>=DedeCMS 3,DedeCMS 4,DedeCMS 5)
名稱:pagelist
功能:表示分頁頁碼列表
語法:
{dede:pagelist listsize='3' listitem=''/}
文件:
includerc.listview.class.php
includerc.sglistview.class.php
function GetPageListDM($list_len,$listitem="index,end,pre,next,pageno")
function GetPageListST($list_len,$listitem="index,end,pre,next,pageno")
默認(rèn)底層模板:
無
參數(shù):
listsize=3表示[1][2][3]這些項(xiàng)的長度x 2
listitem='index,pre,pageno,next,end,option'表示頁碼樣式,可以把下面的值疊加
index 首頁
pre上一頁
pageno頁碼
next下一頁
end末頁
option下拉跳轉(zhuǎn)框
底層字段:
無
范例:
{dede:pagelist listsize='3' listitem='index pre pageno next end option'/}
注:pagelist標(biāo)簽是同list一同使用來調(diào)用列表數(shù)據(jù)的。