jeecms标签
、@cms_content_list--新闻单页
[@cms_content channelId='${channel.id}' orderBy='' titLen='' count='' dateFormat='MM-dd' ]
[#if tag_list?size>0]
<ul class="tcon" style="height: 399px;font-size: 10px;width: 100%;">
[/#if]
[#list tag_list as content]
<li><a href="" target="_blank" title="xxxxx">[@text_cut s=content.title len=titLen/]</a>
<a style="float: right;">[${content.date?string(dateFormat)}]</a>
</li>
[/#list]
[#if tag_list?size>0]
</ul>
[/#if]
[/@cms_content [@cms_channel_list]
[#list tag_list as channel]
[#if channel_index==3]
<!-- 滑动门效果,首长信箱 -->
<div class="mod">
<div style="width: 1200px; height: 80px; margin: 12px; overflow: hidden;">
<div style="float:left;">
[@cms_advertising_space id='']
[#list tag_list as c]
<li><a href="${c.attr.image_link}" target="_blank"><img src="${c.attr.image_url}" border="" style="width: 980px; height: 100px; "></a></li>
[/#list]
[/@cms_advertising_space]
<!-- <div class="zhuantijdt">
[@cms_advertising_space id='']
[#if tag_list?size>0]
<ul class="adv">
[/#if]
[#list tag_list as c]
<li><a href="${c.attr.image_link}" target="_blank"><img src="${c.attr.image_url}" style="width: 980px; height: 100px; border=""></a></li>
[/#list]
[#if tag_list?size>0]
</ul>
[/#if]
[/@cms_advertising_space]
<a class="prev" href="javascript:void(0)"></a> <a class="next" href="javascript:void(0)"></a>
<div class="num">
<ul></ul>
</div>
</div> -->
</div>
<div>
<span class="imgType1">
<a href="" id="firstImgType" target="_blank"><img class="littleImgType" src="r/cms/www/qjw/images/0045.jpg" style="width: 150px; height: 35px;"/></a>
<a href="" id="secondImgType" target="_blank"><img class="littleImgType" src="r/cms/www/qjw/images/jwxx.gif" style="width: 150px; height: 35px;"/></a>
</span>
</div>
</div>
<div class="clear"></div>
</div>
[/#if]
<div class="mod">
<div class="layout"><h1 class="qjsx"><a href="" target="_blank">${channel.name}</a></h1></div>
<!-- 信息资讯 -->
[#if channel_index==0]
[@cms_channel_list parentId=channel.id]
[#list tag_list as secondChannel]
[#if tag_list?size>0]
<div [#if secondChannel_index!=(tag_list?size-1)] class="cm_c3_1 fl pt20" [#else] class="cm_c3_1 fl" [/#if]>
<div class="cm_tab">
[#if secondChannel_index==2]
<ul class="tab_hd tab_scroll">
[#else]
<ul class="tab_hd ljkx">
[/#if]
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
<li [#if thirdChannel_index==0] class="selected" [/#if]>
<a href="" target="_blank" class="">${thirdChannel.name}</a>
</li>
[/#list]
[/@cms_channel_list]
</ul>
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
[#if secondChannel_index==2]
[#if tag_list?size>0]
[#if thirdChannel_index==0]
<ul class="scroll tab_scrollChild" id="scroll">
[#else]
<ul class="tcon hide tab_scrollChild dotType">
[/#if] [/#if] [#if thirdChannel_index==0]
[@cms_content_list channelId='${thirdChannel.id}' orderBy='' titLen='' count='' dateFormat='YYYY-MM-dd hh:mm' ]
[#list tag_list as content]
<li>
<p>
<a href="${content.url}" target="_blank" >[@text_cut s=content.title len=titLen/]</a>
</p>
<span><span class="time fr">[${content.date?string(dateFormat)}]</span>XXX强军网</span>
</li>
[/#list]
[/@cms_content_list]
[#else]
<li>xxxx</li>
[/#if] [#if tag_list?size>0]
</ul>
[/#if]
[#else]
[#if tag_list?size>0]
<ul [#if thirdChannel_index==0] class="tcon dotType" [#else] class="tcon dotType hide" [/#if]>
[/#if] [@cms_content_list channelId='${thirdChannel.id}' orderBy='' titLen='' count='' dateFormat='MM-dd' ]
[#list tag_list as content]
[#if content_index==0]
<li class="dimg">
<a href="${content.url}" title="xxxxxxxxxxxxxxxxxxxxxxx" target="_blank">
<img src="${content.typeImg!}" border="" />
<span>[@text_cut s=content.title len=''/]</span></a>
<!-- ${content.txt!} -->
</li>
<div class="fgx"></div>
[#else]
<li><a href="${content.url}" title="2018xxxxx" target="_blank">[@text_cut s=content.title len=titLen/]</a></li>
[/#if]
[/#list]
[/@cms_content_list] [#if tag_list?size>0]
</ul>
[/#if]
[/#if]
[/#list]
[/@cms_channel_list]
</div>
</div>
[/#if]
[/#list]
[/@cms_channel_list]
[/#if]
<!-- 分队动态 -->
[#if channel_index==11]
[@cms_channel_list parentId=channel.id]
[#list tag_list as secondChannel]
[#if tag_list?size>0]
[#if secondChannel_index%4==3]
<div class="cm_c3_1 fl pt20 " style="border: 4px solid #f8f8f8; width: 23%; margin-right: 0px;float: right;">
[#else]
<div class="cm_c3_1 fl pt20 " style="border: 4px solid #f8f8f8; width: 23%;margin-right: 21px;">
[/#if]
<ul class="tab_hd starType1" style="width: 100%;background: #f8f8f8; border-bottom:0px; padding-right: 0px;">
<li class="selected" style="border-bottom:0px;width: 276px;">
<a href="${secondChannel.url}" target="_blank" class="">☆${secondChannel.name}</a>
</li>
</ul>
[@cms_content_list channelId='${secondChannel.id}' orderBy='' titLen='' count='' dateFormat='MM-dd' ]
[#if tag_list?size>0]
<ul class="tcon dotType" style="width: 100%;list-style:none;">
[/#if]
[#list tag_list as content]
[#if content_index==0]
<li class="dimg" style="width:100%">
<a href="${content.url}"><img src="${content.typeImg!}" border="" /></a>
[/#if]
[#if content_index==1]
<a href="${content.url}"><img src="${content.typeImg!}" border="" /></a>
</li>
[/#if]
[#if content_index>1]
<li><a href="${content.url}" title="" target="_blank">[@text_cut s=content.title len=titLen/]</a><a style="float: right;">[${content.date?string(dateFormat)}]</a></li>
[/#if] [/#list]
[#if tag_list?size>0]
</ul>
[/#if]
[/@cms_content_list]
</div>
[/#if]
[/#list]
[/@cms_channel_list]
[/#if]
<!-- 工作指导 -->
[#if channel_index==12]
[@cms_channel_list parentId=channel.id]
[#list tag_list as secondChannel]
[#if tag_list?size>0]
<div [#if secondChannel_index!=(tag_list?size-1)] class="cm_c3_1 fl pt20" [#else] class="cm_c3_1 fl" [/#if]>
<div class="cm_tab">
<ul class="tab_hd ljkx">
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
<li [#if thirdChannel_index==0] class="selected" [/#if]>
<a href="" target="_blank" class="">${thirdChannel.name}</a>
</li>
[/#list]
[/@cms_channel_list]
</ul>
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
[#if tag_list?size>0]
<!-- 有四级栏目的模块中,新闻内容前没有标记 -->
[@cms_channel_list parentId=thirdChannel.id]
[#if tag_list?size>0]
<ul [#if thirdChannel_index==0] class="tcon tcon_n1 mt5" [#else] class="tcon tcon_n1 mt5 hide" [/#if] >
[#else]
<ul [#if thirdChannel_index==0] class="tcon dotType" [#else] class="tcon dotType hide" [/#if]>
[/#if]
[/@cms_channel_list]
[/#if]
[@cms_channel_list parentId=thirdChannel.id]
[#if tag_list?size==0]
[@cms_content_list channelId='${thirdChannel.id}' orderBy='' titLen='' count='' dateFormat='MM-dd' ]
[#list tag_list as content]
<li><a href="${content.url}" target="_blank">[@text_cut s=content.title len=titLen/]</a></li>
[/#list]
[/@cms_content_list]
[#else]
[#list tag_list as fourthChannel]
[@cms_content_list channelId='${fourthChannel.id}' orderBy='' titLen='' count='' dateFormat='MM-dd' ]
[#list tag_list as content]
[#if content_index==0]
<li>
<a href="${fourthChannel.url}" target="_blank">
<span class="thirdMenuType">${fourthChannel.name} | </span>
</a>
<a href="${content.url}" target="_blank">[@text_cut s=content.title len=''/]</a>
</li>
[#else]
<li><a href="${content.url}" target="_blank">[@text_cut s=content.title len=titLen/]</a></li>
[/#if] [/#list]
[/@cms_content_list]
[/#list]
[/#if]
[/@cms_channel_list]
[#if tag_list?size>0]
</ul>
[/#if]
[/#list]
[/@cms_channel_list]
</div>
</div>
[/#if]
[/#list]
[/@cms_channel_list]
[/#if] <!-- 为兵服务 -->
[#if channel_index==13]
[@cms_channel_list parentId=channel.id]
[#list tag_list as secondChannel]
<div [#if secondChannel_index!=(tag_list?size-1)] class="cm_c3_1 fl pt20" [#else] class="cm_c3_1 fl" [/#if]>
<div class="cm_tab">
<ul class="tab_hd ljkx">
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
<li [#if thirdChannel_index==0] class="selected" [/#if]>
<a href="" target="_blank" class="">${thirdChannel.name}</a>
</li>
[/#list]
[/@cms_channel_list]
</ul>
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
[#if tag_list?size>0]
[#if secondChannel_index==1]
<ul [#if thirdChannel_index==0] class="tcon mt10 dl" [#else] class="tcon mt10 dl hide" [/#if]>
[#else]
<ul [#if thirdChannel_index==0] class="tcon mt10 dotType dl" [#else] class="tcon mt10 dl dotType hide" [/#if]>
[/#if]
[@cms_channel_list parentId=thirdChannel.id]
[#if tag_list?size>0]
<ul class=" tab_hd slideType">
[#list tag_list as fourthChannel]
<li [#if fourthChannel_index==0] class="selected" [/#if]>
<a href="${fourthChannel.url}" target="_blank" class="">${fourthChannel.name}</a>
</li>
[/#list]
</ul>
[/#if]
[/@cms_channel_list]
[/#if]
[@cms_channel_list parentId=thirdChannel.id]
[#if tag_list?size>0]
[#list tag_list as fourthChannel]
[#if tag_list?size>0]
<ul [#if fourthChannel_index==0] class="tcon mt10 dl slideChildType" [#else] class="tcon mt10 dl slideChildType hide" [/#if]>
[/#if]
[@cms_content_list channelId='${fourthChannel.id}' orderBy='' titLen='' count='' dateFormat='YYYY年MM月dd日 ' ]
[#list tag_list as content]
<li style="background:url(${content.typeImg!}) left bottom/46px 40px no-repeat; ;">
<a href="${content.url}" title="xxxxx" target="_blank"> ${content.date?string(dateFormat)} 星期五 ${content.title}</a>
</li>
[/#list]
[/@cms_content_list] [#if tag_list?size>0]
</ul>
[/#if]
[/#list]
[#else]
[@cms_content_list channelId='${thirdChannel.id}' orderBy='' titLen='' count='' dateFormat='YYYY年MM月dd日 ' ]
[#list tag_list as content]
<li><a href="${content.url}" title="2018xxxxx" target="_blank">[@text_cut s=content.title len=titLen/]</a></li>
[/#list]
[/@cms_content_list]
[/#if]
[/@cms_channel_list]
[#if tag_list?size>0]
</ul>
[/#if]
[/#list]
[/@cms_channel_list]
</div>
</div>
[/#list]
[/@cms_channel_list]
[/#if]
<!-- 官兵风采 -->
[#if channel_index==14]
<!-- 实现强军先锋滑动门效果 -->
<script type="text/javascript" src="r/cms/www//qjw/js/jquery.jcarousellite-1.0.1.min.js" ></script>
<div class="zttj zttj_n1 mt20">
<div class="zcon">
<div class="zcon_box box_n2">
<div class="zcon2">
[@cms_content_list channelId='' orderBy='' titLen='' dateFormat='YYYY年MM月dd日 ' ]
[#if tag_list?size>0]
<ul class="tcon mt10 dl slideType2" style="margin-left:100px;">
[/#if]
[#list tag_list as content]
<li style="background:url(${content.typeImg!}) left bottom/56px 70px no-repeat; ;">
<a href="${content.url}" title="xxxxx" target="_blank">${content.author}--[@text_cut s=content.title len=titLen/]</a>
</li>
[/#list]
[#if tag_list?size>0]
</ul>
[/#if]
[/@cms_content_list]
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
try{
var n=$(".zttj .zcon2 .slideType2 li").length;
n>?($(".box_n2").jCarouselLite(
{
visible:,
auto:,
speed:1e3
}),
$(".left_b2").hide(),
$(".left_b2").delay().fadeIn()
)
:($(".left_b2").hide(),
$(".right_b2").hide())
}
catch(t){}
});
</script>
<!-- 实现强军先锋滑动门效果 END -->
[@cms_channel_list parentId=channel.id]
[#list tag_list as secondChannel]
[#if secondChannel_index==1]
<div class="cm_c3_2 fl pt20" style="width: 640px;">
<div class="cm_tab" style="padding-left: 50px;height: 350px; width: 760px;">
[#else]
<div [#if secondChannel_index!=(tag_list?size-1)] class="cm_c3_1 fl pt20" [#else] class="cm_c3_1 fl" [/#if]>
<div class="cm_tab">
[/#if]
<ul class="tab_hd ljkx">
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
<li [#if thirdChannel_index==0] class="selected" [/#if]>
<a href="" target="_blank" class="">${thirdChannel.name}</a>
</li>
[/#list]
[/@cms_channel_list]
</ul>
[@cms_channel_list parentId=secondChannel.id]
[#list tag_list as thirdChannel]
[#if tag_list?size>0]
<ul [#if thirdChannel_index==0] class="tcon dotType" [#else] class="tcon dotType hide" [/#if]>
[/#if]
[#if thirdChannel.id==145]
[@cms_content_list channelId='${thirdChannel.id}' orderBy='' count='' titLen='' dateFormat='YYYY年MM月dd日 ' ]
[#list tag_list as content]
[#if content_index==0]
<div style="float:left;">
<a href="${content.url}" target="_blank"><img src="${content.typeImg!}" style="width: 415px; height: 220px;"/></a>
</div>
[/#if]
[#if content_index==1]
<div>
<span class="imgType2">
<a href="${content.url}" id="firstImgType" target="_blank"><img class="littleImgType" src="${content.typeImg!}" style="width: 165px; height: 107px;"/></a>
[/#if]
[#if content_index==2]
<a href="${content.url}" id="secondImgType" target="_blank"><img class="littleImgType" src="${content.typeImg!}" style="width: 165px; height: 107px;"/></a>
</span>
[/#if]
[#if content_index==3]
<span class="imgType2">
<a href="${content.url}" id="firstImgType" target="_blank"><img class="littleImgType" src="${content.typeImg!}" style="width: 165px; height: 107px;"/></a>
[/#if]
[#if content_index==4]
<a href="${content.url}" id="secondImgType" target="_blank"><img class="littleImgType" src="${content.typeImg!}" style="width: 165px; height: 107px;"/></a>
</span>
</div>
<div class="clear"></div>
[/#if]
[#if content_index==5]
<div>
[/#if]
[#if content_index>4]
<a href="${content.url}" target="_blank"><img class="littleImgType" src="${content.typeImg!}" style="width: 147px; height: 75px;"/></a>
[/#if]
[#if content_index==tag_list?size-1]
</div>
[/#if]
[/#list]
[/@cms_content_list] [#else]
[@cms_content_list channelId='${thirdChannel.id}' orderBy='' titLen='' count='' dateFormat='MM-dd' ]
[#list tag_list as content]
<li><a href="${content.url}" target="_blank">[@text_cut s=content.title len=titLen/]</a></li>
[/#list]
[/@cms_content_list]
[/#if]
[#if tag_list?size>0]
</ul>
[/#if]
[/#list]
[/@cms_channel_list]
</div>
</div>
[/#list]
[/@cms_channel_list]
[/#if]
<div class="clear"></div>
</div>
[/#list]
[/@cms_channel_list]
jeecms标签的更多相关文章
- 积跬步,聚小流------界面经常使用的jeecms标签
* JEECMS初印象 第一次接触JEECMS,突然脑海就浮现了一句话"20元建站,立等可取",原来这都是真的... * JEECMS的界面经常使用标签 临时忽略掉环境搭建.栏目配 ...
- JEECMS站群管理系统-- 标签使用和模板的制作
1模板规划 1.1资源文件 资源文件就是网页中用到的图片.CSS.JS等元素,在CMS系统中所有的资源文件在网站的根目录中的 /res_base/所属网站定义资源目录/TEMPLEATE/WEB /r ...
- JEECMS自定义标签
查看JEECMS的源代码发现开发者版本还没有类似现成的统计标签,一种解决的办法是使用现有的JEECMS标签,像这样Struts( [@cms_content_list channel=id]${tag ...
- 自己动手编写JEECMS自定义栏目统计标签
今天想在给Java客二级版面加入栏目文章统计效果,如下图, 查看JEECMS的源代码发现开发者版本还没有类似现成的统计标签,一种解决的办法是使用现有的JEECMS标签,像这样Struts( [@cms ...
- jeecms项目相关配置文件
1.application-context.xml 这个是Spring的标准配置文件,这里面配置jdbc.properties文件并初始化相应数据库连接参数到bean实例:定义数据库表映射文件*.hb ...
- 从web.xml入手分析jeecms配置文件
web.xml文件是web系统的核心配置文件,里面的所有配置都会加载的运行时的web容器,从她可以了解到整个web项目的配置情况.jeecms的所有配置文件都在config文件夹下面,通过web. ...
- Jeecms自定义标签用法[单个内容]
1.com.jeecms.cms.action.directive包下建立自己的标签类
- jeecms常用的标签
友情链接 <dt>友情链接:</dt> [@cms_friendlink_list] [#list tag_list as link] <dd><a href ...
- [原创]JEECMS 自定义标签调用广告版位下的所有广告(利用广告管理管理首页幻灯片)
JEECMS自带的只有[@cms_advertising]标签,并且官方没有给文档,用法: [@cms_advertising id='3'] <img src=&quo ...
随机推荐
- C++ 下啥时候用struct, 啥时候用class
struct 由c语言引入.在c语言中,是定义结构化数据的标准选择. c++ 同时支持struct 和 class. 原因之一是c++ 是 c 的超集,涵盖c 已支持的语言要素,将更好的支持向下兼容( ...
- 杂项-公司:Aspose
ylbtech-杂项-公司:Aspose Aspose 于2002年3月在澳大利亚悉尼创建,旗下产品覆盖文档.图表.PDF.条码.OCR.CAD.HTML.电子邮件等各个文档管理领域,为全球.NET ...
- Event Handling Guide for iOS--(三)---Event Delivery: The Responder Chain
Event Delivery: The Responder Chain 事件传递:响应链 When you design your app, it’s likely that you want to ...
- hdoj1272【并查集】
因为是第二遍,所以题目也没怎么看,然后一开始的思路就是如果每次输入两个点的时候判断是不是同一个集合,如果同一个就是No,然后就wa了,想想也是,然后瞄了一下题解,还要判连通-真是蠢死了-多个集合都想不 ...
- spoj NSUBSTR - Substrings【SAM】
先求个SAM,然后再每个后缀的对应点上标记si[nw]=1,造好SAM之后用吧parent树建出来把si传上去,然后用si[u]更新f[max(u)],最后用j>i的[j]更新f[i] 因为每个 ...
- print打印
print打印输出的优点是简单直接粗暴有效,就是用print()把可能有问题的变量打印出来看看缺点是将来还得删掉它,想想程序里到处都是print(),运行结果也会包含很多垃圾信息 __________ ...
- 喵哈哈村的魔法考试 Round #3 (Div.2) ABCDE
官方题解:http://www.cnblogs.com/qscqesze/p/6480284.html 哗啦啦村的刁难(1) 描述 哗啦啦村作为喵哈哈村的对头,于是他们准备给喵哈哈村一个好看. 哗啦啦 ...
- Java项目的命名规则
Java类的命名规范如下: 1. 项目名全部小写 2. 包名全部小写 3. 类名首字母大写,如果类名由多个单词组成,每个单词的首字母都要大写. 如:public class MyFirstClass{ ...
- 486 Predict the Winner 预测赢家
给定一个表示分数的非负整数数组. 玩家1从数组任意一端拿取一个分数,随后玩家2继续从剩余数组任意一端拿取分数,然后玩家1拿,…….每次一个玩家只能拿取一个分数,分数被拿取之后不再可取.直到没有剩余分数 ...
- python_8(模块)
第1章 模块 1.1 概述 1.2 模块的分类 1.2.1 内置模块 1.2.2 扩展模块 1.2.3 模块安装 1.2.4 自定义模块第2章 模块之内置模块 2.1 collections模块 2. ...