ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 已解決 這種logo在中間的一共有6個欄目我應該怎么循環 3 0
s1234567 免費用戶 2019-05-21 15:39:30 私信
POSCMS版本:3.5.0


image.png

這種logo在中間的一共有6個欄目我應該怎么循環,可以前面循環前三個,后面循環后是三個

<dl class="nav_top_left">

{list action=category module=share pid=0 num=3}

<dd><a href="{$t.url}">{$t.name}</a></dd>

{/list}

</dl>

<dl class="nav_top_logo">

<a href="/"><img src="{dr_get_file(dr_block('logo2'))}" /></a>

</dl>

<dl class="nav_top_right">

{list action=category module=share pid=0 }

<dd><a href="{$t.url}">{$t.name}</a></dd>

{/list}

</dl>

解決方案
  • {list action=category module=share pid=0 num=3,3}

  •                     <dl class="nav_top_left">
                           {list action=category module=share pid=0 num=3}
                             <dd><a target="_blank" href="{$t.url}">{$t.name}</a></dd>
                		{/list}
                        </dl>
                        <dl class="nav_top_logo">
                                  <a target="_blank" href="/"><img src="{dr_get_file(dr_block('logo2'))}"  /></a>
                        </dl>
                        <dl class="nav_top_right">
                              {list action=category module=share pid=0 num=6}
                              {if $key>2}
                                  <dd><a target="_blank" href="{$t.url}">{$t.name}</a></dd>
                                  {/if}
                              {/list}
                        </dl>
    滿意答案
    短信幣+1
    QQ3563066344-
  • 2019-05-21 16:27:49
    48分鐘19秒 0
    @長沙小陳:謝謝大佬