⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 action_cms_tag.ftl

📁 JSP(Java Server Pages)是由Sun Microsystems公司倡导、许多公司参与一起建立的一种动态网页技术标准。 JSP技术是用JAVA语言作为脚本语言的
💻 FTL
字号:
<#--
根据栏目ID取栏目链接
linkBody:是否有链接体。<a href="">链接体</a>【0:没有,使用栏目名为链接体;1:有,使用标签体作为链接体】(默认0)
isRaw:是否纯链接。【0:不是,带有a标签;1:是,只显示链接地址】(默认0)
target:打开方式。【0:原窗口打开;1:新窗口打开】(默认0)
title:title
style:style
class:class
-->
<#macro ChnlHref id=chnlId linkBody='0' isRaw='0' target='0' title='' class='' style=''>
<@s.action name="ChnlHref" namespace="/tag/cms" executeResult="true" chnlId=id linkBody=linkBody isRaw=isRaw target=target title=title clazz=class style=style/>
<#if linkBody=='1' && isRaw='0'>
<#nested/>
</a>
</#if>
</#macro>

<#--
根据栏目ID取子栏目链接
	isContainSelf:是否包含父栏目。【0:不包含;1:包含】(默认0)
	parentClass:父栏目class
	childClass:子栏目class
	parentTarget:父栏目链接打开方式
	childTarget:子栏目链接打开方式
	custom:自定义样式。主要用于片段模板自定义(默认0)。
	listStyle:列表样式【1:下拉菜单】(默认1)
#listStyle=1
	必须条件:isContainSelf=1。	
-->
<#macro ChnlList id isContainSelf="0" listStyle="1" parentClass="" childClass=""
	parentTarget="_self" childTarget="_self"
	custom="0" listStyle="">
<@s.action name="ChnlList" namespace="/tag/cms" executeResult="true" chnlId=id 
	isContainSelf=isContainSelf parentClass=parentClass childClass=childClass
	parentTarget=parentTarget childTarget=childTarget
	custom=custom listStyle=listStyle/>
</#macro>
<#--
根据栏目ID取子栏目链接
chnlType:栏目类型。【0:所有;1:类别;2:专题】(默认0)。
-->
<#macro ChnlListInner id="" isContainSelf='0' isLoop="1" chnlType="0" sysType="arti">
<@s.action name="ChnlListInner" namespace="/tag/cms" executeResult="false" sysType=sysType chnlType=chnlType chnlId=id isContainSelf=isContainSelf/>
<#if isLoop=="1">
  <#list n_list as chnl>
    <#nested chnl/>
  </#list>
<#else>
  <#nested n_list/>
</#if>
</#macro>

<#--推荐内容列表-->
<#macro RcmList chnlId=chnlId id=-1 count=5 flashStyle=0 width=310 flashHeight=195 textHeight=20>
<@s.action name="RcmList" namespace="/tag/cms" executeResult="true" chnlId=chnlId groupId=id pageNo=pageNo countPerPage=count flashStyle=flashStyle width=width flashHeight=flashHeight textHeight=textHeight/>
</#macro>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -