📄 action_article.ftl
字号:
<#--
文章列表(自定义内容)
chnlId:栏目ID。(默认:当前栏目ID)
searchKey:搜索标题、tags和描述。用于搜索页。(默认空)
orderBy:排序方式。【0:发布时间降序;1:发布时间升序;2:点击次数降序;3:点击次数升序】(默认0)
recommend:是否推荐。【0:全部;2:推荐文章】(默认0)
style:标签内部样式。如果指定sysContent或userContent,则该项无效。【1:普通列表;】(默认1)
-->
<#macro ArtiList chnlId=chnl.id searchKey="" recommend="0" orderBy="0"
isPage="0" count="20" firstResult="0" pageNo=pageNo
style="1" inner="0" isLoop="1" cssClass="" cssStyle=""
sysTpl="1" sysContent="0" userContent="" sysPage="0" userPage="" custom=[]>
<#if inner=="0">
<@s.action name="ArtiList" namespace="/jeecms/tag/article" executeResult="true"
chnlId=chnlId searchKey=searchKey recommend=recommend orderBy=orderBy
isPage=isPage count=count firstResult=firstResult pageNo=pageNo
style=style cssClass=cssClass cssStyle=cssStyle
style=style sysTpl=sysTpl sysContent=sysContent userContent=userContent sysPage=sysPage userPage=userPage custom=custom
/>
<#else>
<@s.action name="ArtiListInner" namespace="/jeecms/tag/article" executeResult="false"
chnlId=chnlId searchKey=searchKey recommend=recommend orderBy=orderBy
isPage=isPage count=count firstResult=firstResult pageNo=pageNo
/>
<#if isLoop=="1">
<#list n_pagination.list as item>
<#nested item,item_index,item_has_next/>
</#list>
<#else>
<#nested n_pagination/>
</#if>
</#if>
</#macro>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -