织梦 dede:channelartlist 的用法

<div class="bzbox">
    <div class="t">{dede:type typeid='46'}<span><a href="[field:typeurl/]" target="_blank">更多</a></span><a href="[field:typeurl/]" target="_blank">[field:typename/]</a>{/dede:type}</div>
    <div class="c">
        <ul class="menubox">
            {dede:channel  typeid='46' type='son'}
            <li id="bzone[field:global name=autoindex runphp='yes']@me=@me+1;[/field:global]" onmouseover="setTab('bzone',[field:global name=autoindex runphp="yes"]@me=@me+1;[/field:global],6)" class="[field:global name=autoindex runphp='yes']if(@me==0)@me='hover';else @me='';[/field:global]"><a href="[field:typelink /]" target="_blank">[field:typename /]</a></li>
            {/dede:channel}
        </ul>
        <div class="contentbox">
            {dede:channelartlist typeid='46' type='son'}
            <div id="con_bzone_{dede:global name='itemindex'/}" style="display:{dede:global name=itemindex runphp='yes'}if(@me==1)@me='block';else @me='none';{/dede:global}"  class="{dede:global name=itemindex runphp='yes'}if(@me==1)@me='hover';else @me='';{/dede:global}">
                <div class="c1">
                    <div class="c11">
                    {dede:arclist row="2" flag = 'c'}
                        <a href="[field:arcurl /]" title="[field:title /]" target="_blank"><img src="[field:litpic/]" alt="[field:title /]"/></a>
                    {/dede:arclist}
                    </div>
                    <div class="c12">
                        <div class="c121">
                            {dede:arclist orderby='pubdate' limit='0,1' titlelen='36' infolen='250'}
                            <h1><a href="[field:arcurl /]" target="_blank">[field:title /]</a></h1>
                            <div class="p">[field:info/]...<a href="[field:arcurl /]" target="_blank">[详情]</a></div>
                            {/dede:arclist}
                        </div>
                        <ul class="c122">
                            {dede:arclist orderby='pubdate' limit='1,8' titlelen='30'}
                            <li><a href="[field:arcurl/]" target="_blank">[field:title/]</a></li>
                            {/dede:arclist}
                        </ul>
                    </div>
                </div>
                <dl class="c2">
                    <dt>热门文章</dt>
                    {dede:arclist orderby='pubdate' flag = 'c' limit='0,6' titlelen='40'}
                    <dd><a href="[field:arcurl/]" target="_blank">[field:title/]</a></dd>
                    {/dede:arclist}
                </dl>
                <div class="clear"></div>
                <div class="c3"> <strong>热门关键词:</strong>{dede:hotwords num='6' /}</div>
            </div>
            {/dede:channelartlist}
        </div>
    </div>
</div>

 

 

效果图:

织梦 dede:channelartlist 的用法_第1张图片
 

 

你可能感兴趣的:(织梦 dede:channelartlist 的用法)