?? action_cms.ftl
字號(hào):
<#--
子欄目列表(自定義內(nèi)容)
id:父欄目ID。(默認(rèn):當(dāng)前欄目ID)
isLoop:內(nèi)容是否循環(huán)。【0:不循環(huán);1:循環(huán)】(默認(rèn)1)
isDisplay:是否只獲取顯示的欄目。【0:獲取所有;1:只獲取顯示的欄目】(默認(rèn)1)
hasContent:是否只獲取可以有內(nèi)容的欄目。【0:獲取所有;1:只獲取可以有內(nèi)容的欄目】(默認(rèn)0)
-->
<#macro ChnlListInner id=chnl.id isLoop="1"
orderBy="0" isDisplay="1" hasContent="0">
<@s.action name="ChnlListInner" namespace="/jeecms/tag/cms" executeResult="false"
chnlId=id orderBy=orderBy isDisplay=isDisplay hasContent=hasContent/>
<#if isLoop=="1">
<#list n_list as chnl>
<#nested chnl,chnl_index,chnl_has_next/>
</#list>
<#else>
<#nested n_list/>
</#if>
</#macro>
<#--
子欄目列表
id:父欄目ID。(默認(rèn):當(dāng)前欄目ID)
orderBy:排序方式。【0:優(yōu)先級(jí)升序;1:優(yōu)先級(jí)降序;2:點(diǎn)擊次數(shù)升序;3:點(diǎn)擊次數(shù)降序】(默認(rèn)0)
isDisplay:是否只獲取顯示的欄目。【0:獲取所有;1:只獲取顯示的欄目】(默認(rèn)1)
hasContent:是否只獲取可以有內(nèi)容的欄目。【0:獲取所有;1:只獲取可以有內(nèi)容的欄目】(默認(rèn)0)
linkClass:鏈接class
linkTarget:鏈接打開方式。【0:當(dāng)前窗口;1:新窗口】(默認(rèn)0)
style:標(biāo)簽內(nèi)部樣式。如果指定sysContent或userContent,則該項(xiàng)無(wú)效。
【1:普通鏈接列表;】(默認(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)無(wú)效。(默認(rèn)0)
sysPage:系統(tǒng)分頁(yè)樣式。【0:不分頁(yè);1:樣式一;2:樣式二】(默認(rèn)0)
userPage:自定義分頁(yè)樣式。如果指定了系統(tǒng)分頁(yè)樣式,則該項(xiàng)無(wú)效。【0:不分頁(yè);1:樣式一;2:樣式二】(默認(rèn)0)
custom:字符串?dāng)?shù)組。用于個(gè)性化處理。(默認(rèn)空數(shù)組)
-->
<#macro ChnlList id=chnl.id orderBy="0" isDisplay="1" hasContent="0"
linkClass="" linkTarget="0"
style=1 sysTpl="1" sysContent="0" userContent="0" sysPage="0" userPage="0" custom=[]>
<@s.action name="ChnlList" namespace="/jeecms/tag/cms" executeResult="true"
chnlId=id orderBy=orderBy isDisplay=isDisplay hasContent=hasContent
linkClass=linkClass linkTarget=linkTarget
style=style sysTpl=sysTpl sysContent=sysContent userContent=userContent sysPage=sysPage userPage=userPage custom=custom/>
</#macro>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -