织梦dedecms网站建设列表页显示123等前三条样式为红。
这是我自己写的推荐内容
下面是css样
推荐内容
{dede:arclist flag='c' titlelen=42 row=6}
[field:global runphp='yes' name=autoindex]
$a="
";
$b="
";
$c="
";
if (@me > 3) @me = $c.@me.$b;
else @me = $a.@me.$b;
[/field:global]
[field:title/]
{/dede:arclist}
式
.new44{ width:225px; float:left; display:inline;background:url(/../images/nnn03.jpg) bottom no-repeat; padding-bottom:10px;}
.new44 li.nrn{ width:210px; float:left; display:inline; height:20px; margin-left:10px; margin-top:5px;}
.new44 li p.nsz{ float:left; display:inline; width:16px; height:15px; margin-left:0px; margin-top:5px; text-align:center; line-height:12px; color:#FFFFFF;}
.new44 li p.nx01{ float:left; display:inline; width:16px; height:15px; margin-left:0px; margin-top:5px; text-align:center; line-height:15px; color:#FFFFFF;background:url(/../images/n01.jpg) center left no-repeat;}
.new44 li p.nx02{ float:left; display:inline; width:16px; height:15px; margin-left:0px; margin-top:5px; text-align:center; line-height:15px; color:#FFFFFF;background:url(/../images/n02.jpg) center left no-repeat;}
.new44 li p.nrz{ float:left; display:inline; margin-left:8px; margin-top:5px;}
(责任编辑:好模板) |