下载模型设置本地下载
列表页模板直接调用
<article class="prjDown"> <p class="prjDownTitle">方案下载</p> <nav class="prjDownNav"> <ul> {pc:content action="lists" catid="$catid" num="3" order="id DESC" moreinfo="1" page="$page"} {loop $data $r} {php $xiazai = string2array($r['downfiles']);} {loop $xiazai $b} <li class="prjDownLi box"> <div class="prjDownLiI"><img src="{IMG_PATH}new/word.png" /></div> <div class="b_f1 prjDownLiM"> <h3>{$r[title]}.doc</h3> <h5>时间:{date('Y-m-d',$r[inputtime])}</h5> </div> <?php $xiazai=array_filter(explode('|',$r[downfile])) ?> <div class="prjDownLiD"><a href="{$b[fileurl]}">下载</a></div> </li> {/loop} {/loop} {/pc} </ul> </nav> </article>