發(fā)表日期:2018-06 文章編輯:小燈 瀏覽次數(shù):3403
[@cms_channel_list]
欄目列表標(biāo)簽
作 用:顯示各欄目列表
參 數(shù):
parentId:存在時(shí),獲取該欄目的子欄目,不存在時(shí),獲取頂級(jí)欄目channel.parent.id
siteId:站點(diǎn)ID。存在時(shí),獲取該站點(diǎn)頂級(jí)欄目,不存在時(shí)獲取當(dāng)前站點(diǎn)頂級(jí)欄目。(僅在parentId不存在時(shí)起作用)
hasContent:是否只獲取可以有內(nèi)容的欄目?!?:獲取所有;1:只獲取可以有內(nèi)容的欄目】(默認(rèn)0)
linkClass:鏈接class
style:標(biāo)簽內(nèi)部樣式。如果指定sysContent或userContent,則該項(xiàng)無效?!?:普通鏈接列表;】(默認(rèn)1)
sysTpl:使用系統(tǒng)模板。【0:不使用;1:使用】(默認(rèn)1)
sysContent:系統(tǒng)內(nèi)容樣式。(默認(rèn)0)
userContent:自定義內(nèi)容樣式。如果指定了系統(tǒng)內(nèi)容樣式,則該項(xiàng)無效。(默認(rèn)0)
sysPage:系統(tǒng)分頁樣式。【0:不分頁;1:樣式一;2:樣式二】(默認(rèn)0)
userPage:自定義分頁樣式。如果指定了系統(tǒng)分頁樣式,則該項(xiàng)無效?!?:不分頁;1:樣式一;2:樣式二】(默認(rèn)0)
custom:字符串?dāng)?shù)組。用于個(gè)性化處理。(默認(rèn)空數(shù)組)
【備 注】:在代碼模式下編輯,各屬性值必須使用單引號(hào),屬性排列順序不分先后。
示例:
[@cms_channel_list tpl='1'/]
效果圖:
日期:2018-06 瀏覽次數(shù):3619
日期:2018-06 瀏覽次數(shù):3194
日期:2018-06 瀏覽次數(shù):3310
日期:2018-06 瀏覽次數(shù):3094
日期:2018-06 瀏覽次數(shù):3471
日期:2018-06 瀏覽次數(shù):3278
日期:2018-06 瀏覽次數(shù):3088
日期:2018-06 瀏覽次數(shù):3402
日期:2018-06 瀏覽次數(shù):3242
日期:2018-06 瀏覽次數(shù):3871
日期:2018-06 瀏覽次數(shù):2879
日期:2018-06 瀏覽次數(shù):2901
日期:2018-06 瀏覽次數(shù):3181
日期:2018-06 瀏覽次數(shù):2922
日期:2018-06 瀏覽次數(shù):2652
日期:2018-06 瀏覽次數(shù):2820
日期:2018-06 瀏覽次數(shù):3100
日期:2018-06 瀏覽次數(shù):2829
日期:2018-06 瀏覽次數(shù):2698
日期:2018-06 瀏覽次數(shù):2768
日期:2018-06 瀏覽次數(shù):2697
日期:2018-06 瀏覽次數(shù):2655
日期:2018-06 瀏覽次數(shù):2766
日期:2018-06 瀏覽次數(shù):2906
日期:2018-06 瀏覽次數(shù):3039
日期:2018-06 瀏覽次數(shù):2767
日期:2018-06 瀏覽次數(shù):2888
日期:2018-06 瀏覽次數(shù):2992
日期:2018-06 瀏覽次數(shù):2837
日期:2018-06 瀏覽次數(shù):2792
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.