指定文章列表如何调用下载内容呢?下面文章即可实现
{eyou:arclist typeid='1' row='8' titlelen='30' id="field"}
<li class="list-group-item">
<div class="media"> <div class="media-left p-r-5 p-l-10 hidden-xs-down"> <a href="{$field.arcurl}" title="{$field.title}"> <i class="icon fa-file-archive-o blue-grey-400"></i> </a> </div> <div class="media-body"> {eyou:arcview aid='$field.aid' id='view'} {eyou:volist name="$view.file_list" id='vo'} <a class="btn btn-outline btn-primary btn-squared pull-xs-right" href="{$vo.downurl}" title="{$vo.title}">下载包({$i})</a> {/eyou:volist} {/eyou:arcview} <h4 class="media-heading font-size-16"> <a class="name" href="{$field.arcurl}" title="{$field.title}">{$field.title}</a> </h4> <small class="font-size-14 blue-grey-500"> <span>浏览量:{$field.click}次</span> <span class="m-l-10">日期:{$field.add_time|MyDate='Y-m-d',###}</span> </small> </div> </div> </li> {/eyou:arclist}图例:
本文地址:http://yunji1.cn