dedecms文章列表加上序号效果
dedecms文章列表加上序号效果
发布时间:2016-12-26 来源:查字典编辑
摘要:关键字描述:效果加上文章<".downtopUL.text>class今天偶来介绍如何在dedecms文章列表加上序号:cs...

关键字描述:效果 加上 文章 < " .downtop UL.text > class

今天偶来介绍如何在dedecms文章列表加上序号:

css代码部分

<style type="text/css">

<>

</style>

dede标签部分代码

<DIV class="downtop border">

<UL class=text>

{dede:arclist orderby=pubdate type='commend.' titlelen='26' row='10' channel=3}

<LI>[field:global runphp='yes' name=autoindex]

$a="<SPAN>";

$b="</SPAN>";

$c="<SPAN>";

if (@me > 3) @me = $c.@me.$b;

else @me = $a.@me.$b;

[/field:global] <SPAN class=tit><A title="[field:title/]"

href="[field:filename/]">[field:title/]</A></SPAN></LI>

{/dede:arclist}

</UL>

</DIV>

效果图

dedecms文章列表加上序号效果1

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新dedecms学习
热门dedecms学习
CMS教程子分类