联系官方销售客服

1835022288

028-61286886

POSCMS 版主:POSCMS负责人
请问循环上下页中,如何获得该文章的其他标签,如时间
类型:POSCMS 更新时间:2018-08-17 10:53:35
{if $prev_page}
  <div class="inner-box uparticle" style="background-image:url({dr_thumb($prev_page.thumb,396,80)})"> <a href="{$prev_page.url}"><h3>{$prev_page.title}</h3><p><span class="relative-time">{$prev_page.updatetime}</span><span class="prev-next-post-btn">上一篇</span></p> </a></div> 
{else}
  <div class="inner-box uparticle" style="background:#fff"> <a href="#"><h3>没有了,已经是最新文章</h3><p><span class="relative-time">NO TIME</span><span class="prev-next-post-btn">上一篇</span></p> </a></div> 
{/if} 
{if $next_page}
  <div class="inner-box dnarticle" style="background-image:url({dr_thumb($prev_page.thumb,396,80)})"> <a href="{$next_page.url}"><h3>{$next_page.title}</h3><p><span class="relative-time">{$prev_page.updatetime}</span><span class="prev-next-post-btn">下一篇</span></p> </a></div> 
{else}
  <div class="inner-box dnarticle" style="background:#fff"><a href="#"><h3>没有了,已经是最新文章</h3><p><span class="prev-next-post-btn">下一篇</span></p></a></div> 
{/if}

请问在以上这个循环中,我还想获取该篇文章的缩略图、发布时间、请问相关的标签我应该怎么调用呢?









回帖
  • 可接二开、定制、使用解答
    #1楼    可接二开、定制、使用解答
    2018-08-17 10:49:32
    0
    {if $prev_page}
      <div class="inner-box uparticle" style="background-image:url({dr_thumb($prev_page.thumb,396,80)})"> <a  target="_blank" href="{$prev_page.url}"><h3>{$prev_page.title}</h3><p><span class="relative-time">{dr_date($prev_page.updatetime)}</span><span class="prev-next-post-btn">上一篇</span></p> </a></div> 
    {else}
      <div class="inner-box uparticle" style="background:#fff"> <a  target="_blank" href="#"><h3>没有了,已经是最新文章</h3><p><span class="relative-time">NO TIME</span><span class="prev-next-post-btn">上一篇</span></p> </a></div> 
    {/if} 
    {if $next_page}
      <div class="inner-box dnarticle" style="background-image:url({dr_thumb($next_page.thumb,396,80)})"> <a  target="_blank" href="{$next_page.url}"><h3>{$next_page.title}</h3><p><span class="relative-time">{dr_date($next_page.updatetime)}</span><span class="prev-next-post-btn">下一篇</span></p> </a></div> 
    {else}
      <div class="inner-box dnarticle" style="background:#fff"><a  target="_blank" href="#"><h3>没有了,已经是最新文章</h3><p><span class="prev-next-post-btn">下一篇</span></p></a></div> 
    {/if}
    前提要要求这个文件是单文件 类型 thumb
    满意答案
  • 右手老茧
    #2楼    右手老茧
    2018-08-17 10:53:24
    0
    可接二开、定制、使用解答3Q,缩略图就是单文件thumb的,非常感谢!
  • 右手老茧
    #3楼    右手老茧
    2018-08-17 10:53:35
    0
    非常感谢!