dedecms的文章列表页怎么设置有图的调用标题,摘要,图片,知道的帮个忙,在此跪谢了 30
没图的光显示标题和摘要,目前的样式是想修改成下面的样式<!--网站公共头部-->{dede:includefilename="head.htm"/}<!--@网站公共头部...
没图的光显示标题和摘要,目前的样式是
想修改成下面的样式
<!--网站公共头部-->
{dede:include filename="head.htm"/}
<!--@网站公共头部-->
<div class="main newslist">
<!--左侧-->
<div class="listl list2">
<div class="listview">{dede:type}[field:typename /]{/dede:type}</div>
<ul>
{dede:list pagesize='10' titlelen=50}
<li>
<div class="viewimg"><div class="hotimgzz"></div><a href="[field:arcurl/]" class="zzsz">
</a><a href="[field:arcurl/]" target="_blank" title="[field:fulltitle/]">
<img src="[field:litpic/]" alt="[field:fulltitle/]" width="250" height="165"/>
</a>
<div class="standpoint">[field:typelink/]</div>
</div>
<h3><a href="[field:arcurl/]" target="_blank" title="[field:fulltitle/]">[field:title/]</a></h3>
<p>[field:description/]...</p>
<span>[field:pubdate function="MyDate('Y-m-d H:i',@me)"/]</span>
</li>
{/dede:list}
</ul>
<div class="page">
{dede:pagelist listitem="pre,next,pageno" listsize="5"/}
</div>
</div>
<!--右侧--> 展开
想修改成下面的样式
<!--网站公共头部-->
{dede:include filename="head.htm"/}
<!--@网站公共头部-->
<div class="main newslist">
<!--左侧-->
<div class="listl list2">
<div class="listview">{dede:type}[field:typename /]{/dede:type}</div>
<ul>
{dede:list pagesize='10' titlelen=50}
<li>
<div class="viewimg"><div class="hotimgzz"></div><a href="[field:arcurl/]" class="zzsz">
</a><a href="[field:arcurl/]" target="_blank" title="[field:fulltitle/]">
<img src="[field:litpic/]" alt="[field:fulltitle/]" width="250" height="165"/>
</a>
<div class="standpoint">[field:typelink/]</div>
</div>
<h3><a href="[field:arcurl/]" target="_blank" title="[field:fulltitle/]">[field:title/]</a></h3>
<p>[field:description/]...</p>
<span>[field:pubdate function="MyDate('Y-m-d H:i',@me)"/]</span>
</li>
{/dede:list}
</ul>
<div class="page">
{dede:pagelist listitem="pre,next,pageno" listsize="5"/}
</div>
</div>
<!--右侧--> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询