联系官方销售客服
1835022288
028-61286886
第一张图是正常的,
第二张图 需要实现下载的内容
代码
<div class="layui-tab-item index-gun">
<ul class="index-down" style="overflow: hidden;height: 204px;">
{PHP $sqldw=' select * from ((select title,url,inputtime,uid,author from dr_1_code order by inputtime desc) union all (select title,url,inputtime,uid,author from dr_1_soft order by inputtime desc) union all (select title,url,inputtime,uid,author from dr_1_plugin order by inputtime desc) union all (select title,url,inputtime,uid,author from dr_1_down order by inputtime desc) union all (select title,url,inputtime,uid,author from dr_1_media order by inputtime desc)) as temp order by inputtime desc limit 14 ';}
{sql sql='$sqldw' cache=300}
<li class="layui-col-md6">
<div class="down-list">
<div class="layui-col-md3 down-user">
<a target="_blank"><img class="img-rounded img-responsive" src="{dr_avatar($t.uid)}" alt="{$t.author}" title="{$t.author}"></a>
<span>下载了</span>
</div>
<div class="layui-col-md7 down-title">
<a href="{$t.url}" target="_blank">{$t.title}</a>
</div>
<div class="layui-col-md2 down-time"><i class="iz iz-time"></i>{dr_fdate($t.inputtime, 'm-d')}</div>
</div>
</li>
{/sql}
</ul>
</div>